/* ==========================================================================
   LuxRosers — design tokens
   Ivory/charcoal/wine palette, Fraunces (display) + Manrope (body/nav)
   ========================================================================== */
:root {
  --ivory: #F7F1E8;
  --off-white: #FBF8F3;
  --charcoal: #241417;
  --wine: #5A1620;
  --wine-deep: #3E0F17;
  --blush: #E7D2CE;
  --dusty-rose: #C9A0A0;

  --text-main: #2A1E1D;
  --text-muted: #6E5C58;
  --text-on-dark: #F3E9E4;
  --text-on-dark-muted: #C7AFAA;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 0.7s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

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

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

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--wine);
  color: var(--text-on-dark);
  padding: .75rem 1.25rem;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  margin: 0 0 .9rem;
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-top: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.9rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 2px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--wine);
  color: var(--text-on-dark);
  border: 1px solid var(--wine);
}

.btn-primary:hover {
  background: var(--wine-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid rgba(36, 20, 23, .3);
}

.btn-ghost:hover {
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-sm {
  padding: .65rem 1.2rem;
  font-size: .75rem;
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: .9rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 241, 232, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 20, 23, .08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(36, 20, 23, .06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--charcoal);
}

.brand-mark.small {
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  gap: 2.1rem;
  font-size: .85rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: .25rem 0;
  color: var(--text-main);
}

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

.main-nav a:hover::after {
  width: 100%;
}

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

.ig-pill {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid rgba(36, 20, 23, .25);
  padding: .5rem .95rem;
  border-radius: 999px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.ig-pill:hover {
  border-color: var(--wine);
  background: rgba(90, 22, 32, .06);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-on-dark);
  opacity: .9;
}

.mobile-menu a:hover {
  color: var(--dusty-rose);
}

.mobile-ig {
  margin-top: 1rem;
  font-family: var(--font-body) !important;
  font-size: .85rem !important;
  font-weight: 700;
  border: 1px solid rgba(243, 233, 228, .4);
  padding: .9rem 1.6rem;
  border-radius: 999px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

@media (min-width:900px) {
  .hero {
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    min-height: 88vh;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--charcoal);
}

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

.hero-lede {
  margin-top: 1.6rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 20, 23, 0) 55%, rgba(36, 20, 23, .35) 100%);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}

.hero-visual:hover .hero-frame img {
  transform: scale(1);
}

.hero-detail-card {
  position: absolute;
  left: clamp(-2rem, -6vw, -4rem);
  bottom: clamp(-1.5rem, -4vw, -2.5rem);
  width: clamp(120px, 22vw, 190px);
  aspect-ratio: 1/1;
  border-radius: 2px;
  overflow: hidden;
  border: 6px solid var(--off-white);
  box-shadow: 0 20px 45px rgba(36, 20, 23, .22);
  z-index: 3;
}

.hero-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(-.5rem, -2vw, -1.5rem);
  z-index: 4;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  box-shadow: 0 14px 30px rgba(90, 22, 32, .35);
  animation: spin-slow 22s linear infinite;
}

.hero-badge span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .78rem;
  line-height: 1.25;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge {
    animation: none;
  }
}

@media (max-width:899px) {
  .hero-badge {
    display: none;
  }

  .hero-detail-card {
    width: 100px;
    left: -1rem;
    bottom: -1.25rem;
    border-width: 4px;
  }
}

/* Marquee strip */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--charcoal);
  color: var(--text-on-dark-muted);
  padding: .9rem 0;
  margin: 0;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
}

.marquee span {
  display: inline-block;
  padding-right: 0;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation: none;
  }
}

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.05;
}

