/* ─────────────────────────────────────────────
   STICK + STONE — Main Stylesheet
   Mobile-first · Responsive · 3 breakpoints
   Phone < 640px · Tablet 640–1023px · Desktop 1024px+
───────────────────────────────────────────── */

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

:root {
  --ink:          #1A1510;
  --charcoal:     #2C2C2C;
  --stone-dark:   #4A4540;
  --stone-mid:    #6A6258;
  --stone-light:  #9A9286;
  --cream:        #F6F2EC;
  --parchment:    #EDE5D8;
  --warm-white:   #FAF8F4;
  --wood:         #7A3E28;
  --silver:       #C8C4BE;
  --aqua:         #7EC8C8;
  --accent:       #5A8888;
  --accent-dark:  #4A7878;
  --good:         #3A7A50;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background: var(--warm-white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── CUSTOM CURSOR ── */
@media (pointer: fine) {
  body { cursor: none; }
  .cursor {
    position: fixed; width: 8px; height: 8px;
    background: #fff; border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.55); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.2s;
    mix-blend-mode: difference;
  }
}
@media (pointer: coarse) {
  .cursor, .cursor-ring { display: none !important; }
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  transition: background 0.5s, padding 0.4s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
nav.solid {
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1.5rem;
  border-bottom-color: rgba(184,176,166,0.3);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--ink);
  text-decoration: none; z-index: 501;
}
.nav-logo .plus { color: var(--accent); }
.nav-logo-sub {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.52rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone-mid); margin-top: 0.15rem;
  line-height: 1;
}

.nav-right {
  display: flex; align-items: center; gap: 0.8rem; z-index: 502;
}

/* Cart button in nav */
.cart-btn {
  position: relative;
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 4px 6px;
  display: flex; align-items: center;
  transition: color 0.2s;
}
.cart-btn:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: -2px; right: -4px;
  background: var(--accent); color: #fff;
  font-size: 0.6rem; font-weight: 400;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0; opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: scale(0.6);
}
.cart-count.visible {
  opacity: 1; transform: scale(1);
}

/* Mobile toggle */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--ink); transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-links {
  position: fixed; top: 0; right: -100%;
  height: 100vh; width: 80%; max-width: 300px;
  background: var(--warm-white);
  flex-direction: column; justify-content: center;
  padding: 3rem 2rem;
  transition: right 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  display: flex; list-style: none; gap: 0;
}
.nav-links.open { right: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.82rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone-dark); padding: 0.95rem 0;
  display: block; border-bottom: 1px solid rgba(74,69,64,0.08);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(26,21,16,0.3);
  z-index: 498; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.show { opacity: 1; pointer-events: all; }

