/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --ivory:   #F7F3ED;
  --ink:     #252220;
  --sage:    #6B7C64;
  --blush:   #C4A394;
  --stone:   #9B9188;
  --cream:   #EDE8DF;
  --panel-a: #D9D4CC;
  --panel-b: #CCC6BD;
  --border:  rgba(37, 34, 32, 0.1);
  --gold: linear-gradient(135deg, #d4af37 0%, #f9f295 45%, #b8860b 70%, #f9f295 100%);
}

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

/* ============================================
   BASE
   ============================================ */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--ivory);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2rem;
  min-height: 56px;
  background: var(--ivory);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-brand {
  flex-shrink: 0;
  padding: 1rem 0;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--stone);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--ink);
}

/* Nav toggle — hidden always (no hamburger) */
.nav-toggle {
  display: none;
}

/* Mobile title & nav — hidden on desktop */
.mobile-title {
  display: none;
}

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

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  padding-top: 56px;
}


/* ============================================
   HOME HERO
   ============================================ */
.home-hero {
  display: flex;
  align-items: flex-start;
  background: var(--ivory);
}

.home-hero__copy {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4rem 3rem 3rem 4rem;
}

.home-hero__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 3rem;
}

.home-hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(7.125rem, 10.3vw, 12.75rem);
  line-height: 0.92;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.home-hero__headline em {
  font-style: italic;
  display: block;
}

.home-hero__headline small {
  font-size: 0.26em;
  font-style: normal;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--blush);
  display: block;
  padding: 0.65em 0.1em;
}

.home-hero__tagline {
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.85;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  max-width: 320px;
}

.home-hero__cta {
  display: inline-block;
  align-self: flex-start;
  padding: 0.9rem 3rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.home-hero__cta:hover {
  background: var(--ink);
  color: var(--ivory);
}

.home-hero__visual {
  flex: 0 0 55%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 3rem 0 0;
  container-type: inline-size;
  container-name: hero-visual;
}

/* ── HERO IMAGE GRID ─────────────────────────────────────
   Cells have a fixed aspect-ratio (3:4) so they are never
   vertically stretched — height is always derived from width.
   Rows are auto-sized from cell content, not forced to fill
   the panel.  Container queries on the panel's own shape
   control how many cells are shown.

   panel ratio ≥ 0.75 → 3×2 = 6 items
   panel ratio ≥ 0.50 → 2×2 = 4 items
   panel ratio ≥ 0.25 → 1×2 = 2 items
   panel ratio  < 0.25 → 1×1 = 1 item
   ≤768px viewport    → panel hidden
──────────────────────────────────────────────────────── */

/* Default: 1 column, rows auto-sized, only first item shown */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  width: 100%;
  align-content: start;
}

.hero-grid__item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
}

.hero-grid__item:first-child {
  display: flex;
}

.hero-grid__item--gallery { background: var(--panel-a); }
.hero-grid__item--shop    { background: var(--panel-b); }

.hero-grid__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0.6;
}

.hero-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-grid__item:hover .hero-grid__img {
  transform: scale(1.04);
}

/* 2×2 (4 items): panel width ≥ 500px */
@container hero-visual (min-width: 500px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid__item:nth-child(2),
  .hero-grid__item:nth-child(3),
  .hero-grid__item:nth-child(4) {
    display: flex;
  }
}

/* 3×2 (6 items): panel width ≥ 700px */
@container hero-visual (min-width: 700px) {
  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-grid__item:nth-child(5),
  .hero-grid__item:nth-child(6) {
    display: flex;
  }
}


/* ============================================
   SECTION RULE
   ============================================ */
.section-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blush);
  margin: 0 auto 1.75rem;
}

.section-rule--left {
  margin-left: 0;
  margin-right: 0;
}


/* ============================================
   HOME ABOUT (landing page — two column)
   ============================================ */
.home-about {
  padding: 5rem 4rem 7rem;
  background: var(--ivory);
}

.home-about__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  align-items: center;
}

.home-about__image,
.home-about__text {
  flex: 1;
}

.home-about__img {
  width: 100%;
  height: auto;
  display: block;
}

.home-about__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.home-about__body {
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--stone);
}

.home-about__body + .home-about__body {
  margin-top: 1.25rem;
}

/* ============================================
   ABOUT (standalone /about page)
   ============================================ */
.about {
  padding: 5.5rem 2rem;
}

