/* ==========================================================================
   98 FLOWERS — Editorial commerce stylesheet
   Black + gold brand identity, ASOS-inspired fashion-commerce layout
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — pulled from the 98 Flowers logo (gold on black) */
  --ink: #141312;          /* near-black, primary */
  --ink-soft: #2c2a27;     /* softened black for body text */
  --gold: #c2a04c;         /* metallic brand gold */
  --gold-deep: #9c7d2e;    /* darker gold for text/hover on white */
  --gold-light: #e7d6a6;   /* pale gold tint */
  --bg: #ffffff;
  --cream: #faf7f0;        /* warm off-white section background */
  --cream-deep: #f1ebdf;   /* deeper cream for cards/dividers */
  --line: #e8e3d8;         /* hairline borders */
  --muted: #8b857a;        /* muted captions */

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui: 'Jost', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 14px rgba(20, 19, 18, 0.06);
  --shadow-md: 0 14px 40px rgba(20, 19, 18, 0.12);
  --shadow-lg: 0 30px 70px rgba(20, 19, 18, 0.18);

  --maxw: 1360px;
  --gutter: 40px;
  --header-h: 112px;       /* marquee + header combined */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; color: var(--ink); }

::selection { background: var(--gold); color: var(--ink); }

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

/* Shared section rhythm */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}
.eyebrow--light { color: var(--gold-light); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; max-width: var(--maxw); gap: 24px;
}
.section-head--split h2 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 36px; border: 1.5px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .25s var(--ease);
  position: relative; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--gold); color: var(--ink); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ink); color: var(--gold-light); }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--light { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--full { width: 100%; }

.link-arrow {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: 18px; color: var(--gold-deep); border-color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   ANNOUNCEMENT MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--ink); color: #fff; height: 40px; overflow: hidden;
  display: flex; align-items: center; position: relative;
}
.marquee__track {
  display: flex; gap: 0; white-space: nowrap; will-change: transform;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; color: #f4efe4;
}
.marquee__item::after { content: '✦'; color: var(--gold); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 92px; transition: height .4s var(--ease);
}
.header.scrolled .header__inner { height: 74px; }

.header__nav { display: flex; align-items: center; gap: 34px; }
.header__nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 6px 0;
}
.header__nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width .35s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-active::after { width: 100%; }

.header__logo {
  justify-self: center; display: flex; align-items: center; gap: 12px;
}
.header__logo img { height: 58px; width: 58px; transition: height .4s var(--ease), width .4s var(--ease); }
.header.scrolled .header__logo img { height: 46px; width: 46px; }
.header__logo-word {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.02em; color: var(--ink);
  line-height: 1;
}

.header__actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.icon-btn {
  position: relative; color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.icon-btn:hover { color: var(--gold-deep); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn__count {
  position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--gold); color: var(--ink); border-radius: 9px;
  font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.icon-btn__count.show { transform: scale(1); }
.icon-btn.pop { animation: pop .4s var(--ease); }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.28)} 100%{transform:scale(1)} }