/* Desktop nav */
@media (min-width: 1024px) {
  nav { padding: 1.6rem 2.5rem; }
  nav.solid { padding: 1.1rem 2.5rem; }
  .menu-toggle { display: none; }
  /* Reorder: logo left (1), links centre (2), cart right (3) */
  .nav-logo  { order: 1; }
  .nav-links { order: 2; margin: 0 auto; }
  .nav-right { order: 3; }
  .nav-links {
    position: static; height: auto; width: auto;
    background: none; flex-direction: row;
    padding: 0; box-shadow: none;
    gap: 1.8rem; right: auto;
  }
  .nav-links a {
    font-size: 0.62rem; padding: 0; padding-bottom: 3px;
    border-bottom: none; position: relative;
    white-space: nowrap;
    letter-spacing: 0.13em;
  }
  .nav-links a::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links.open { right: auto; }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 58vh 42vh;
  position: relative; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.8rem 3rem;
  background: var(--warm-white);
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-size: 0.58rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0; animation: riseIn 0.9s 0.4s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.05; color: var(--ink);
  opacity: 0; animation: riseIn 1s 0.6s forwards;
}
.hero-title em { font-style: italic; color: var(--wood); }
.hero-subtitle {
  margin-top: 1.2rem; font-size: 0.85rem;
  line-height: 1.85; color: var(--stone-mid);
  max-width: 420px;
  opacity: 0; animation: riseIn 1s 0.85s forwards;
}
.hero-actions {
  display: flex; gap: 1.5rem; align-items: center;
  margin-top: 2rem; flex-wrap: wrap;
  opacity: 0; animation: riseIn 1s 1.1s forwards;
}
.hero-right {
  position: relative; overflow: hidden;
  background: var(--charcoal);
  background-size: cover; background-position: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,21,16,0.4) 0%, transparent 35%);
}
.hero-badge {
  position: absolute; bottom: 1.8rem; left: 1.5rem;
  border: 1px solid rgba(250,248,244,0.2);
  padding: 0.7rem 1rem;
  opacity: 0; animation: riseIn 1s 1.5s forwards;
}
.hero-badge p {
  font-size: 0.53rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(250,248,244,0.4);
  margin-bottom: 0.2rem;
}
.hero-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem; font-weight: 300;
  color: rgba(250,248,244,0.8);
}
.scroll-cue {
  position: absolute; bottom: 2rem; right: 2rem;
  display: none; flex-direction: column;
  align-items: center; gap: 0.6rem;
  opacity: 0; animation: riseIn 1s 1.8s forwards; z-index: 3;
}
.scroll-cue span {
  font-size: 0.53rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--stone-light);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--stone-light), transparent);
  animation: scrollPulse 2s 2s ease-in-out infinite;
}
@media (min-width: 640px) {
  .hero { grid-template-columns: 55% 45%; grid-template-rows: 1fr; }
  .hero-left { padding: 0 3rem 5rem; border-right: 1px solid var(--parchment); }
  .scroll-cue { display: flex; }
}
@media (min-width: 1024px) {
  .hero-left { padding: 0 5rem 6rem; }
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-block; text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.64rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--stone-dark); }
.btn-outline {
  color: var(--ink); background: none;
  border-bottom: 1px solid var(--stone-light);
  padding: 0; padding-bottom: 3px;
}
.btn-outline:hover { border-color: var(--ink); }

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee {
  background: var(--charcoal);
  padding: 0.8rem 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-style: italic; font-weight: 300;
  color: rgba(250,248,244,0.45); padding: 0 2.2rem;
}
.marquee-sep { color: var(--accent); font-style: normal; padding: 0 0.3rem; }

/* ══════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════ */
.section-label {
  font-size: 0.58rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.9rem; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300; line-height: 1.12; color: var(--ink);
}
.section-title em { font-style: italic; color: var(--wood); }
.body-text { font-size: 0.88rem; line-height: 1.95; color: var(--stone-dark); }
.body-text p + p { margin-top: 1.2rem; }

/* ══════════════════════════════════════════
   COLLECTION GRID
══════════════════════════════════════════ */
.collection { padding: 4rem 1rem; background: var(--warm-white); }
.collection-header {
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--parchment);
  display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 1rem;
}
.pieces-grid { display: grid; grid-template-columns: 1fr; gap: 3px; }

@media (min-width: 640px) {
  .collection { padding: 5rem 2rem; }
  .pieces-grid { grid-template-columns: 1fr 1fr; }
  .piece.tall, .piece-tile.tall { grid-row: span 2; }
  .piece.wide, .piece-tile.wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .collection { padding: 7rem 4rem; }
  .pieces-grid { grid-template-columns: repeat(4, 1fr); }
}

.piece, .piece-tile {
  position: relative; overflow: hidden; cursor: pointer;
}
.piece-inner {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; background: var(--parchment);
}
@media (min-width: 640px) {
  .piece.tall .piece-inner, .piece-tile.tall .piece-inner {
    aspect-ratio: unset; height: 100%; min-height: 340px;
  }
  .piece.wide .piece-inner, .piece-tile.wide .piece-inner { aspect-ratio: 2/1; }
}
@media (min-width: 1024px) {
  .piece.tall .piece-inner, .piece-tile.tall .piece-inner { min-height: 440px; }
}
.piece-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: center center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.piece:hover .piece-img, .piece-tile:hover .piece-img { transform: scale(1.04); }