.about__wrap {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.about__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.about__body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--stone);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 5.5rem 2rem;
  background-color: var(--cream);
}

.contact__inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  align-items: center;
}

.contact__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.contact__logo {
  height: 135px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.contact__address {
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-align: center;
}

.contact__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stone);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.contact__instagram:hover {
  color: var(--ink);
}

.contact__instagram svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact__wrap {
  flex: 1;
}


.contact__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.contact__body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--stone);
  margin-bottom: 2.75rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 0.6rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: var(--stone);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.contact__input:focus,
.contact__textarea:focus {
  border-bottom-color: var(--sage);
}

.contact__textarea {
  resize: none;
}

.contact__btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.7rem 2.25rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.contact__btn:hover {
  background: var(--sage);
}

/* ============================================
   CATEGORY FILTER (shared — shop & gallery)
   ============================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
}

.category-filter__group {
  display: flex;
  flex-wrap: wrap;
}

.category-filter__btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.9rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.category-filter__btn:hover {
  color: var(--ink);
}

.category-filter__btn--active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ============================================
   SHOP (standalone /shop page)
   ============================================ */
.shop-header {
  padding: 1rem 2rem 0.75rem;
  text-align: center;
}

.shop-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.shop-subtitle {
  font-size: 1rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  padding: 2rem;
}

.product-card {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
}

.product-card__img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--panel-a);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__mark {
  width: 28px;
  height: 28px;
  color: var(--ink);
  opacity: 0.2;
}

