/*
Theme Name: 1776 Atelier
Theme URI: https://1776atelier.com
Author: 1776 Atelier
Author URI: https://1776atelier.com
Description: A luxury editorial WordPress theme for 1776 Atelier — American high horology. Warm parchment palette, Cormorant Garamond + Libre Franklin typography, WooCommerce product configurator support.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 1776-atelier
Tags: e-commerce, custom-menu, custom-logo, featured-images, theme-options, woocommerce

1776 Atelier — Exceptional American Timepieces
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --bg: #faf8f4;
  --bg-warm: #f5f1eb;
  --bg-card: #ffffff;
  --bg-gallery: #f0ece4;
  --bg-hover: #ece7de;
  --ink: #1a1714;
  --ink-secondary: #3d3830;
  --ink-muted: #6b6459;
  --ink-light: #9a9286;
  --ink-faint: #c2bbb0;
  --gold: #9a7b42;
  --gold-rich: #7c6232;
  --gold-light: #b8965a;
  --gold-accent: #d4b882;
  --gold-faint: rgba(154, 123, 66, .07);
  --gold-border: rgba(154, 123, 66, .18);
  --border: rgba(26, 23, 20, .08);
  --border-strong: rgba(26, 23, 20, .14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold-accent); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.site-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 80px);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px clamp(24px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 248, 244, .94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  transition: padding .4s, background .5s;
}
.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo img {
  height: 22px;
  width: auto;
}
.site-logo .logo-star {
  width: 22px;
  height: 22px;
  fill: var(--gold);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.site-logo:hover .logo-star {
  transform: rotate(72deg);
}
.site-logo .logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink);
}

/* Primary Navigation */
.primary-nav ul {
  display: flex;
  gap: 32px;
}
.primary-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color .3s;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .4s cubic-bezier(.22, 1, .36, 1);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--ink);
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
  width: 100%;
}

/* Sub-menus */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 200;
}
.primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-nav .sub-menu a {
  display: block;
  padding: 8px 24px;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.primary-nav .sub-menu a::after { display: none; }
.primary-nav li { position: relative; }

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

/* Breadcrumb */
.breadcrumb {
  padding: 80px 0 0;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--ink-light);
}
.breadcrumb a {
  color: var(--ink-light);
  transition: color .3s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep {
  color: var(--ink-faint);
  margin: 0 8px;
}

/* ═══════════════════════════════════════════
   HERO SECTION (FRONT PAGE)
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(60px, 10vh, 120px);
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 65% 45%, rgba(184, 150, 90, .06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 60%, rgba(184, 150, 90, .04) 0%, transparent 60%),
    var(--ink);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 1.08;
  color: #f0ebe3;
  max-width: 720px;
  margin-bottom: 32px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-accent);
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: #c4b9a8;
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* Hero line accent */
.hero-line {
  position: absolute;
  top: 50%; left: 60%;
  width: 1px; height: 40vh;
  background: linear-gradient(to bottom, transparent, rgba(184, 150, 90, .15), transparent);
  transform: translateY(-50%);
}

/* Hero staggered entrance */
.hero-eyebrow { opacity: 0; animation: fadeUp .8s .3s forwards; }
.hero h1      { opacity: 0; animation: fadeUp .8s .5s forwards; }
.hero-sub     { opacity: 0; animation: fadeUp .8s .7s forwards; }
.hero .btn-primary { opacity: 0; animation: fadeUp .8s .9s forwards; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp .8s 1.2s forwards;
}
.scroll-hint span {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #8a8578;
}
.scroll-line {
  width: 1px; height: 40px; background: #8a8578;
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 1px; height: 100%;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; }
}

/* ═══════════════════════════════════════════
   FOUNDER SECTION
   ═══════════════════════════════════════════ */
.founder-section {
  padding: clamp(80px, 12vh, 160px) 0;
  border-top: 1px solid var(--border);
}
.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.founder-portrait {
  aspect-ratio: 3/4;
  background: var(--bg-gallery);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.founder-portrait::after {
  content: ''; position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  z-index: -1;
}
.founder-portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.founder-portrait-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-gallery);
}
.founder-initials {
  font-family: var(--serif);
  font-size: 72px; font-weight: 300;
  color: var(--ink-faint);
}
.founder-quote {
  font-family: var(--serif);
  font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}