.piece-status {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-size: 0.52rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.22rem 0.55rem;
  z-index: 3;
}
.status-sold    { background: rgba(26,21,16,0.72); color: rgba(246,242,236,0.75); }
.status-exh     { background: rgba(90,136,136,0.85); color: #fff; }
.status-series  { background: rgba(122,62,40,0.82); color: #fff; }
.status-comm    { background: rgba(26,21,16,0.55); color: rgba(246,242,236,0.75); }

.piece-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,21,16,0.9) 0%, rgba(26,21,16,0.1) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.piece:hover .piece-hover, .piece-tile:hover .piece-hover { opacity: 1; }
.piece-meta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.2rem;
}
.piece-meta p {
  font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(246,242,236,0.5);
}
.piece-credit {
  display: block; font-size: 0.55rem;
  color: rgba(246,242,236,0.3);
  margin-top: 0.25rem; font-style: italic;
}
.piece-price {
  margin-left: auto; align-self: flex-end;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 300;
  color: rgba(246,242,236,0.85);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px; white-space: nowrap;
}

/* ══════════════════════════════════════════
   PIECE DETAIL PANEL
══════════════════════════════════════════ */
.panel-overlay {
  position: fixed; inset: 0;
  background: rgba(26,21,16,0.55);
  z-index: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.35s; backdrop-filter: blur(4px);
}
.panel-overlay.show { opacity: 1; pointer-events: all; }

/* ── Base (mobile) — slides up from bottom ── */
.detail-panel {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--warm-white); z-index: 700;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.3s ease;
  opacity: 1;
  max-height: 92vh; overflow-y: auto;
  border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.detail-panel.open {
  transform: translateY(0);
  pointer-events: all;
}

/* Swipe handle — mobile only */
.panel-top {
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.5rem 0; flex-shrink: 0;
}
.panel-handle {
  width: 36px; height: 4px;
  background: rgba(74,69,64,0.2); border-radius: 2px;
}

/* Close button — mobile: top right of panel */
.panel-close-btn {
  position: absolute; top: 0.6rem; right: 0.8rem;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone-light); font-size: 1rem;
  border-radius: 50%; transition: 0.2s; z-index: 15;
}
.panel-close-btn:hover { background: var(--parchment); color: var(--ink); }

/* Image — mobile: full width, natural height, uncropped */
.panel-hero-img {
  width: 100%; height: auto; display: block; flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.panel-body { padding: 1.5rem 1.5rem 2.5rem; }
/* ── Multi-image thumbnail strip ── */
.panel-img-thumbs {
  display: none; /* shown by JS when item has extras */
  flex-direction: row;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  background: var(--parchment);
  overflow-x: auto;
  flex-shrink: 0;
}
.panel-img-thumb {
  width: 52px; height: 52px; flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 2px; cursor: pointer;
  overflow: hidden; transition: border-color 0.18s;
}
.panel-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.panel-img-thumb.active { border-color: var(--accent); }
.panel-img-thumb:hover { border-color: var(--stone-mid); }
@media (min-width: 768px) {
  .panel-img-thumbs { flex-direction: column; width: 46%; min-width: 46%; padding: 0.5rem; background: var(--parchment); }
  .panel-img-thumb { width: 60px; height: 60px; }
}

/* ── Desktop / tablet (768px+): centred modal, image left / text right ── */
@media (min-width: 768px) {
  .detail-panel {
    position: fixed;
    top: 50%; left: 50%;
    bottom: auto; right: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    width: min(920px, 90vw);
    height: min(580px, 84vh);
    border-radius: 4px;
    flex-direction: row;
    overflow: hidden;
    /* JS (Web Animations API) handles all open/close animation on desktop */
    transition: none;
  }
  .detail-panel.open {
    /* Final resting state after animation — JS animation cancels and this takes over */
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  /* Hide swipe handle on desktop */
  .panel-top { display: none; }

  /* Image: left column — exactly fills the modal height, nothing overflows */
  .panel-hero-img {
    width: 46%;
    min-width: 46%;
    flex-shrink: 0;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: var(--parchment);
    display: block;
  }

  /* Text: right column — independently scrollable */
  .panel-body {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    padding: 3.5rem 2rem 2rem;
    position: relative;
    box-sizing: border-box;
  }

  /* Close button: top-right corner of the modal */
  .panel-close-btn {
    position: absolute;
    top: 0.8rem; right: 0.8rem;
    background: var(--parchment);
    color: var(--stone-dark);
    border: 1px solid rgba(74,69,64,0.15);
    font-size: 0.85rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    z-index: 15;
  }
  .panel-close-btn:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
  }
}

/* ══════════════════════════════════════════
   PANEL CONTENT — shared across all panel types
══════════════════════════════════════════ */
.panel-eyebrow {
  font-size: 0.52rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
.panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem; font-weight: 300; color: var(--ink);
  line-height: 1.1; margin-bottom: 0.4rem;
}
.panel-material {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stone-mid); margin-bottom: 1rem;
}
.panel-desc {
  font-size: 0.84rem; line-height: 1.85;
  color: var(--stone-dark); margin-bottom: 1.2rem;
}
.panel-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--ink);
  margin-bottom: 1.2rem;
}
.panel-credit {
  margin-top: 1.2rem; font-size: 0.6rem;
  font-style: italic; color: var(--stone-light);
}

