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

:root {
  --color-primary: #7C2D12;
  --color-primary-soft: #9A4A2C;
  --color-accent: #A16207;
  --color-bg: #FBF7F1;
  --color-bg-alt: #F3ECE0;
  --color-fg: #2E1A12;
  --color-fg-muted: #6B5B4E;
  --color-card: #FFFFFF;
  --color-border: #E4D8C4;
  --shadow-card: 0 2px 24px rgba(46, 26, 18, 0.08);
  --shadow-card-hover: 0 12px 36px rgba(46, 26, 18, 0.16);
  --radius: 2px;
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-fg);
  margin: 0;
}

.script {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  font-family: 'Great Vibes', cursive;
  font-size: 34px;
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-fg);
  position: relative;
  padding-bottom: 4px;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--color-primary);
  transition: right 250ms ease;
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  border: 1px solid var(--color-primary);
  color: var(--color-primary) !important;
  padding: 10px 22px !important;
  font-size: 12px !important;
}
.nav-cta:hover { background: var(--color-primary); color: #fff !important; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 110px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; display: inline-block; }
.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  font-family: 'Great Vibes', cursive;
  color: var(--color-primary);
  font-size: 1.25em;
  padding-right: 0.05em;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-fg-muted);
  max-width: 46ch;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.btn:hover { background: transparent; color: var(--color-primary); }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-collage {
  position: relative;
  height: 560px;
}
.hero-collage img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  border: 6px solid var(--color-card);
}
.hero-collage .img-a {
  width: 62%; height: 88%;
  top: 0; left: 0;
  z-index: 2;
}
.hero-collage .img-b {
  width: 52%; height: 62%;
  bottom: 0; right: 0;
  z-index: 1;
}
.hero-collage .ornament {
  position: absolute;
  bottom: -28px; left: 38%;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-bg);
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  z-index: 3;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ---------- Section shell ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--color-fg-muted); font-size: 16px; line-height: 1.7; }

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.story img { width: 100%; height: 620px; object-fit: cover; box-shadow: var(--shadow-card); }
.story-copy .eyebrow { margin-bottom: 18px; display: block; }
.story-copy h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 22px; }
.story-copy p { color: var(--color-fg-muted); line-height: 1.85; font-size: 16px; margin-bottom: 18px; }
.story-stats { display: flex; gap: 48px; margin-top: 36px; }
.story-stats div strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--color-primary); }
.story-stats div span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-fg-muted); }

/* ---------- Product grid ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
  transition: all 200ms ease;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 36px 28px;
}
.product-card {
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 280ms ease, transform 280ms ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.product-card .thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .era-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(251,247,241,0.92);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  color: var(--color-primary);
}
.product-card .info { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; line-height: 1.35; margin-bottom: 8px; flex: 1; }
.product-card .meta {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--color-border);
  padding-top: 14px; margin-top: 6px;
}
.product-card .price { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--color-primary); }
.product-card .size { font-size: 12px; color: var(--color-fg-muted); letter-spacing: 0.06em; }

.view-all { text-align: center; margin-top: 56px; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.process-item { text-align: center; padding: 0 12px; }
.process-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.process-item h3 { font-size: 21px; margin-bottom: 12px; }
.process-item p { color: var(--color-fg-muted); font-size: 15px; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.cta-band .script { color: #F1C87A; font-size: 42px; display: block; margin-bottom: 10px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.cta-band .btn { border-color: #fff; background: #fff; color: var(--color-primary); }
.cta-band .btn:hover { background: transparent; color: #fff; }

/* ---------- Footer ---------- */
footer {
  background: #241209;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
footer .brand { color: #F1C87A; margin-bottom: 14px; display: block; }
footer p { font-size: 14px; line-height: 1.7; max-width: 34ch; }
footer h4 { color: #fff; font-family: 'Jost'; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer a { font-size: 14px; transition: color 200ms ease; }
footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Product detail ---------- */
.breadcrumb { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-fg-muted); margin-bottom: 40px; }
.breadcrumb a:hover { color: var(--color-primary); }
.product-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
.gallery-main { aspect-ratio: 3/4; overflow: hidden; background: var(--color-bg-alt); margin-bottom: 16px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumbs img { width: 84px; height: 100px; object-fit: cover; cursor: pointer; opacity: 0.55; transition: opacity 200ms ease; border: 1px solid var(--color-border); }
.gallery-thumbs img.active, .gallery-thumbs img:hover { opacity: 1; }
.pd-era { display: inline-block; }
.pd-title { font-size: clamp(30px, 3.6vw, 42px); margin: 18px 0 20px; }
.pd-price { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--color-primary); margin-bottom: 24px; }
.pd-desc { color: var(--color-fg-muted); line-height: 1.85; font-size: 16px; margin-bottom: 28px; }
.pd-facts { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pd-facts li { font-size: 14px; border-top: 1px solid var(--color-border); padding-top: 10px; }
.pd-facts strong { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-fg-muted); margin-bottom: 4px; }
.pd-note { font-size: 13px; color: var(--color-fg-muted); border: 1px dashed var(--color-border); padding: 14px 16px; margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .story, .product-detail { grid-template-columns: 1fr; }
  .hero-collage { height: 380px; margin-top: 20px; }
  .story img { height: 380px; }
  .nav-links { display: none; }
  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 64px 0; }
  .pd-facts { grid-template-columns: 1fr; }
}
