:root {
  --cream: #FBF2E7;
  --sand: #F3E1CB;
  --sand-deep: #E7C9A3;
  --caramel: #D79E71;
  --rosewood: #B97D6E;
  --terracotta: #C0704F;
  --espresso: #3B2A22;
  --espresso-70: rgba(59, 42, 34, .7);
  --espresso-45: rgba(59, 42, 34, .45);
  --gold: #B8923F;
  --white: #FFFDFA;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 45px -20px rgba(59, 42, 34, .35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
}

/* focus visibility for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--rosewood));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px -16px rgba(192, 112, 79, .55);
}

.btn-small {
  padding: 10px 24px;
  font-size: 14px;
  border: 1px solid var(--espresso);
  color: var(--espresso);
}

.btn-small:hover {
  background: var(--espresso);
  color: var(--white);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 242, 231, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 42, 34, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  font-size: 20px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .01em;
}

.brand-name em {
  font-style: italic;
  color: var(--terracotta);
}

.main-nav {
  display: flex;
  gap: 34px;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  font-weight: bold;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform .3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 160px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(45% 55% at 30% 20%, rgba(215, 158, 113, .55), transparent 70%),
    radial-gradient(40% 50% at 75% 10%, rgba(185, 125, 110, .45), transparent 70%),
    radial-gradient(60% 60% at 50% 60%, rgba(243, 225, 203, .9), transparent 75%);
  filter: blur(10px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--espresso-70);
  margin: 0 0 22px;
}

.hero-title {
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.05;
  color: var(--espresso);
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  max-width: 560px;
  margin: 26px auto 40px;
  font-size: 18px;
  color: var(--espresso-70);
}

.hero-crescent {
  position: absolute;
  left: 50%;
  bottom: -140px;
  width: 480px;
  height: 480px;
  transform: translateX(-50%);
  border-radius: 50%;
  box-shadow: 130px -40px 0 40px var(--cream);
  background: radial-gradient(circle at 35% 35%, var(--sand-deep), var(--caramel) 70%);
  opacity: .55;
  z-index: 0;
}

/* ==========================================================================
   Section shared
   ========================================================================== */
section {
  padding: 110px 0;
  position: relative;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rosewood);
  margin: 0 0 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--rosewood);
  opacity: .5;
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
  color: var(--espresso-70);
  font-size: 16px;
}

/* ==========================================================================
   Products
   ========================================================================== */
.products {
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--sand), var(--sand-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Placeholder visual — remove this element once real product photos
   are wired in through the .product-photo <img> tag below */
.product-media .media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--espresso-45);
  font-size: 13px;
  letter-spacing: .05em;
  text-align: center;
  padding: 0 20px;
}

.product-media .media-placeholder .ph-icon {
  font-size: 34px;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  /* shown automatically by script.js once a real src is set */
}

.media-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 253, 250, .85);
  color: var(--espresso);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px -6px rgba(59, 42, 34, .35);
  transition: background .25s ease, transform .25s ease;
}

.media-arrow:hover {
  background: var(--terracotta);
  color: var(--white);
}

.media-arrow.prev {
  left: 14px;
}

.media-arrow.next {
  right: 14px;
}

.media-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.media-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(59, 42, 34, .25);
  transition: background .25s ease, transform .25s ease;
}

.media-dots span.active {
  background: var(--terracotta);
  transform: scale(1.3);
}

.product-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.product-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--terracotta);
  white-space: nowrap;
}

.product-desc {
  font-size: 15px;
  font-weight: bold;
  color: var(--espresso-70);
  margin: 0;
}

.product-color-label {
  margin-top: 6px;
  font-size: 20px;
  font-family: fantasy;
  letter-spacing: .05em;
  color: var(--rosewood);
  text-transform: uppercase;
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why {
  background: var(--sand);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.why-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--rosewood));
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.review-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--espresso);
  margin: 0 0 18px;
}

.review-author {
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--rosewood);
  text-transform: uppercase;
  margin: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--sand);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.contact-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(59, 42, 34, .12);
}

.contact-list li span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rosewood);
}

.contact-list li a:hover {
  color: var(--terracotta);
}

.contact-visual {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sand-deep), var(--terracotta) 75%);
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 50px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .brand-name {
  color: var(--cream);
}

.site-footer .brand-name em {
  color: var(--caramel);
}

.footer-copy {
  font-size: 13px;
  color: rgba(251, 242, 231, .65);
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-social span {
  opacity: .4;
}

.footer-social a:hover {
  color: var(--caramel);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    max-width: 260px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 100px 0 120px;
  }

  section {
    padding: 80px 0;
  }
}