/* Add to cart / action buttons */
.btn-add-cart {
  display: block; width: 100%;
  background: var(--ink); color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.9rem 1.5rem; border: none; cursor: pointer;
  text-align: center; transition: background 0.3s; margin-bottom: 0.6rem;
}
.btn-add-cart:hover { background: var(--accent); }
.btn-add-cart.added { background: var(--good); }

.btn-view-cart {
  display: block; width: 100%; background: none;
  border: 1px solid rgba(74,69,64,0.25); color: var(--stone-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.75rem 1.5rem; cursor: pointer;
  text-align: center; transition: 0.2s; margin-bottom: 0.6rem;
}
.btn-view-cart:hover { border-color: var(--accent); color: var(--accent); }

.btn-buy {
  display: block; width: 100%;
  background: var(--ink); color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.9rem 1.5rem; border: none; cursor: pointer;
  text-align: center; transition: background 0.3s; text-decoration: none;
}
.btn-buy:hover { background: var(--accent); }

/* ── Series panel ── */
.series-intro {
  font-size: 0.84rem; line-height: 1.85;
  color: var(--stone-dark); margin-bottom: 1rem;
}
.series-thumbs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem;
}
.series-thumb {
  width: 64px; height: 64px; overflow: hidden; flex-shrink: 0;
  border: 2px solid transparent; border-radius: 3px;
  cursor: pointer; transition: border-color 0.2s, transform 0.15s;
  background: var(--parchment);
}
.series-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.series-thumb:hover { transform: scale(1.06); }
.series-thumb.selected { border-color: var(--accent); }

.series-selected {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  margin-bottom: 0;
}
.series-selected.show {
  max-height: 110px; opacity: 1; margin-bottom: 0.8rem;
}
.series-selected h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.15rem;
}
.series-selected p {
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stone-mid); margin-bottom: 0.3rem;
}
.s-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 300; color: var(--ink);
}

/* ── Sold / commission panel ── */
.commission-box {
  background: var(--parchment); padding: 1.4rem; margin-bottom: 1.2rem;
}
.commission-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.5rem;
}
.commission-box > p {
  font-size: 0.82rem; line-height: 1.8;
  color: var(--stone-dark); margin-bottom: 1rem;
}
.commission-steps { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.c-step {
  display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem;
  padding: 0.7rem 0; border-top: 1px solid rgba(74,69,64,0.1); align-items: start;
}
.c-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem; font-weight: 300; color: var(--stone-light); padding-top: 2px;
}
.c-step p { font-size: 0.8rem; line-height: 1.7; color: var(--stone-dark); }

.commission-form { display: flex; flex-direction: column; gap: 0.7rem; }
.cf-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cf-field label {
  font-size: 0.55rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone-light);
}
.cf-field input, .cf-field textarea {
  background: var(--warm-white); border: 1px solid rgba(74,69,64,0.18);
  padding: 0.65rem 0.8rem;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 300;
  color: var(--ink); outline: none; transition: border-color 0.2s;
}
.cf-field textarea { resize: vertical; min-height: 80px; }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--accent); }
.btn-commission {
  display: block; width: 100%;
  background: var(--wood); color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.85rem; border: none; cursor: pointer; text-align: center;
  transition: background 0.3s;
}
.btn-commission:hover { background: var(--ink); }

/* ── Exhibition panel ── */
.exhibition-note {
  background: rgba(90,136,136,0.08);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem; margin-bottom: 1.2rem;
}
.exhibition-note p { font-size: 0.82rem; line-height: 1.8; color: var(--stone-dark); }