.product-card__body {
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.product-card__desc {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.7;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.product-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.product-card__btn {
  padding: 0.55rem 1.5rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.product-card__btn:hover {
  background: var(--sage);
}

.shop-empty {
  padding: 5rem 2rem;
  text-align: center;
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
  display: flex;
  flex-direction: column;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
}

.gallery-grid__item {
  flex: 1 1 calc(20% - 3px);
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-grid__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.gallery-grid__item:hover .gallery-grid__img {
  transform: scale(1.03);
  opacity: 0.9;
}

.gallery-empty {
  padding: 5rem 2rem;
  text-align: center;
  color: var(--stone);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(37, 34, 32, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__stage {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  line-height: 1;
  padding: 0.25rem;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  line-height: 1;
  padding: 0 1rem;
  user-select: none;
}

.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }
.lightbox__nav:hover { opacity: 1; }

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  opacity: 0.55;
}

/* ============================================
   ADMIN UPLOAD
   ============================================ */
.admin-upload {
  padding: 4rem 2rem;
  background: var(--ivory);
  min-height: calc(100vh - 56px);
}

.admin-upload__inner {
  max-width: 520px;
  margin: 0 auto;
}

.admin-upload__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2.5rem;
  text-align: center;
}

.admin-upload__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Drop zone */
.drop-zone {
  position: relative;
  border: 1px dashed var(--stone);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.drop-zone:hover,
.drop-zone--over {
  border-color: var(--ink);
  background: var(--cream);
}

.drop-zone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: none;
}

.drop-zone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--stone);
  pointer-events: none;
}

.drop-zone__icon {
  width: 36px;
  height: 36px;
  stroke: var(--stone);
}

.drop-zone__text {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.drop-zone__hint {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.drop-zone__preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Category select */
.admin-upload__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-upload__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.admin-upload__select {
  width: 100%;
  padding: 0.6rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
  appearance: none;
  cursor: pointer;
}

/* Submit button */
.admin-upload__btn {
  align-self: stretch;
  padding: 0.85rem 2.5rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.admin-upload__btn:hover:not(:disabled) { background: var(--sage); }

.admin-upload__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Spinner via HTMX indicator */
.admin-upload__spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(247, 243, 237, 0.3);
  border-top-color: var(--ivory);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.htmx-request .admin-upload__spinner { display: inline-block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Result message */
.admin-upload__result { min-height: 1.5rem; }

.upload-result {
  font-size: 0.82rem;
  line-height: 1.7;
  padding: 0.75rem 0;
}

.upload-result--ok    { color: var(--sage); }
.upload-result--error { color: #c0392b; }

.upload-result__link {
  color: var(--sage);
  text-decoration: underline;
}

/* ============================================
   GALLERY MOBILE
   ============================================ */
@media (max-width: 768px) {
  .gallery-grid__item { flex: 1 1 calc(50% - 3px); aspect-ratio: 1 / 1; }
}

/* ============================================
   CART BUTTON (header)
   ============================================ */

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--stone);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-items: center;
  margin-right: 1.25rem;
  transition: color 0.2s ease;
}

.cart-btn:hover { color: var(--ink); }

/* Mobile cart button — hidden on desktop, shown on mobile */
.cart-btn--mobile { display: none; }

/* ============================================
   CART OVERLAY
   ============================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(37, 34, 32, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   CART DRAWER
   ============================================ */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100dvh;
  z-index: 401;
  background: var(--ivory);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer--open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--stone);
  font-size: 1rem;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.cart-drawer__close:hover { color: var(--ink); }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.75rem;
}

.cart-empty {
  font-size: 0.82rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  padding: 1.5rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.cart-item__img-placeholder {
  width: 56px;
  height: 56px;
  background: var(--cream);
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cart-item__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.cart-item__price {
  font-size: 0.78rem;
  color: var(--stone);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.cart-item__qty button {
  background: none;
  border: 1px solid var(--border);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-item__qty button:hover {
  background: var(--ink);
  color: var(--ivory);
}

.cart-item__qty span {
  font-size: 0.82rem;
  color: var(--ink);
  min-width: 16px;
  text-align: center;
}

.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--stone);
  font-size: 0.75rem;
  padding: 0.15rem;
  transition: color 0.2s ease;
  margin-top: 0.15rem;
}

.cart-item__remove:hover { color: var(--ink); }

.cart-drawer__footer {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-drawer__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cart-drawer__total-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.cart-drawer__total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.cart-drawer__checkout {
  width: 100%;
  padding: 0.85rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.cart-drawer__checkout:hover:not(:disabled) { background: var(--sage); }

.cart-drawer__checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   EVENTS PAGE
   ============================================ */

.events-hero {
  padding: 5rem 4rem 4rem;
  border-bottom: 1px solid var(--border);
}

.events-hero__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2rem;
}

.events-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 10vw, 10rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.events-hero__sub {
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 1.85;
  max-width: 420px;
}

.events-types__header {
  padding: 3rem 4rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.events-types__label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.events-card {
  background: var(--ivory);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.events-card:nth-child(2) { background: var(--cream); }
.events-card:nth-child(3) { background: var(--panel-a); }
.events-card:nth-child(4) { background: var(--cream); }

.events-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--stone);
  letter-spacing: 0.1em;
}

.events-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

.events-card__desc {
  font-size: 0.82rem;
  color: var(--stone);
  line-height: 1.85;
}

.events-card__tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush);
  margin-top: auto;
  padding-top: 0.5rem;
}

.events-upcoming {
  padding: 4rem;
  border-top: 1px solid var(--border);
}

.events-upcoming__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.events-upcoming__label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.events-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.events-item:first-child {
  border-top: 1px solid var(--border);
}

.events-item__date {
  text-align: center;
}

.events-item__month {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 0.15rem;
}

.events-item__day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  display: block;
}

.events-item__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.events-item__meta {
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.events-item__action {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.events-item__spots {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.events-item__spots--full {
  color: var(--stone);
}

.events-item__btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.events-item__btn:hover {
  background: var(--ink);
  color: var(--ivory);
}

.events-item__btn--booked {
  border-color: var(--border);
  color: var(--stone);
  cursor: default;
  pointer-events: none;
}

.events-book {
  padding: 5rem 4rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.events-book__inner {
  max-width: 640px;
}

.events-book__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.events-book__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.events-book__sub {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 2.75rem;
}

.events-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.events-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.events-form__input,
.events-form__select,
.events-form__textarea {
  width: 100%;
  padding: 0.6rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.events-form__input::placeholder,
.events-form__textarea::placeholder {
  color: var(--stone);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.events-form__select {
  color: var(--stone);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.events-form__select option {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  color: var(--ink);
}

.events-form__input:focus,
.events-form__select:focus,
.events-form__textarea:focus {
  border-bottom-color: var(--sage);
}

.events-form__textarea { resize: none; }

.events-form__btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.7rem 2.25rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.events-form__btn:hover { background: var(--sage); }

@media (max-width: 768px) {
  .events-hero {
    padding: 3rem 1.5rem 2.5rem;
  }

  .events-hero__title {
    font-size: clamp(4.5rem, 20vw, 6rem);
  }

  .events-types__header {
    padding: 2rem 1.5rem 1rem;
  }

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

  .events-card {
    padding: 2rem 1.5rem;
  }

  .events-upcoming {
    padding: 2.5rem 1.5rem;
  }

  .events-item {
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
  }

  .events-item__action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .events-book {
    padding: 3rem 1.5rem;
  }

  .events-form__row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .events-form__btn {
    align-self: stretch;
    text-align: center;
  }
}

/* ============================================
   TRANSITION SUPPRESSION
   ============================================ */

/* Initial load — kill both so nothing flickers before page is ready */
body.no-transitions * {
  transition: none !important;
  animation: none !important;
}

/* Resize — kill transitions only; animations must NOT be reset
   or they replay from the beginning every time the window moves */
body.disable-transitions * {
  transition: none !important;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {

  /* Hide desktop nav, brand, and hamburger */
  .nav-menu     { display: none; }
  .header-brand { display: none; }
  .nav-toggle   { display: none; }

  .cart-btn--mobile {
    display: flex;
    position: absolute;
    top: 0.65rem;
    right: 1rem;
    margin-right: 0;
  }

  .cart-drawer { width: 100%; border-left: none; }

  /* Stack header vertically: brand on top, nav below */
  .header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem 0;
    min-height: auto;
    position: relative;
  }

  .main-content {
    padding-top: 0;
  }

  /* Brand name — always visible, centered */
  .mobile-title {
    display: flex;
    position: static;
    transform: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0 0;
    pointer-events: auto;
  }

  /* Nav links — always visible, no toggle */
  .mobile-nav-menu {
    display: flex;
    width: 100%;
    max-height: none;
    opacity: 1;
    overflow: visible;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }

  .mobile-nav-menu ul {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    list-style: none;
    padding: 0.75rem 0;
  }

  .mobile-nav-menu li {
    list-style: none;
  }

  .mobile-nav-menu li a {
    text-decoration: none;
    color: var(--stone);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }

  .mobile-nav-menu li a.active,
  .mobile-nav-menu li a:hover {
    color: var(--ink);
  }

  /* Home hero — stack vertically */
  .home-hero {
    flex-direction: column;
    min-height: auto;
  }

  .home-hero__copy {
    flex: none;
    width: 100%;
    padding: 3rem 1.5rem 2.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
    order: 1;
  }

  .home-hero__visual {
    display: none;
    padding: 0;
    align-items: stretch;
  }

.home-hero__img {
    max-width: 70%;
    max-height: 80%;
  }


  .home-hero__headline {
    font-size: clamp(5.625rem, 24.375vw, 8.4375rem);
  }

  .home-hero__tagline {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  /* Home about — stack vertically */
  .home-about {
    padding: 4rem 1.5rem;
  }

  .home-about__inner {
    flex-direction: column;
    gap: 2rem;
  }

  .home-about__text {
    order: 1;
    text-align: center;
  }

  .home-about__text .section-rule--left {
    margin-left: auto;
    margin-right: auto;
  }

  .home-about__image {
    order: 2;
  }

  .home-about__img {
    max-width: 320px;
    margin: 0 auto;
  }

  /* Sections */
  .about,
  .contact {
    padding: 3.5rem 1.5rem;
  }

  .contact__inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .contact__btn {
    align-self: stretch;
    text-align: center;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 1px;
  }

  .category-filter {
    padding: 0;
    flex-direction: column;
  }

  .category-filter__group {
    width: 100%;
    justify-content: space-evenly;
  }

  .category-filter__group + .category-filter__group {
    border-top: 1px solid var(--border);
  }

  .category-filter__btn {
    flex: 1;
    text-align: center;
    padding: 0.9rem 0.5rem;
  }
}

/* ============================================
   CHECKOUT SUCCESS
   ============================================ */

.success-page {
  padding: 6rem 4rem;
  min-height: calc(100vh - 80px);
}

.success-page__inner {
  max-width: 520px;
}

.success-page__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
  margin-top: 1.25rem;
}

.success-page__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 2rem;
}

.success-page__body {
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.success-page__order-id {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 2.5rem;
}

.success-page__btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.success-page__btn:hover {
  background: var(--ink);
  color: var(--ivory);
}

.success-order {
  border-top: 1px solid var(--border);
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
}

.success-order__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.success-order__row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
}

.success-order__qty {
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.success-order__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
}

.success-order__price {
  font-size: 0.82rem;
  color: var(--stone);
}

.success-order__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.success-order__total-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.success-order__total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
}

.success-order__id {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .success-page {
    padding: 3.5rem 1.5rem;
  }
}

