/* The Glass Whisperer — gallery-dark storefront.
   Palette: warm near-black + amber-gold accent inspired by molten glass.
   Theme: locked dark. Motion: restrained, reduced-motion aware. */

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

:root {
  --bg:        #0d0e12;
  --bg-raise:  #15171d;
  --bg-card:   #191b22;
  --line:      #2a2d36;
  --line-soft: #1f2229;
  --text:      #ede9df;   /* warm off-white */
  --text-dim:  #a09e97;
  --text-mute: #706e68;
  --accent:    #c9a96e;   /* warm amber — molten glass */
  --accent-deep: #b0883d;
  --accent-glow: rgba(201,169,110,0.18);
  --danger:    #d98b7a;
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1280px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Smooth scrolling — feels deliberate, premium */
  scroll-timeline: --scrollTimeline block;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 3.5rem); }

.serif { font-family: 'Cormorant', Georgia, serif; }
.muted { color: var(--text-dim); }
.eyebrow {
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; display: block;
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-mute); }

/* ---------- Lede paragraph ---------- */
.lede { font-size: 1.12rem; color: var(--text-dim); max-width: 48ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-block: 1.2rem;
  transition: padding 0.4s var(--ease);
}
.site-header.scrolled { padding-block: 0.7rem; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  /* Default: blends with page, no pill */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.4rem 0.6rem 0.4rem 1.4rem;
  box-shadow: none;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease);
}
/* Scrolled: floating glass pill */
.site-header.scrolled .nav {
  background: color-mix(in srgb, var(--bg-card) 85%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  padding: 0.3rem 0.55rem 0.3rem 1.2rem;
}

.brand { font-family: 'Cormorant', serif; font-size: 1.55rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; transition: font-size 0.4s var(--ease), opacity 0.3s var(--ease); flex: none; }
.site-header.scrolled .brand { font-size: 1.35rem; }
.brand:hover { opacity: 0.8; }
.brand span { color: var(--accent); }

/* ---- Floating pill nav ---- */
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  background: var(--bg-raise);
  border-radius: 999px;
  padding: 0.25rem;
  border: 1px solid var(--line-soft);
}
.nav-links a {
  font-size: 0.85rem; color: var(--text-dim);
  padding: 0.5rem 1.1rem; border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative; white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-raise); border: 1px solid var(--line); color: var(--text);
  padding: 0.55rem 1rem; border-radius: 999px; font: inherit; font-size: 0.85rem; cursor: pointer;
  transition: border-color 0.3s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.cart-btn:hover { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.cart-btn:active { transform: scale(0.97); }
.cart-ico { display: block; flex: none; }
.cart-count {
  min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 999px;
  background: var(--accent); color: #1a160a; font-size: 0.68rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: -6px; right: -6px; border: 2px solid var(--bg);
}
.nav-toggle {
  display: none; background: var(--bg-raise); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; font-size: 1.2rem; padding: 0.4rem 0.6rem;
  border-radius: 999px; transition: border-color 0.3s var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-size: 0.92rem; font-weight: 400; letter-spacing: 0.03em;
  padding: 0.9rem 1.8rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: #1a160a; font-weight: 500;
  box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 4px 24px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* ---------- Ripple ---------- */
.btn .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.15); transform: scale(0);
  animation: ripple 0.6s ease-out; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 94dvh; display: grid;
  grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero::before {
  content: ''; position: absolute; top: -30%; left: -20%; width: 60%; height: 100%;
  background: radial-gradient(ellipse at 30% 40%, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-copy { max-width: 36rem; position: relative; z-index: 2; }
.hero-copy > * { opacity: 0; transform: translateY(28px); }
.hero-copy.visible > * { opacity: 1; transform: none; }
.hero-copy.visible > *:nth-child(1) { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hero-copy.visible > *:nth-child(2) { transition: opacity 0.7s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s; }
.hero-copy.visible > *:nth-child(3) { transition: opacity 0.7s var(--ease) 0.2s, transform 0.7s var(--ease) 0.2s; }
.hero-copy.visible > *:nth-child(4) { transition: opacity 0.7s var(--ease) 0.3s, transform 0.7s var(--ease) 0.3s; }

.hero h1 { font-size: clamp(3.2rem, 7.5vw, 6rem); margin: 1.4rem 0 1.6rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 34ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.hero-media:hover img { transform: scale(1.03); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(13,14,18,0.65)); }

/* ---------- Decorative divider ---------- */
.divider { width: 48px; height: 1px; background: var(--accent); margin: 1rem 0; opacity: 0.5; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.section-head p { color: var(--text-dim); max-width: 40ch; }

/* ---------- Editorial split (story) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.story-media {
  aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); position: relative;
}
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.story-media:hover img { transform: scale(1.04); }
.story-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 60%, rgba(13,14,18,0.5)); }
.story h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1.6rem; }
.story p + p { margin-top: 1.2rem; }
.story p { color: var(--text-dim); max-width: 52ch; font-size: 1.02rem; }

/* ---------- About the artist ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-media {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); position: relative;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.about .signature { font-family: 'Cormorant', serif; font-style: italic; font-size: 1.5rem; color: var(--accent); margin-top: 1.8rem; }
.about p { color: var(--text-dim); max-width: 54ch; }
.about p + p { margin-top: 1.1rem; }

/* ---------- Glass morphism panel ---------- */
.glass-panel {
  background: color-mix(in srgb, var(--bg-card) 70%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.2rem); }
.product-card {
  display: flex; flex-direction: column; background: var(--bg-card);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.product-card:hover {
  border-color: var(--line);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-glow);
}
.product-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-raise); }
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.05); }
.tag-sold {
  position: absolute; top: 0.9rem; left: 0.9rem; background: rgba(13,14,18,0.85);
  border: 1px solid var(--line); color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 2;
}
.tag-craft {
  position: absolute; top: 0.9rem; right: 0.9rem; background: rgba(13,14,18,0.85);
  border: 1px solid var(--accent); color: var(--accent); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 2;
}
.product-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-body h3 { font-size: 1.55rem; }
.product-body h3 a { transition: color 0.3s var(--ease); }
.product-body h3 a:hover { color: var(--accent); }
.product-body .desc { color: var(--text-mute); font-size: 0.87rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.9rem; }
.price { font-family: 'Cormorant', serif; font-size: 1.55rem; font-weight: 600; }
.stock-note { font-size: 0.76rem; color: var(--text-mute); }
.stock-low { color: var(--danger); }

/* ---------- Add-to-cart pulse ---------- */
.btn-pulse { animation: pulse 0.4s var(--ease-spring); }
@keyframes pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ---------- Collection hero ---------- */
.collection-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.collection-hero-copy h1 { font-size: clamp(3rem, 7vw, 5.5rem); margin: 0.8rem 0 1.2rem; }
.collection-hero-copy .lede { font-size: 1.08rem; color: var(--text-dim); max-width: 44ch; }
.collection-hero-media {
  aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); position: relative;
}
.collection-hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.collection-hero-media:hover img { transform: scale(1.04); }
.collection-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(13,14,18,0.55)); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem;
  color: var(--text-mute); padding-block: 1.5rem 0;
}
.breadcrumbs a { color: var(--text-dim); transition: color 0.3s var(--ease); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { color: var(--line); }

/* ---------- Product detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.detail-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: sticky; top: 96px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.detail-media:hover img { transform: scale(1.04); }
.detail-info h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); margin: 0.8rem 0 1.2rem; }
.detail-info .price { font-size: 2.2rem; display: block; margin-bottom: 1.6rem; }
.detail-info .long { color: var(--text-dim); margin-bottom: 2rem; max-width: 52ch; line-height: 1.7; font-size: 1.02rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: none; border: 0; color: var(--text); width: 2.8rem; height: 3rem; font-size: 1.2rem; cursor: pointer; transition: background 0.2s var(--ease); }
.qty button:hover { background: var(--bg-raise); }
.qty input { width: 3rem; height: 3rem; text-align: center; background: none; border: 0; color: var(--text); font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0 1.2rem; flex-wrap: wrap; }
.detail-meta { border-top: 1px solid var(--line-soft); margin-top: 2rem; padding-top: 1.6rem; display: grid; gap: 0.8rem; }
.detail-meta div { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text-dim); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.cart-line {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
}
.cart-line img { width: 84px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); }
.cart-line h3 { font-size: 1.3rem; }
.cart-line .li-price { color: var(--text-dim); font-size: 0.9rem; }
.cart-line .li-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.remove { background: none; border: 0; color: var(--text-mute); font: inherit; font-size: 0.8rem; cursor: pointer; transition: color 0.2s var(--ease); }
.remove:hover { color: var(--danger); }
.summary {
  background: color-mix(in srgb, var(--bg-card) 75%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2rem; position: sticky; top: 96px;
}
.summary h2 { font-size: 1.9rem; margin-bottom: 1.4rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; color: var(--text-dim); font-size: 0.95rem; }
.summary-total { display: flex; justify-content: space-between; padding-top: 1.1rem; margin-top: 0.6rem; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
.summary-total .price { font-size: 1.8rem; }
#paypal-button-container { margin-top: 1.5rem; min-height: 48px; }
.pay-note { font-size: 0.76rem; color: var(--text-mute); margin-top: 1rem; text-align: center; line-height: 1.5; }

/* ============ CART SHEET (slide-in overlay) ============ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
}
.cart-overlay.open { pointer-events: auto; }
.cart-overlay .cart-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.cart-overlay.open .cart-backdrop { opacity: 1; }
.cart-sheet {
  position: absolute; top: 0; right: 0; width: min(100vw, 480px); height: 100%;
  background: var(--bg); border-left: 1px solid var(--line-soft);
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column; z-index: 101;
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.cart-overlay.open .cart-sheet { transform: translateX(0); }
.cart-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line-soft);
  flex: none;
}
.cart-sheet-head h2 { font-size: 1.6rem; }
.cart-sheet-close {
  background: none; border: 1px solid var(--line); color: var(--text);
  width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease);
}
.cart-sheet-close:hover { border-color: var(--accent); }
.cart-sheet-body {
  flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.cart-sheet-body .cart-line { padding: 1rem 0; }
.cart-sheet-body .cart-line img { width: 72px; height: 86px; }
.cart-sheet-foot {
  flex: none; border-top: 1px solid var(--line-soft);
  padding: 1.2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  background: var(--bg);
}
.cart-sheet-foot .total-row {
  display: flex; justify-content: space-between; font-size: 1.05rem;
}
.cart-sheet-foot .total-row .price { font-size: 1.6rem; }
.cart-sheet-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; color: var(--text-dim); gap: 0.5rem;
}

/* ---------- Empty / status ---------- */
.empty { text-align: center; padding: 6rem 1rem; color: var(--text-dim); }
.empty h2 { font-size: 2.2rem; margin-bottom: 0.8rem; color: var(--text); }
.skeleton {
  background: linear-gradient(100deg, var(--bg-raise) 30%, var(--bg-card) 50%, var(--bg-raise) 70%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-card { aspect-ratio: 4 / 5; border-radius: var(--radius); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(1rem);
  background: var(--bg-raise); border: 1px solid var(--accent); color: var(--text);
  padding: 0.9rem 1.6rem; border-radius: 999px; font-size: 0.9rem; z-index: 110;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Thank-you page ---------- */
.thanks-icon {
  width: 72px; height: 72px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: var(--accent-glow); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 4rem; margin-top: 5rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer-grid .brand { font-size: 1.35rem; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1rem; font-family: 'Outfit', sans-serif; font-weight: 500; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.9rem; padding: 0.3rem 0; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-base { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--text-mute); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.back-top-link { background: none; border: 0; color: var(--text-mute); font: inherit; cursor: pointer; transition: color 0.25s var(--ease); }
.back-top-link:hover { color: var(--accent); }

/* ---------- Social icon links ---------- */
.social-links { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px var(--accent-glow); }
.social-link svg { width: 16px; height: 16px; }

/* ---------- Newsletter form ---------- */
.newsletter-tease { max-width: 22rem; }
.newsletter-tease p { font-size: 0.9rem; color: var(--text-dim); margin: 0.8rem 0 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.newsletter-form input {
  flex: 1; min-width: 0;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); font: inherit; font-size: 0.85rem; padding: 0.65rem 1.1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.newsletter-form input::placeholder { color: var(--text-mute); }
.newsletter-form button {
  flex: none; background: var(--accent); color: #1a160a; border: 0; border-radius: 999px;
  font: inherit; font-size: 0.82rem; font-weight: 500; padding: 0.65rem 1.3rem; cursor: pointer;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}
.newsletter-form button:hover { background: var(--accent-deep); box-shadow: 0 4px 20px var(--accent-glow); }
.newsletter-form button:active { transform: scale(0.96); }
.newsletter-thanks { font-size: 0.84rem; color: var(--accent); margin-top: 0.6rem; display: none; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 60;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--bg-raise); border: 1px solid var(--line); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 4px 20px var(--accent-glow); }
.back-top svg { width: 18px; height: 18px; }

/* ---------- Link underline animation ---------- */
a.underline-hover {
  position: relative; text-decoration: none;
}
a.underline-hover::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
a.underline-hover:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Card shadow elevation ---------- */
.card-elevate {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card-elevate:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px var(--accent-glow);
}

/* ---------- Process grid ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.process-step {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2.2rem 2rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process-step:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.process-num {
  font-family: 'Cormorant', serif; font-size: 3.2rem; font-weight: 600; color: var(--accent);
  line-height: 1; margin-bottom: 0.8rem; opacity: 0.7;
}
.process-step h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.process-step p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.65; }

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 56rem; margin-inline: auto; text-align: center;
}
.testimonial blockquote {
  background: color-mix(in srgb, var(--bg-card) 65%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem);
}
.testimonial blockquote p {
  font-family: 'Cormorant', serif; font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-style: italic; line-height: 1.5; color: var(--text);
}
.testimonial blockquote footer {
  margin-top: 1.8rem; font-size: 0.9rem; color: var(--accent); font-style: normal;
  letter-spacing: 0.06em; text-transform: uppercase; font-family: 'Outfit', sans-serif; font-weight: 500;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page transition ---------- */
body.page-enter { animation: fadeIn 0.35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Parallax (reduced-motion respects) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .parallax { will-change: transform; }
}

/* ---------- Hero image lock (no icon on hover) ---------- */
.hero-media::before,
.product-media::before,
.story-media::before { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { aspect-ratio: 16 / 11; order: -1; }
  .story, .detail, .cart-layout, .about, .collection-hero { grid-template-columns: 1fr; }
  .collection-hero-media { aspect-ratio: 16 / 9; order: -1; }
  .about-media { aspect-ratio: 3 / 4; order: -1; }
  .detail-media, .summary { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Mobile: header becomes simpler pill */
  .nav {
    padding: 0.35rem 0.6rem 0.35rem 1.2rem;
  }
  .brand { font-size: 1.25rem; }
  .nav-links { display: none; }
  .cart-label { display: none; }
  .cart-btn { padding: 0.5rem 0.7rem; font-size: 0.8rem; }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 1rem; right: 1rem;
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem; gap: 0.2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    animation: slideDown 0.3s var(--ease);
    z-index: 49;
  }
  .nav-links.open a {
    padding: 0.65rem 1.2rem; width: 100%; border-radius: var(--radius-sm);
  }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

  .footer-grid { gap: 2rem; }
  .cart-sheet { width: 100vw; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line .li-right { grid-column: 2; align-items: flex-start; }
  .cart-line img { width: 64px; height: 78px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-copy > * { opacity: 1; transform: none; transition: none !important; }
  .parallax { transform: none !important; }
}