/* ══════════════════════════════════════════
   CART PANEL
══════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,21,16,0.5);
  z-index: 800; opacity: 0; pointer-events: none;
  transition: opacity 0.35s; backdrop-filter: blur(3px);
}
.cart-overlay.show { opacity: 1; pointer-events: all; }

/* Mobile: slides up from bottom */
.cart-panel {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--warm-white); z-index: 900;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
  max-height: 92vh; overflow-y: auto;
  border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column;
}
.cart-panel.open { transform: translateY(0); }

/* Desktop: slides in from right */
@media (min-width: 768px) {
  .cart-panel {
    top: 0; bottom: 0; left: auto; right: 0;
    width: 420px; max-height: 100vh;
    border-radius: 0;
    transform: translateX(100%);
  }
  .cart-panel.open { transform: translateX(0); }
}

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(74,69,64,0.12);
  flex-shrink: 0;
}
.cart-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; color: var(--ink);
}
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: var(--stone-light);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: 0.2s;
}
.cart-close:hover { background: var(--parchment); color: var(--ink); }

/* Empty state */
.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 2rem; text-align: center;
}
.cart-empty-icon { color: var(--stone-light); margin-bottom: 1.2rem; opacity: 0.4; }
.cart-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 300; color: var(--ink); margin-bottom: 0.4rem;
}
.cart-empty span { font-size: 0.8rem; color: var(--stone-mid); line-height: 1.6; }

/* Cart items */
.cart-contents { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.cart-items { padding: 0.5rem 0; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 1rem; padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(74,69,64,0.08);
  align-items: center;
}
.cart-item-img {
  width: 72px; height: 72px; object-fit: cover;
  display: block; background: var(--parchment);
}
.cart-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-weight: 400; color: var(--ink); margin-bottom: 0.2rem;
}
.cart-item-material {
  font-size: 0.65rem; color: var(--stone-mid);
  letter-spacing: 0.05em; line-height: 1.4;
}
.cart-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 300; color: var(--ink);
  margin-top: 0.35rem;
}
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--stone-light); font-size: 1rem;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: 0.2s; flex-shrink: 0;
}
.cart-item-remove:hover { background: rgba(138,56,48,0.08); color: #8A3830; }

/* Shipping */
.cart-shipping-section {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(74,69,64,0.08);
  border-bottom: 1px solid rgba(74,69,64,0.08);
  flex-shrink: 0;
}
.cart-section-label {
  font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--stone-light); margin-bottom: 0.8rem;
  display: block;
}
.cart-ship-opts { display: flex; flex-direction: column; gap: 0.4rem; }
.cart-ship-opt {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(74,69,64,0.15);
  cursor: pointer; transition: 0.2s;
  background: var(--warm-white);
}
.cart-ship-opt input[type="radio"] { display: none; }
.cart-ship-opt.selected { border-color: var(--accent); background: rgba(90,136,136,0.05); }
.cart-ship-radio {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--stone-light);
  flex-shrink: 0; transition: 0.2s;
}
.cart-ship-opt.selected .cart-ship-radio {
  border-color: var(--accent); background: var(--accent);
}
.cart-ship-name {
  flex: 1; font-size: 0.8rem; color: var(--ink);
}
.cart-ship-eta {
  font-size: 0.65rem; color: var(--stone-mid);
  margin-left: 0.4rem;
}
.cart-ship-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; color: var(--ink);
}

/* Totals */
.cart-totals {
  padding: 1.2rem 1.5rem;
  flex-shrink: 0;
}
.cart-total-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 0.4rem 0;
  font-size: 0.82rem; color: var(--stone-dark);
}
.cart-total-final {
  padding-top: 0.8rem;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(74,69,64,0.15);
  font-size: 1rem; color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
}
.cart-total-final span:last-child { font-size: 1.3rem; }

/* Checkout button */
.btn-checkout {
  display: block; width: calc(100% - 3rem);
  margin: 0 1.5rem 1rem;
  padding: 1.05rem;
  background: var(--ink); color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: background 0.3s; flex-shrink: 0;
}
.btn-checkout:hover { background: var(--accent); }
.btn-checkout:disabled {
  background: var(--stone-light); cursor: not-allowed;
}

.cart-secure-note {
  font-size: 0.65rem; color: var(--stone-light);
  text-align: center; padding: 0 1.5rem 1.5rem;
  line-height: 1.6; display: flex;
  align-items: center; justify-content: center; gap: 0.4rem;
  flex-shrink: 0;
}

