:root {
  --clay: #E8DCC4;
  --clay-deep: #D9C9A8;
  --brown: #3A2E22;
  --brown-soft: #6B5A48;
  --terracotta: #B85C3C;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--clay);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { min-height: 100vh; }

header {
  text-align: center;
  padding: 2.5rem 1.5rem 1rem;
}

.logo-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

/* HAMBURGER MENU */
.menu-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--clay-deep);
  border: 1px solid rgba(58,46,34,0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--brown);
  transition: all 0.3s ease;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--clay);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid rgba(58,46,34,0.2);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-list {
  list-style: none;
  text-align: center;
}

.menu-list li { margin: 1.5rem 0; }

.menu-list a {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-list a:hover, .menu-list a.active { color: var(--terracotta); }

.menu-list a.disabled {
  color: var(--brown-soft);
  opacity: 0.5;
  cursor: not-allowed;
}

.menu-list a.disabled .soon {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-top: -0.5rem;
}

.menu-footer {
  position: absolute;
  bottom: 2rem;
  text-align: center;
}

.menu-footer p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown);
}

.menu-tagline {
  font-size: 0.7rem !important;
  font-style: normal !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  color: var(--brown-soft) !important;
}

.menu-overlay .amp { color: var(--terracotta); }

body.menu-open { overflow: hidden; }

/* HERO */
.hero {
  text-align: center;
  padding: 1rem 1.5rem 3rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.02em;
  color: var(--brown);
}

.hero .amp {
  color: var(--terracotta);
  font-weight: 400;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

/* ABOUT */
.about {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.about-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 2rem;
}

.about .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--brown);
  margin-bottom: 1.5rem;
}

.about p:not(.lead):not(.about-label):not(.portrait-caption) {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: var(--brown);
  opacity: 0.92;
}

.about-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  gap: 0.8rem;
}

.about-divider .line {
  width: 60px;
  height: 1px;
  background: var(--brown);
  opacity: 0.3;
}

.about-divider .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* PORTRAIT */
.portrait-frame {
  text-align: center;
  margin-bottom: 3rem;
}

.portrait-frame img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(58,46,34,0.15);
  box-shadow: 0 4px 20px rgba(58,46,34,0.08);
  filter: saturate(0.9);
}

.portrait-caption {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-size: 0.95rem !important;
  color: var(--brown-soft) !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.dedication {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  color: var(--brown) !important;
  max-width: 580px;
  margin: 0 auto !important;
  opacity: 0.95 !important;
}

/* FEATURED */
.featured {
  padding: 2rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 3rem;
}

.process-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.process-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--brown);
  margin-bottom: 1rem;
}

.process-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--brown-soft);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.featured-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}

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

.featured-img {
  aspect-ratio: 3 / 4;
  background: var(--clay-deep);
  overflow: hidden;
  border: 1px solid rgba(58,46,34,0.15);
}

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

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

.featured-caption {
  text-align: center;
  padding-top: 1rem;
}

.featured-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brown);
  display: block;
}

.featured-number {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  opacity: 0.7;
  display: block;
  margin-top: 0.3rem;
}

.see-all {
  text-align: center;
}

.see-all-link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.see-all-link:hover { border-bottom-color: var(--terracotta); }

/* GALLERY HERO */
.gallery-hero {
  padding: 2rem 2rem 3rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.gallery-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gallery-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--brown-soft);
  max-width: 500px;
  margin: 0 auto;
}

/* THUMBNAIL GRID */
.thumbnail-grid-section {
  padding: 2rem 2rem 6rem;
  max-width: 1300px;
  margin: 0 auto;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.thumb {
  background: var(--clay-deep);
  border: 1px solid rgba(58,46,34,0.15);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: left;
}

.thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(58,46,34,0.12);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.thumb:hover img { transform: scale(1.05); }

.thumb-info {
  padding: 0.75rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clay);
}

.thumb-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brown);
  line-height: 1.2;
}

.thumb-num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  opacity: 0.7;
}

.thumb.fired::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  z-index: 2;
  box-shadow: 0 0 8px rgba(184, 92, 60, 0.6);
}

/* LEGEND */
.legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.fired-dot {
  background: var(--terracotta);
  box-shadow: 0 0 6px rgba(184, 92, 60, 0.5);
}