.section-head h2 em {
  font-style: italic;
  color: var(--wine);
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-lede {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Collection / product grid
   ========================================================================== */
.collection {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.product-grid {
  max-width: var(--container);
  margin: 3.5rem auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
}

.product {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
}

@media (min-width:640px) {
  .product {
    grid-column: span 3;
  }

  .product--feature {
    grid-column: span 6;
  }

  .product--wide {
    grid-column: span 6;
  }
}

@media (min-width:1024px) {
  .product {
    grid-column: span 2;
  }

  .product--feature {
    grid-column: span 4;
  }

  .product--wide {
    grid-column: span 4;
  }
}

@media (min-width:1024px) {
  .product--feature .product-media {
    aspect-ratio: 16/11;
  }

  .product--wide {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
  }

  .product--wide .product-media {
    flex: 1 1 55%;
    aspect-ratio: 4/3;
    align-self: center;
  }

  .product--wide .product-info {
    flex: 1 1 45%;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.product-media {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--blush);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.06);
}

.product-info {
  padding-top: 1.1rem;
}

.product-tag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wine);
  background: rgba(90, 22, 32, .08);
  padding: .3rem .6rem;
  border-radius: 2px;
  margin-bottom: .6rem;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: .4rem;
}

.product-info p {
  color: var(--text-muted);
  font-size: .92rem;
  max-width: 44ch;
}

.product-meta {
  display: flex;
  align-items: center;
  margin-top: 1.1rem;
}

/* ==========================================================================
   Personalization
   ========================================================================== */
.personalize {
  background: var(--charcoal);
  color: var(--text-on-dark);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width:900px) {
  .personalize {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.personalize-media {
  min-height: 340px;
}

.personalize-media img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.personalize-copy {
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.personalize .eyebrow {
  color: var(--dusty-rose);
}

.personalize-copy h2 {
  color: var(--text-on-dark);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.personalize-copy h2 em {
  font-style: italic;
  color: var(--dusty-rose);
}

.personalize-copy .section-lede {
  color: var(--text-on-dark-muted);
  max-width: 44ch;
}

.option-list {
  margin: 2.4rem 0 2.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.5rem;
}

.option-list li {
  border-top: 1px solid rgba(243, 233, 228, .18);
  padding-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.option-list span {
  font-weight: 700;
  font-size: .95rem;
}

.option-list small {
  color: var(--text-on-dark-muted);
  font-size: .8rem;
}

.personalize .btn-primary {
  align-self: flex-start;
}

/* ==========================================================================
   Occasions
   ========================================================================== */
.occasions {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
}

.occasion-row {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding: 0 var(--gutter);
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: .5rem;
}

.occasion-row::-webkit-scrollbar {
  height: 5px;
}

.occasion-row::-webkit-scrollbar-thumb {
  background: var(--dusty-rose);
  border-radius: 3px;
}

.occasion {
  position: relative;
  flex: 0 0 clamp(150px, 22vw, 210px);
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  scroll-snap-align: start;
}

.occasion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
  filter: saturate(.9);
}

.occasion::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 20, 23, 0) 45%, rgba(36, 20, 23, .75) 100%);
}

.occasion span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
}

.occasion:hover img {
  transform: scale(1.08);
  filter: saturate(1);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width:900px) {
  .about {
    grid-template-columns: .9fr 1.1fr;
  }
}

.about-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.about-copy h2 em {
  font-style: italic;
  color: var(--wine);
}

.about-copy p {
  color: var(--text-muted);
  margin-top: 1.2rem;
  max-width: 52ch;
}

/* ==========================================================================
   Instagram section
   ========================================================================== */
.instagram-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}

.ig-grid {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

@media (min-width:640px) {
  .ig-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ig-grid a {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .4s var(--ease);
}

.ig-grid a:hover img {
  transform: scale(1.08);
}

.ig-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 22, 32, 0);
  transition: background .3s var(--ease);
}

.ig-grid a:hover::after {
  background: rgba(90, 22, 32, .15);
}

.ig-cta {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--text-on-dark);
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
  text-align: center;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact .eyebrow {
  color: var(--dusty-rose);
}

.contact h2 {
  color: var(--text-on-dark);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.contact .section-lede {
  color: var(--text-on-dark-muted);
  margin-left: auto;
  margin-right: auto;
}

.contact .btn-primary {
  background: var(--off-white);
  color: var(--wine-deep);
  border-color: var(--off-white);
  margin-top: 2.4rem;
}

.contact .btn-primary:hover {
  background: var(--blush);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.6rem;
  margin-top: 2.6rem;
  font-size: .82rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--charcoal);
  color: var(--text-on-dark-muted);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.2rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner .brand-mark.small {
  color: var(--text-on-dark);
}

.footer-inner nav {
  display: flex;
  gap: 1.5rem;
  font-size: .85rem;
}

.footer-inner nav a:hover {
  color: var(--text-on-dark);
}

.copyright {
  font-size: .78rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}