/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f8f2e9;
  --cream-2: #f2ece1;
  --blush: #f6ddd9;
  --blush-2: #f0cfc9;
  --blush-3: #eec4c9;
  --ink: #212648;
  --body: #6c7091;
  --body-light: #8b8fae;
  --indigo: #6a6db8;
  --indigo-dark: #55578f;
  --gold: #bb8a4e;
  --border: rgba(33, 38, 72, 0.1);
  --white: #ffffff;
  --featured-bg: #e9ecf6;
  --shadow: 0 20px 45px -20px rgba(33, 38, 72, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--body);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, cite, .logo {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink);
  font-weight: 500;
}

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

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 10px 25px -10px rgba(106, 109, 184, 0.6);
}
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--cream-2); transform: translateY(-1px); }
.btn-outline {
  width: 100%;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
}
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.is-added { background: #4c9a6a !important; color: #fff !important; border-color: #4c9a6a !important; }

.text-link {
  color: var(--indigo);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--indigo); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 242, 233, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 20px -15px rgba(33,38,72,0.3); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
  font-size: 0.92rem;
  color: var(--body);
  margin: 0 auto;
}
.main-nav a { transition: color 0.18s ease; }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Layout helpers ---------- */
section { padding: 6.5rem 2.5rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero-text { padding-left: 2rem; }
.hero-text h1 {
  font-size: 3.4rem;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}
.hero-text .lede { max-width: 460px; margin-bottom: 2.2rem; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-media { min-height: 620px; }

/* ---------- Product scenes (photography) ---------- */
.scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blush);
}
.scene-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.scene-hero { min-height: 620px; }
.scene-maison { min-height: 560px; }
.scene-featured { min-height: 420px; }
.scene-card { min-height: 340px; border-radius: 0; }

/* ---------- Maison ---------- */
.maison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.maison-media .scene { min-height: 540px; }
.maison-text h2 { font-size: 2.4rem; margin-bottom: 1.3rem; max-width: 420px; }
.maison-text p { margin-bottom: 1rem; max-width: 460px; }
.maison-text .text-link { display: inline-block; margin-top: 0.6rem; }

/* ---------- Collection ---------- */
.collection { max-width: 1280px; margin: 0 auto; }
.collection-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.collection-head h2 { font-size: 2.4rem; }
.collection-sub { max-width: 280px; font-size: 0.95rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { height: 340px; }
.product-media .scene { border-radius: 0; height: 100%; }
.product-info { padding: 1.4rem 1.5rem 1.6rem; }
.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.product-title-row h3 { font-size: 1.35rem; }
.price { color: var(--indigo); font-weight: 600; font-size: 1rem; font-family: 'Jost', sans-serif; }
.notes { font-size: 0.92rem; margin-bottom: 0.6rem; }
.volume { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--body-light); margin-bottom: 1.1rem; }

/* ---------- Featured ---------- */
.featured {
  background: var(--featured-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  border-radius: var(--radius-lg);
  max-width: 1280px;
  margin: 0 auto;
}
.featured-media .scene { min-height: 400px; }
.featured-text h2 { font-size: 2.3rem; margin-bottom: 0.9rem; }
.featured-text .lede { max-width: 420px; margin-bottom: 1.6rem; }
.note-list { margin-bottom: 2.2rem; }
.note-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.93rem;
  margin-bottom: 0.55rem;
}
.note-list .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo);
  flex-shrink: 0;
}
.featured-buy { display: flex; align-items: center; gap: 1.2rem; }
.price-lg { font-size: 1.6rem; font-family: 'Cormorant Garamond', serif; }

/* ---------- Testimonial ---------- */
.testimonial { text-align: center; max-width: 880px; margin: 0 auto; }
.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  color: var(--ink);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1.6rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--body-light);
  text-transform: uppercase;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  max-width: none;
}
.newsletter h2 { font-size: 2.1rem; margin-bottom: 0.8rem; }
.newsletter .lede { max-width: 420px; margin: 0 auto 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.newsletter-form input:focus { outline: 2px solid var(--indigo); outline-offset: 2px; }
.form-message {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.2em;
  color: var(--indigo-dark);
}
.form-message.error { color: #b3475a; }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 2.5rem; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav { display: flex; gap: 1.8rem; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--ink); }
.copyright { font-size: 0.82rem; color: var(--body-light); }

/* ---------- Toast ---------- */
.bag-toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.35);
}
.bag-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-text { padding-left: 0; text-align: left; }
  .hero-media { min-height: 420px; order: -1; }
  .maison { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    margin: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .site-header { position: sticky; }
}

@media (max-width: 640px) {
  section { padding: 4rem 1.25rem; }
  .hero-text h1 { font-size: 2.4rem; }
  .product-grid { grid-template-columns: 1fr; }
  .collection-head { flex-direction: column; align-items: flex-start; }
  .header-inner { padding: 1rem 1.25rem; }
  .newsletter-form { flex-direction: column; }
}