.header__burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.header__burger span { height: 1.6px; width: 100%; background: var(--ink); transition: .3s var(--ease); }
.header__burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; padding: 32px 30px;
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.drawer__head .header__logo-word { font-size: 1.4rem; }
.drawer__close { font-size: 1.6rem; color: var(--ink); line-height: 1; }
.drawer__nav a {
  display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.drawer__foot { margin-top: auto; padding-top: 28px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.drawer__foot a { color: var(--gold-deep); }
.overlay {
  position: fixed; inset: 0; background: rgba(20,19,18,0.5); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.overlay.show { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,19,18,0.78) 0%, rgba(20,19,18,0.5) 42%, rgba(20,19,18,0.12) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.hero__content { max-width: 620px; }
.hero__content .eyebrow { color: var(--gold-light); margin-bottom: 22px; }
.hero h1 {
  color: #fff; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero__sub { color: rgba(255,255,255,0.86); font-size: clamp(1rem, 1.4vw, 1.18rem); margin: 26px 0 38px; max-width: 480px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 42px; background: linear-gradient(var(--gold-light), transparent); animation: scrolldrop 2s ease-in-out infinite; }
@keyframes scrolldrop { 0%,100%{ transform: scaleY(0.4); transform-origin: top; opacity:.5 } 50%{ transform: scaleY(1); opacity:1 } }

/* --------------------------------------------------------------------------
   USP STRIP
   -------------------------------------------------------------------------- */
.usp { background: var(--ink); color: #fff; }
.usp__inner { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp__item { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.usp__item svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.usp__item b { display: block; font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #fff; text-transform: uppercase; }
.usp__item span { font-size: 12.5px; color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   OCCASION TILES
   -------------------------------------------------------------------------- */
.occasions { background: var(--cream); }
.occasions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block;
  background: var(--cream-deep);
}
.tile:nth-child(1), .tile:nth-child(6) { aspect-ratio: 3 / 4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,19,18,0.66) 0%, rgba(20,19,18,0.05) 55%); transition: background .5s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(to top, rgba(20,19,18,0.78) 0%, rgba(20,19,18,0.2) 70%); }
.tile__label {
  position: absolute; left: 26px; bottom: 24px; z-index: 2; color: #fff;
}
.tile__label h3 { color: #fff; font-size: 1.7rem; }
.tile__label .link-arrow {
  color: var(--gold-light); border-color: transparent; font-size: 11px; padding: 0; margin-top: 6px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease), gap .3s var(--ease);
}
.tile:hover .tile__label .link-arrow { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   PRODUCT GRID
   -------------------------------------------------------------------------- */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 18px; }
.card { position: relative; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); display: block;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .6s var(--ease), transform 1.1s var(--ease);
}
.card__media .img-back { opacity: 0; }
.card:hover .img-front { opacity: 0; }
.card:hover .img-back { opacity: 1; transform: scale(1.05); }

.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--ink); color: var(--gold-light);
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px;
}
.card__tag--gold { background: var(--gold); color: var(--ink); }

.wish {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease); box-shadow: var(--shadow-sm);
}
.wish svg { width: 18px; height: 18px; color: var(--ink); transition: .3s var(--ease); fill: none; stroke: currentColor; stroke-width: 1.6; }
.wish:hover { transform: scale(1.1); }
.wish.active svg { color: var(--gold-deep); fill: var(--gold-deep); stroke: var(--gold-deep); }
.wish.burst { animation: pop .45s var(--ease); }

.card__add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 15px;
  transform: translateY(100%); transition: transform .42s var(--ease), background .3s var(--ease);
}
.card__media:hover .card__add { transform: translateY(0); }
.card__add:hover { background: var(--gold); color: var(--ink); }
.card__add.added { background: var(--gold); color: var(--ink); transform: translateY(0); }

.card__info { padding: 16px 2px 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-family: var(--font-ui); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }
.card__price { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.card__meta { padding: 0 2px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

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

/* Touch hint: on coarse pointers, reveal add bar partially */
@media (hover: none) {
  .card__add { transform: translateY(0); position: static; }
  .card__media .img-back { display: none; }
}

/* --------------------------------------------------------------------------
   EDITORIAL SPLIT BANNER
   -------------------------------------------------------------------------- */
.editorial { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.editorial__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.editorial__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,18,0.72), rgba(20,19,18,0.18) 70%); }
.editorial--right .editorial__veil { background: linear-gradient(270deg, rgba(20,19,18,0.72), rgba(20,19,18,0.18) 70%); }
.editorial__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.editorial--right .editorial__inner { text-align: right; }
.editorial__box { max-width: 540px; }
.editorial--right .editorial__box { margin-left: auto; }
.editorial__box .eyebrow { color: var(--gold-light); margin-bottom: 18px; }
.editorial__box h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.01em; }
.editorial__box h2 em { font-style: italic; color: var(--gold-light); }
.editorial__box p { color: rgba(255,255,255,0.85); margin: 22px 0 32px; font-size: 1.08rem; }
.editorial--right .editorial__box .btn { float: right; }