/* Local testing notice */
.cart-local-notice {
  margin: 0 1.5rem 1rem;
  padding: 0.9rem 1rem;
  background: rgba(90,136,136,0.08);
  border-left: 3px solid var(--accent);
  font-size: 0.72rem; color: var(--stone-dark);
  line-height: 1.65;
}
.cart-local-notice strong { color: var(--ink); }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about { background: var(--parchment); padding: 4rem 1.5rem; }
@media (min-width: 640px) { .about { padding: 5rem 2.5rem; } }
@media (min-width: 1024px) {
  .about {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 7rem; padding: 8rem 5rem; align-items: start;
  }
}
.about-visual {
  background: var(--charcoal);
  background-size: cover; background-position: center;
  min-height: 300px; position: relative; overflow: hidden;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .about-visual { min-height: 500px; margin-bottom: 0; position: sticky; top: 6rem; }
}
.about-visual-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(to top, rgba(26,21,16,0.65), transparent);
}
.about-visual-caption p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; font-style: italic;
  color: rgba(246,242,236,0.55); line-height: 1.3;
}
.about-content .section-title { margin-bottom: 1.8rem; }
.about-meta {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(184,176,166,0.5);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.meta-item span {
  display: block; font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--stone-light); margin-bottom: 0.35rem;
}
.meta-item strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; color: var(--ink);
}
.outlets { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(184,176,166,0.5); }
.outlets h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: 1.2rem;
}
.outlet-list { display: flex; flex-direction: column; gap: 0; }
.outlet-card {
  padding: 1rem 0; border-bottom: 1px solid rgba(184,176,166,0.35);
  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: start;
}
.outlet-card:last-child { border-bottom: none; }
.outlet-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.15rem;
}
.outlet-location { font-size: 0.68rem; color: var(--stone-mid); }
.outlet-desc { font-size: 0.75rem; color: var(--stone-dark); margin-top: 0.2rem; line-height: 1.5; }
.outlet-map {
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; white-space: nowrap;
  padding-top: 0.2rem; transition: color 0.2s;
}
.outlet-map:hover { color: var(--accent-dark); }

/* ══════════════════════════════════════════
   EXHIBITIONS
══════════════════════════════════════════ */
.exhibitions { background: var(--charcoal); padding: 5rem 1.5rem; }
@media (min-width: 1024px) {
  .exhibitions { padding: 9rem 4rem; }
  .exh-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8rem; max-width: 1200px; margin: 0 auto; }
  .exh-sticky { position: sticky; top: 8rem; align-self: start; }
}
.exh-sticky .section-label { color: rgba(246,242,236,0.3); }
.exh-sticky .section-title { color: var(--cream); }
.exh-sticky .section-title em { color: var(--aqua); }
.exh-intro { margin-top: 1.3rem; font-size: 0.85rem; line-height: 1.85; color: rgba(246,242,236,0.4); max-width: 280px; }
.exh-columns { display: flex; flex-direction: column; gap: 3rem; margin-top: 3rem; }
@media (min-width: 1024px) { .exh-columns { margin-top: 0; } }
.exh-group h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--aqua);
  margin-bottom: 1.2rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(246,242,236,0.08);
}
.exh-list { display: flex; flex-direction: column; }
.exh-row {
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 1.2rem; padding: 0.9rem 0;
  border-bottom: 1px solid rgba(246,242,236,0.05); align-items: start;
}
.exh-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem; font-weight: 300;
  color: rgba(246,242,236,0.22); padding-top: 3px;
}
.exh-detail strong {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.18rem; font-style: italic;
}
.exh-detail span { font-size: 0.76rem; color: rgba(246,242,236,0.38); line-height: 1.5; }