.founder-attribution {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.founder-bio {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.9;
  max-width: 520px;
}

/* ═══════════════════════════════════════════
   PROMISE / STATS SECTION
   ═══════════════════════════════════════════ */
.promise-section {
  padding: clamp(80px, 12vh, 140px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.promise-values {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 6vw, 100px);
  margin-top: 48px;
}
.value-item { text-align: center; }
.value-number {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.value-label {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--bg);
  padding: 20px 40px;
  border: none;
  background: var(--ink);
  cursor: pointer;
  border-radius: 3px;
  transition: background .4s;
}
.btn-primary:hover { background: var(--ink-secondary); }
.btn-primary--gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary--gold:hover { background: var(--gold-light); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 16px 32px;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  border-radius: 3px;
  transition: border-color .3s, color .3s;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--ink);
}

/* Hero variant (dark bg) */
.hero .btn-primary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.hero .btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  z-index: -1;
}
.hero .btn-primary:hover { color: var(--ink); }
.hero .btn-primary:hover::before { transform: scaleX(1); }

/* ═══════════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════════ */
.section-intro {
  padding: clamp(80px, 12vh, 160px) 0;
  text-align: center;
}
.section-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--ink);
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto 24px;
}
.section-desc {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.9;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}

/* ═══════════════════════════════════════════
   PRODUCT HERO (SINGLE PRODUCT)
   ═══════════════════════════════════════════ */
.product-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: calc(100vh - 68px);
  padding-top: 20px;
}

/* Gallery */
.product-gallery {
  position: relative;
  padding: clamp(24px, 3vw, 60px);
  padding-left: clamp(24px, 4vw, 80px);
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 68px;
  flex-shrink: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  width: 68px;
  height: 68px;
  border: 1px solid var(--border);
  background: var(--bg-warm);
  cursor: pointer;
  transition: border-color .3s, box-shadow .3s;
  opacity: .55;
  border-radius: 4px;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold-border);
  opacity: 1;
  box-shadow: 0 0 0 1px var(--gold-border);
}
.gallery-main {
  flex: 1;
  background: var(--bg-gallery);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.gallery-main img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(26, 23, 20, .10));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.gallery-main:hover img {
  transform: scale(1.03);
}

/* Product Info */
.product-info {
  padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 80px) clamp(32px, 4vw, 64px) clamp(32px, 3vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}
.product-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.product-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 6px;
}
.product-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.product-price-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--gold-rich);
  margin-bottom: 6px;
}
.product-price-note {
  font-size: 11px;
  color: var(--ink-light);
  margin-bottom: 32px;
  line-height: 1.6;
}
.product-intro {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Configurator */
.config-section { margin-bottom: 24px; }
.config-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.config-opt {
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .5px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s;
}
.config-opt:hover {
  border-color: var(--gold-border);
  color: var(--ink);
}
.config-opt.selected {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold-faint);
  box-shadow: 0 0 0 1px var(--gold-border);
}

.engrave-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 8px;
}
.engrave-card {
  padding: 14px 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  cursor: pointer;
  transition: all .3s;
  text-align: center;
  border-radius: 3px;
}
.engrave-card:hover { border-color: var(--gold-border); }
.engrave-card.selected {
  border-color: var(--gold);
  background: var(--gold-faint);
  box-shadow: 0 0 0 1px var(--gold-border);
}
.engrave-name { font-size: 11px; color: var(--ink); margin-bottom: 3px; }
.engrave-price { font-size: 10px; color: var(--ink-light); }

.strap-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239a9286' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color .3s;
}
.strap-select:hover,
.strap-select:focus {
  border-color: var(--gold-border);
  outline: none;
}

/* Total & CTA */
.price-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 6px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.total-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-light);
}
.total-amount {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-rich);
}
.deposit-note {
  font-size: 11px;
  color: var(--ink-light);
  margin-bottom: 24px;
}
.product-cta .btn-primary,
.product-cta .btn-secondary { width: 100%; }
.product-cta .btn-secondary { margin-top: 10px; }

.guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--ink-light);
}
.guarantee svg {
  width: 14px; height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   DETAILS SECTION
   ═══════════════════════════════════════════ */
.details-section {
  border-top: 1px solid var(--border);
  padding: clamp(60px, 10vh, 120px) clamp(24px, 4vw, 80px);
  background: var(--bg-card);
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  max-width: 1280px;
  margin: 0 auto;
}

/* Specs */
.specs-header,
.story-header {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}
.spec-group { margin-bottom: 36px; }
.spec-group-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 23, 20, .04);
}
.spec-label { font-size: 12px; color: var(--ink-light); flex-shrink: 0; }
.spec-value { font-size: 13px; color: var(--ink); text-align: right; font-weight: 400; }
.spec-dots {
  flex: 1;
  margin: 0 12px;
  border-bottom: 1px dotted rgba(26, 23, 20, .12);
  min-width: 24px;
  align-self: center;
  margin-bottom: 4px;
}

/* Story */
.story-visual {
  aspect-ratio: 4/3;
  background: var(--bg-gallery);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.story-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.5vw, 34px);
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 20px;
}
.story-text {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.feature-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  transition: border-color .4s, background .4s;
}
.feature-card:hover {
  border-color: var(--gold-border);
  background: var(--gold-faint);
}
.feature-icon {
  width: 26px; height: 26px;
  margin-bottom: 12px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}
.feature-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 5px;
}
.feature-desc {
  font-size: 11px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   COLLECTION GRID
   ═══════════════════════════════════════════ */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 6px;
  overflow: hidden;
}
.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.collection-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.collection-card:hover .collection-card-bg {
  transform: scale(1.05);
}
.collection-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, .82), rgba(26, 23, 20, .05) 55%);
}
.collection-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(20px, 2.5vw, 40px);
  transform: translateY(12px);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.collection-card:hover .collection-card-content {
  transform: translateY(0);
}
.card-status {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 10px;
  padding: 3px 10px;
  border: 1px solid rgba(212, 184, 130, .3);
}
.card-status.sold-out {
  color: var(--ink-faint);
  border-color: rgba(194, 187, 176, .3);
}
.card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  color: #faf8f4;
  margin-bottom: 6px;
}
.card-tagline {
  font-size: 12px;
  color: #c4b9a8;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s .1s, transform .4s .1s;
}
.collection-card:hover .card-tagline {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   CRAFTSMANSHIP
   ═══════════════════════════════════════════ */
.craft-section {
  padding: clamp(80px, 12vh, 160px) 0;
  border-top: 1px solid var(--border);
}
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.craft-visual {
  aspect-ratio: 4/5;
  background: var(--bg-gallery);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.craft-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.technique {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color .4s, background .4s;
  cursor: default;
}
.technique:hover {
  border-color: var(--gold-border);
  background: var(--gold-faint);
}
.technique-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.technique-desc {
  font-size: 11px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   RELATED PRODUCTS
   ═══════════════════════════════════════════ */
.related-section {
  border-top: 1px solid var(--border);
  padding: clamp(60px, 8vh, 100px) clamp(24px, 4vw, 80px);
  background: var(--bg-card);
}
.related-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.related-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  color: var(--ink);
}
.related-link {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  transition: color .3s;
}
.related-link:hover { color: var(--gold-rich); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vh, 80px) 0;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-light);
  max-width: 280px;
  line-height: 1.8;
  margin-top: 16px;
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--ink-light);
  transition: color .3s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 1px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  color: var(--ink-light);
  transition: border-color .3s, color .3s, background .3s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-faint);
}
.footer-social svg {
  width: 14px; height: 14px;
  fill: currentColor;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  border-radius: 3px;
}
.woocommerce .button,
.woocommerce button.button {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 14px 28px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .3s;
}
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--ink-secondary);
  color: var(--bg);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-hero { grid-template-columns: 1fr; min-height: auto; }
  .product-info { border-left: none; border-top: 1px solid var(--border); }
  .details-grid { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .founder-layout { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .promise-values { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 24px clamp(24px, 4vw, 80px);
    display: none;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    padding: 8px 0 0 16px;
    min-width: 0;
    background: transparent;
  }
  .collection-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-gallery {
    padding: 16px;
    flex-direction: column-reverse;
  }
  .gallery-thumbs {
    flex-direction: row;
    width: 100%;
    height: auto;
  }
  .gallery-thumb { width: 56px; height: 56px; }
  .engrave-grid { grid-template-columns: 1fr 1fr; }
}