/* --------------------------------------------------------------------------
   TRENDING CAROUSEL
   -------------------------------------------------------------------------- */
.trending { background: #fff; }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 14px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .card { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.carousel__btn:hover { background: var(--ink); color: #fff; }
.carousel__btn svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   DUAL TILES
   -------------------------------------------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__tile { position: relative; aspect-ratio: 16 / 11; overflow: hidden; display: flex; align-items: flex-end; }
.duo__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.duo__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,19,18,0.7), rgba(20,19,18,0.05) 60%); }
.duo__tile:hover img { transform: scale(1.06); }
.duo__body { position: relative; z-index: 2; padding: 40px; color: #fff; }
.duo__body h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.duo__body p { color: rgba(255,255,255,0.82); margin: 8px 0 18px; max-width: 340px; }

/* --------------------------------------------------------------------------
   REVIEWS
   -------------------------------------------------------------------------- */
.reviews { background: var(--cream); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff; border: 1px solid var(--line); padding: 38px 34px; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 18px; }
.review__quote { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.45; color: var(--ink); font-style: italic; }
.review__who { margin-top: 22px; font-size: 13px; letter-spacing: 0.06em; }
.review__who b { color: var(--ink); font-weight: 600; }
.review__who span { color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; display: block; margin-top: 3px; }

/* --------------------------------------------------------------------------
   STORY STRIP
   -------------------------------------------------------------------------- */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.story__media { position: relative; min-height: 520px; overflow: hidden; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__body { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.story__body .eyebrow { color: var(--gold-light); margin-bottom: 20px; }
.story__body h2 { color: #fff; font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.story__body p { color: rgba(255,255,255,0.78); margin: 22px 0; font-size: 1.06rem; }
.story__stats { display: flex; gap: 40px; margin: 14px 0 34px; }
.story__stat b { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); display: block; line-height: 1; }
.story__stat span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   NEWSLETTER
   -------------------------------------------------------------------------- */
.newsletter { background: var(--gold); color: var(--ink); text-align: center; }
.newsletter__inner { max-width: 640px; margin: 0 auto; padding: 90px var(--gutter); }
.newsletter .eyebrow { color: var(--ink); opacity: 0.7; }
.newsletter h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 16px 0 12px; }
.newsletter p { color: rgba(20,19,18,0.75); margin-bottom: 32px; }
.newsletter__form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; border: 1.5px solid var(--ink); background: #fff; }
.newsletter__form input { flex: 1; border: none; padding: 16px 20px; background: transparent; letter-spacing: 0.02em; }
.newsletter__form input:focus { outline: none; }
.newsletter__form button { background: var(--ink); color: #fff; padding: 0 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; transition: background .3s var(--ease); }
.newsletter__form button:hover { background: var(--ink-soft); }
.newsletter__note { font-size: 12px; color: rgba(20,19,18,0.6); margin-top: 16px; letter-spacing: 0.04em; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-top: 80px; }
.footer__top { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 60px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer__brand .header__logo-word { color: #fff; font-size: 1.7rem; }
.footer__brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
.footer__brand .contact { margin-top: 22px; font-size: 14px; line-height: 1.9; }
.footer__brand .contact a:hover { color: var(--gold-light); }
.footer h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__col ul li { margin-bottom: 12px; }
.footer__col a { font-size: 14px; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--gold-light); }
.footer__loc p { font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
.footer__loc b { color: #fff; }
.footer__social { display: flex; gap: 14px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: .3s var(--ease); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer__bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: 0.04em; }
.footer__bottom-inner a:hover { color: var(--gold-light); }
.footer__pay { display: flex; gap: 8px; align-items: center; }
.footer__pay span { font-size: 10px; letter-spacing: 0.1em; padding: 5px 9px; border: 1px solid rgba(255,255,255,0.2); border-radius: 3px; color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   BACK TO TOP
   -------------------------------------------------------------------------- */
.totop {
  position: fixed; right: 28px; bottom: 28px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease), background .3s var(--ease);
  box-shadow: var(--shadow-md);
}
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--gold); color: var(--ink); }
.totop svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   TOAST
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120%); z-index: 250;
  background: var(--ink); color: #fff; padding: 16px 26px; display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.06em; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--gold); }

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: scale(1); }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   WEDDING PAGE
   ========================================================================== */
.wed-hero { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.wed-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: kenburns 18s ease-out forwards; }
.wed-hero__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,19,18,0.55), rgba(20,19,18,0.25) 45%, rgba(20,19,18,0.7)); }
.wed-hero__content { position: relative; z-index: 2; max-width: 760px; padding: 0 var(--gutter); }
.wed-hero__content .eyebrow { color: var(--gold-light); margin-bottom: 22px; }
.wed-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.01em; }
.wed-hero h1 em { font-style: italic; color: var(--gold-light); }
.wed-hero p { color: rgba(255,255,255,0.86); font-size: 1.15rem; margin: 24px 0 36px; }