/* ══════════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════════ */
.philosophy { background: var(--parchment); padding: 5rem 1.5rem; }
@media (min-width: 1024px) {
  .philosophy { padding: 9rem 4rem; }
  .phil-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8rem; max-width: 1200px; margin: 0 auto; }
  .phil-sticky { position: sticky; top: 8rem; align-self: start; }
}
.phil-items { display: flex; flex-direction: column; margin-top: 2.5rem; }
@media (min-width: 1024px) { .phil-items { margin-top: 0; } }
.phil-item {
  border-top: 1px solid rgba(74,69,64,0.15); padding: 2.2rem 0;
  display: grid; grid-template-columns: 2rem 1fr; gap: 2rem; align-items: start;
}
.phil-num { font-family: 'Cormorant Garamond', serif; font-size: 0.72rem; font-weight: 300; color: var(--stone-light); padding-top: 0.3rem; }
.phil-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 300; color: var(--ink); margin-bottom: 0.8rem; line-height: 1.2; }
.phil-item h3 em { font-style: italic; color: var(--wood); }
.phil-item p { font-size: 0.85rem; line-height: 1.9; color: var(--stone-dark); }

/* ══════════════════════════════════════════
   WORKSHOPS
══════════════════════════════════════════ */
.workshops { background: var(--warm-white); padding: 5rem 1.5rem; }
@media (min-width: 1024px) {
  .workshops { padding: 8rem 4rem; }
  .workshops-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
}
.workshop-cards { display: flex; flex-direction: column; gap: 2px; margin-top: 2rem; }
@media (min-width: 1024px) { .workshop-cards { margin-top: 0; } }
.workshop-card {
  background: var(--parchment); padding: 1.8rem 2rem;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s; cursor: pointer;
}
.workshop-card:hover { border-left-color: var(--accent); background: var(--cream); }
.wc-label { font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.workshop-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; }
.workshop-card p { font-size: 0.8rem; line-height: 1.7; color: var(--stone-mid); }
.workshop-info .section-title { margin-bottom: 1.5rem; }
.workshop-info > p { font-size: 0.88rem; line-height: 1.9; color: var(--stone-dark); margin-bottom: 1.5rem; max-width: 440px; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact { background: var(--ink); padding: 5rem 1.5rem; }
@media (min-width: 1024px) {
  .contact { padding: 8rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
}
.contact .section-label { color: rgba(246,242,236,0.3); }
.contact .section-title { color: var(--cream); }
.contact .section-title em { color: var(--aqua); }
.contact-left > p { margin-top: 1.4rem; font-size: 0.88rem; line-height: 1.85; color: rgba(246,242,236,0.45); max-width: 360px; }
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; }
.contact-row { display: flex; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(246,242,236,0.07); }
.contact-row span { font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,242,236,0.22); min-width: 75px; padding-top: 2px; }
.contact-row a { font-size: 0.86rem; color: rgba(246,242,236,0.6); text-decoration: none; transition: color 0.2s; overflow-wrap: break-word; word-break: break-word; min-width: 0; }
.contact-row a:hover { color: var(--aqua); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .contact-form { margin-top: 0; } }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,242,236,0.28); }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(246,242,236,0.04); border: 1px solid rgba(246,242,236,0.1);
  padding: 0.85rem 1rem; color: rgba(246,242,236,0.75);
  font-family: 'Outfit', sans-serif; font-size: 0.86rem; font-weight: 300;
  outline: none; transition: border-color 0.3s;
}
/* Dropdown options need an explicit dark background or they go white-on-white */
.form-group select option {
  background: #1A1510;
  color: rgba(246,242,236,0.85);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(246,242,236,0.18); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--aqua); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  align-self: flex-start;
  background: rgba(246,242,236,0.07); border: 1px solid rgba(246,242,236,0.18);
  color: rgba(246,242,236,0.7);
  font-family: 'Outfit', sans-serif; font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 0.9rem 1.8rem;
  cursor: pointer; transition: 0.3s; margin-top: 0.3rem;
}
.form-submit:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-thankyou { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 3rem 1.5rem; }
.form-thankyou h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--cream); }
.form-thankyou p { font-size: 0.85rem; color: rgba(246,242,236,0.45); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--ink); border-top: 1px solid rgba(246,242,236,0.07);
  padding: 2.2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center;
}
@media (min-width: 640px) {
  footer { flex-direction: row; justify-content: space-between; padding: 2.2rem 4rem; }
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 300; color: rgba(246,242,236,0.3); text-decoration: none; }
.footer-logo span { color: var(--accent); }
footer p { font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(246,242,236,0.18); }