.legend-dot.raw-dot {
  background: transparent;
  border: 1px solid var(--brown-soft);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(232, 220, 196, 0.97);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
  overflow-y: auto;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--clay);
  border: 1px solid rgba(58,46,34,0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--brown);
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--clay-deep);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--clay);
  border: 1px solid rgba(58,46,34,0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--brown);
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}

.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }

.lightbox-nav:hover {
  background: var(--clay-deep);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.lightbox-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.lightbox-piece {
  background: var(--clay-deep);
  border: 1px solid rgba(58,46,34,0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.lightbox-piece img {
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.piece-label {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.85;
  z-index: 3;
  color: var(--clay);
  background: rgba(58,46,34,0.5);
  padding: 0.3rem 0.7rem;
  backdrop-filter: blur(4px);
}

.lightbox-piece .baking-placeholder {
  width: 100%;
  min-height: 280px;
  align-self: stretch;
}

.lightbox-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracotta);
}

.lightbox-arrow svg {
  width: 40px;
  height: 40px;
}

.arrow-label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.lightbox-caption {
  text-align: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

.lightbox-caption .name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--brown);
  display: block;
}

.lightbox-caption .number {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--terracotta);
  opacity: 0.7;
  display: block;
  margin-top: 0.4rem;
}

.lightbox-caption .story {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  color: var(--brown);
  max-width: 600px;
  margin: 1.5rem auto 0;
  text-align: center;
  opacity: 0.92;
}

body.lightbox-open { overflow: hidden; }

/* LIGHTBOX DETAIL IMAGE */
.lightbox-detail {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(58,46,34,0.12);
}

.lightbox-detail .detail-label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--terracotta);
  opacity: 0.75;
  display: block;
  margin-bottom: 1rem;
}

.lightbox-detail img {
  max-width: 100%;
  max-height: 50vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(58,46,34,0.15);
}

/* BAKING PLACEHOLDER */
.baking-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #6B3410 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFA500;
  border-radius: 50%;
  opacity: 0.6;
  animation: ember-rise 3s infinite ease-out;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.8);
}

.ember:nth-child(1) { left: 20%; bottom: 10%; animation-delay: 0s; }
.ember:nth-child(2) { left: 50%; bottom: 5%; animation-delay: 1s; }
.ember:nth-child(3) { left: 75%; bottom: 15%; animation-delay: 2s; }

@keyframes ember-rise {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-200px) scale(0.3); opacity: 0; }
}

.baking-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #FFF5E1;
  margin-bottom: 0.5rem;
  z-index: 2;
}

.baking-sub {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #FFA500;
  z-index: 2;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(58,46,34,0.1);
}

footer .mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brown);
}

footer .amp { color: var(--terracotta); }

footer .copy {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-top: 0.5rem;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* RESPONSIVE */
@media (max-width: 1000px) {
  .thumbnail-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
  }
}

@media (max-width: 700px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .thumb-name { font-size: 0.85rem; }
  .about { padding: 3rem 1.5rem; }
  .featured, .thumbnail-grid-section { padding: 2rem 1.5rem 4rem; }
  .menu-list a { font-size: 2rem; }
  .menu-toggle { top: 1rem; right: 1rem; width: 44px; height: 44px; }
  .logo-img { width: 100px; height: 100px; }

  .lightbox { padding: 4rem 1rem 2rem; }
  .lightbox-pair {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .lightbox-piece { min-height: 200px; }
  .lightbox-piece img { max-height: 38vh; }
  .lightbox-arrow {
    transform: rotate(90deg);
    margin: 0.3rem 0;
  }
  .lightbox-arrow .arrow-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .lightbox-arrow svg { width: 28px; height: 28px; }
  .lightbox-piece .baking-placeholder { min-height: 200px; }
  .lightbox-nav.prev { left: 0.5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-nav.next { right: 0.5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; width: 40px; height: 40px; }
  .lightbox-caption { margin-top: 1.2rem; }
  .lightbox-caption .name { font-size: 1.3rem; }
  .lightbox-caption .story { font-size: 1rem; margin-top: 1rem; }
  .legend { flex-direction: column; gap: 0.8rem; align-items: center; }
}