.included__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.included__item { background: #fff; padding: 48px 40px; transition: background .4s var(--ease); }
.included__item:hover { background: var(--cream); }
.included__item .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-deep); }
.included__item svg { width: 30px; height: 30px; color: var(--gold-deep); margin-bottom: 18px; }
.included__item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.included__item p { color: var(--muted); font-size: 0.98rem; }

.process { background: var(--cream); }
.process__list { max-width: 820px; margin: 0 auto; }
.process__step { display: grid; grid-template-columns: 110px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.process__step:last-child { border-bottom: none; }
.process__num { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold); line-height: 1; }
.process__step h3 { font-size: 1.6rem; margin-bottom: 8px; }
.process__step p { color: var(--muted); }

.pricing { background: var(--ink); color: #fff; text-align: center; }
.pricing__inner { max-width: 680px; margin: 0 auto; }
.pricing .eyebrow { color: var(--gold-light); }
.pricing h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 16px 0 18px; }
.pricing p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 28px; }
.pricing__badge { display: inline-block; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 20px; margin-bottom: 34px; }

.wed-form { background: var(--cream); }
.wed-form__inner { max-width: 820px; margin: 0 auto; }
.inquiry { background: #fff; border: 1px solid var(--line); padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 9px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,76,0.15);
}
.form-group textarea { resize: vertical; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  :root { --gutter: 28px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__loc { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto 1fr; height: 76px; }
  .header.scrolled .header__inner { height: 64px; }
  .header__logo { justify-self: center; }
  .header__burger { display: flex; justify-self: start; }
  .header__actions { gap: 18px; }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .usp__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .story { grid-template-columns: 1fr; }
  .story__media { min-height: 360px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .occasions__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 10px 12px; }
  .duo { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; gap: 16px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .section-head--split .link-arrow { display: none; }
  .editorial { min-height: 64vh; }
  .editorial--right .editorial__inner, .editorial--right .editorial__box { text-align: left; }
  .editorial--right .editorial__box { margin-left: 0; }
  .editorial--right .editorial__box .btn { float: none; }
  .included__grid { grid-template-columns: 1fr; }
  .process__step { grid-template-columns: 64px 1fr; gap: 20px; }
  .process__num { font-size: 2.4rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .story__stats { gap: 28px; }
  .marquee__item { font-size: 10.5px; letter-spacing: 0.2em; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .usp__inner { grid-template-columns: 1fr; }
  .occasions__grid { grid-template-columns: 1fr 1fr; }
  .header__logo-word { display: none; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form button { padding: 14px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .totop { right: 16px; bottom: 16px; }
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart {
  position: fixed; inset: 0 0 0 auto; width: min(94vw, 440px); background: #fff; z-index: 210;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.cart.open { transform: translateX(0); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.cart__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.cart__close { font-size: 1.7rem; line-height: 1; color: var(--ink); transition: color .25s var(--ease); }
.cart__close:hover { color: var(--gold-deep); }
.cart__body { flex: 1; overflow-y: auto; padding: 4px 28px; }
.cart__empty { text-align: center; padding: 90px 20px; color: var(--muted); }
.cart__empty svg { width: 44px; height: 44px; color: var(--line); margin: 0 auto 18px; }
.cart__empty p { margin-bottom: 22px; }
.cart__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart__thumb { width: 76px; height: 94px; object-fit: cover; background: var(--cream); }
.cart__info { display: flex; flex-direction: column; min-width: 0; }
.cart__name { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.cart__unit { font-size: 13px; color: var(--muted); margin: 3px 0 auto; }
.cart__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); width: fit-content; margin-top: 12px; }
.cart__qty button { width: 32px; height: 32px; font-size: 16px; color: var(--ink); transition: background .2s var(--ease); }
.cart__qty button:hover { background: var(--cream); }
.cart__qty span { min-width: 30px; text-align: center; font-size: 13px; font-weight: 500; }
.cart__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart__price { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cart__remove { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: .25s var(--ease); }
.cart__remove:hover { color: var(--ink); border-color: var(--ink); }
.cart__foot { padding: 22px 28px; border-top: 1px solid var(--line); background: var(--cream); }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); }
.cart__row span:last-child { font-weight: 600; color: var(--ink); }
.cart__note { font-size: 12px; color: var(--muted); margin: -4px 0 18px; }
.cart__foot .btn { width: 100%; }
.cart__cont { display: block; text-align: center; margin-top: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .25s var(--ease); }
.cart__cont:hover { color: var(--ink); }

/* ==========================================================================
   CHECKOUT MODAL
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(20,19,18,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__card { background: #fff; width: min(980px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative; transform: translateY(22px); transition: transform .42s var(--ease); }
.modal.open .modal__card { transform: translateY(0); }
.modal__close { position: absolute; top: 16px; right: 20px; font-size: 1.7rem; line-height: 1; color: var(--ink); z-index: 3; }
.modal__close:hover { color: var(--gold-deep); }

.checkout { display: grid; grid-template-columns: 1fr 1.1fr; }
.checkout__summary { background: var(--ink); color: #fff; padding: 46px 40px; }
.checkout__summary .eyebrow { color: var(--gold-light); }
.checkout__summary h3 { color: #fff; font-size: 1.6rem; margin: 6px 0 0; }
.checkout__items { margin: 26px 0 18px; }
.checkout__line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.78); }
.checkout__line b { color: #fff; font-weight: 500; }
.checkout__line span.q { color: var(--gold-light); }
.checkout__tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; font-size: 1rem; color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.checkout__tot b { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); text-transform: none; }

.checkout__form { padding: 46px 40px; }
.checkout__form h3 { font-size: 1.5rem; }
.pay-demo { display: flex; gap: 10px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); padding: 13px 15px; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 18px 0 26px; }
.pay-demo svg { width: 17px; height: 17px; color: var(--gold-deep); flex-shrink: 0; margin-top: 1px; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pay-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.pay-secure svg { width: 14px; height: 14px; }
.pay-brands { display: flex; gap: 6px; margin: 14px 0 0; }
.pay-brands span { font-size: 9px; letter-spacing: .08em; padding: 4px 7px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); }

.checkout__success { padding: 80px 40px; text-align: center; }
.checkout__success .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; animation: pop .55s var(--ease); }
.checkout__success .tick svg { width: 34px; height: 34px; color: var(--ink); }
.checkout__success h3 { font-size: 2.1rem; margin-bottom: 14px; }
.checkout__success p { color: var(--muted); max-width: 400px; margin: 0 auto 28px; }

@media (max-width: 768px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { order: 2; }
  .checkout__form { order: 1; }
  .pay-row { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__card { max-height: 96vh; }
}