/* ══════════════════════════════════════════
   TOAST
══════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--cream);
  padding: 0.85rem 1.4rem; font-size: 0.75rem;
  letter-spacing: 0.04em; opacity: 0; transition: 0.3s;
  pointer-events: none; z-index: 1000;
  border-left: 3px solid var(--accent); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════ */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ══════════════════════════════════════════
   v2.0b additions — artplusdesign
══════════════════════════════════════════ */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.grid-error { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--stone-mid); font-size: 0.9rem; }
.piece-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.panel-desc p { margin-bottom: 0.9rem; }
.panel-desc p:last-child { margin-bottom: 0; }
.series-intro p { margin-bottom: 0.8rem; }
.panel-dims {
  font-size: 0.78rem; color: var(--stone-dark); margin: -0.4rem 0 1.2rem;
  display: flex; gap: 0.8rem; align-items: baseline;
}
.panel-dims span {
  font-size: 0.52rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-light);
}
.panel-note { font-size: 0.72rem; color: var(--stone-mid); margin-top: 0.4rem; font-style: italic; }

/* Series option thumbnails (now buttons) */
button.series-thumb { padding: 0; position: relative; font: inherit; }
.series-thumb.is-sold img { opacity: 0.45; filter: grayscale(0.6); }
.series-thumb.is-sold span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(26,21,16,0.72); color: var(--cream);
  font-size: 0.48rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 2px 0; text-align: center;
}
.btn-add-cart.is-disabled { background: var(--stone-light); }
.btn-add-cart.is-disabled:hover { background: var(--stone-mid); }
.series-selected.show { max-height: 160px; }

/* Multi-photo thumbnails: strip under the photo on phones, overlay on desktop */
button.panel-img-thumb { padding: 0; background: none; }
@media (min-width: 768px) {
  .panel-img-thumbs {
    position: absolute; left: 0; bottom: 0; z-index: 5;
    width: 46% !important; min-width: 0 !important;
    flex-direction: row !important; justify-content: center; flex-wrap: wrap;
    background: linear-gradient(to top, rgba(237,229,216,0.96), rgba(237,229,216,0)) !important;
    padding: 1.6rem 0.8rem 0.8rem !important;
  }
  .panel-img-thumb { width: 52px !important; height: 52px !important; }
}

/* Form thank-you inside the light commission box */
.form-thankyou.light h3 { color: var(--ink); }
.form-thankyou.light p { color: var(--stone-dark); }
.form-thankyou.light { padding: 1.5rem 0.5rem; }

/* Cart image fallback */
.cart-item-img { background: var(--parchment); object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .hd-bg, .marquee-track { animation: none !important; }
  .reveal { transition: none; }
}
#preview-bar {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 2000;
  background: var(--wood); color: #fff; font-size: 0.75rem; letter-spacing: 0.04em;
  padding: 0.65rem 1.1rem; border-radius: 40px; box-shadow: 0 6px 24px rgba(0,0,0,0.25); white-space: nowrap;
}
#preview-bar a { color: #fff; margin-left: 0.6rem; text-decoration: underline; }
@media (max-width: 767px) {
  .panel-close-btn { background: rgba(250,248,244,0.92); color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,0.18); top: 1.4rem; }
}

/* ── Logo in the navigation (v2.0b) ── */
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; line-height: 1; }
.nav-logo-mark { --lm-ink: var(--ink); --lm-plus: var(--accent); width: 74px; height: auto; display: block; overflow: visible; transition: width 0.4s; }
.nav-logo-mark .lm-letters { fill: var(--lm-ink); transition: fill 0.4s; }
.nav-logo-mark .lm-plus { fill: var(--lm-plus); transition: fill 0.4s; }
/* Outline version (matches the laser-drawn logo on the landing image) */
.logo-outline .nav-logo-mark .lm-letters,
.logo-outline .nav-logo-mark .lm-plus { fill: none; stroke: var(--lm-ink); stroke-width: 7; stroke-linejoin: round; }
.logo-outline .nav-logo-mark .lm-plus { stroke: var(--lm-plus); }
.nav-logo .nav-logo-sub { margin-top: 0; font-size: 0.5rem; letter-spacing: 0.2em; }
nav.solid .nav-logo-mark { width: 62px; }
@media (min-width: 1024px) { .nav-logo-mark { width: 88px; } nav.solid .nav-logo-mark { width: 70px; } }
