/* Voluptuary holiday page. Layout follows the Stiletto theme’s section patterns
   (announcement bar, full-bleed hero, scrolling text, image-with-text split,
   collection slider, sales banner, grid, multi-column) in the Voluptuary brand. */

:root {
  --linen: #f6f0e7;
  --paper: #fffcf7;
  --drapery: #e0d3c1;
  --line: #e2d8cb;
  --charcoal: #2a2528;
  --muted: #5f565a;
  --teal: #12666e;
  --deep-teal: #0c3a44;
  --fuchsia: #b42d6c;
  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--charcoal); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--fuchsia); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--paper); padding: 8px 14px; }

.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }

/* Buttons: Stiletto’s squared, uppercase buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-block; padding: 15px 28px; font: 700 0.78rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; transition: background .2s, color .2s; cursor: pointer; }
.btn-dark { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.btn-dark:hover { background: var(--fuchsia); border-color: var(--fuchsia); }
.btn-light { background: var(--paper); color: var(--charcoal); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost { color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--charcoal); }

/* Announcement bar */
.announce { background: var(--deep-teal); color: var(--linen); text-align: center; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 16px; }
.announce p { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px var(--gutter); background: var(--linen); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.solid { border-color: var(--line); box-shadow: 0 6px 24px rgba(42, 37, 40, 0.06); }
.brand img { width: 170px; height: auto; }
.nav { display: flex; gap: 28px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; }
.nav-right { justify-content: flex-end; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; place-items: center; overflow: hidden; color: var(--paper); }
.hero-panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-panels img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 50% at 50% 55%, rgba(20, 16, 18, 0.45), rgba(20, 16, 18, 0) 100%), linear-gradient(180deg, rgba(20, 16, 18, 0.1) 0%, rgba(20, 16, 18, 0.4) 100%); }
.hero-copy { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: 18px; padding: 48px var(--gutter); max-width: 900px; }
.hero .eyebrow { color: var(--paper); }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7.5rem); font-weight: 500; letter-spacing: -0.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero-sub { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.75rem); max-width: 34ch; }
.hero .btns { justify-content: center; }

/* Scrolling text */
.marquee { overflow: hidden; width: 100%; background: var(--paper); border-block: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.still .marquee-track { display: grid; width: auto; place-items: center; transform: none; }
.still .marquee-track .dup, .still .marquee i { display: none; }
.still .marquee span { grid-area: 1 / 1; padding: 14px 20px; text-align: center; white-space: normal; opacity: 0; transition: opacity 0.8s ease; }
.still .marquee span.on { opacity: 1; }
.marquee span { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); padding: 14px 28px; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--fuchsia); flex: none; }
.marquee-foot { background: var(--linen); }

/* Rich text */
.intro { padding-block: clamp(64px, 10vw, 120px); text-align: center; display: grid; justify-items: center; gap: 22px; }
.script-line { font-style: italic; font-weight: 500; color: var(--fuchsia); font-size: clamp(2.4rem, 5vw, 3.6rem); }
.intro p { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 60ch; color: var(--muted); }

/* Image with text split */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split-rev .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; align-content: center; gap: 18px; padding: clamp(40px, 7vw, 96px); background: var(--paper); }
.split-copy h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.split-copy > p:not(.eyebrow):not(.when) { max-width: 46ch; color: var(--muted); }
.split-copy.teal { background: var(--teal); color: var(--paper); }
.split-copy.teal .eyebrow { color: #f3c2d8; }
.split-copy.teal > p:not(.eyebrow):not(.when) { color: #e3efee; }
.when { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.3; }
/* Video row: Stiletto’s “Get inspired” shoppable videos, as Facebook reels */
.reels { background: var(--paper); padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.reels-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.reels-head h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-top: 10px; }
.reels-head p:not(.eyebrow) { color: var(--muted); max-width: 46ch; margin-bottom: 14px; }
.reels-note { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--muted); margin-bottom: 18px; text-align: center; }
.reel-row { display: flex; gap: 18px; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; }
.reel-row iframe { flex: none; width: 267px; height: 476px; border: 0; background: var(--drapery); scroll-snap-align: center; }

/* Countdown bar */
.countdown { display: flex; gap: 0; border: 1px solid rgba(255, 252, 247, 0.4); width: fit-content; }
.countdown[hidden] { display: none; }
.countdown div { display: grid; justify-items: center; padding: 12px 22px; min-width: 92px; }
.countdown div + div { border-left: 1px solid rgba(255, 252, 247, 0.4); }
.countdown b { font-family: var(--body); font-size: 2rem; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }

/* Collection slider */
.gifts { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 28vw, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 18px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.card { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--drapery); }
.card figcaption { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

/* Sales banner */
.banner { background: var(--fuchsia); color: var(--paper); }
.banner-inner { max-width: 900px; margin: 0 auto; text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter); display: grid; justify-items: center; gap: 16px; }
.banner .eyebrow { color: #ffe0ee; }
.banner h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.banner p:not(.eyebrow) { font-size: 1.15rem; max-width: 44ch; }
.banner .btns { justify-content: center; }
.banner .btn-light:hover { color: var(--paper); }

/* Grid */
.lookbook { padding-block: clamp(64px, 9vw, 112px); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 14px; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 3; }

/* Multi column */
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-block: 24px clamp(64px, 9vw, 112px); }
.columns div { border-top: 1px solid var(--charcoal); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.columns h3 { font-size: 1.9rem; }
.columns p { color: var(--muted); }

/* Visit */
.visit h2 { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; margin: 6px 0 8px; }
.facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); padding-top: 4px; }
.facts dd { margin: 0; font-size: 1.1rem; }

/* Sign-up */
.signup { background: var(--deep-teal); color: var(--linen); }
.signup-inner { padding-block: clamp(56px, 8vw, 96px); display: grid; justify-items: center; text-align: center; gap: 16px; }
.signup h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.signup p { color: #c9dcda; max-width: 50ch; }
.signup form { display: flex; gap: 10px; width: min(560px, 100%); margin-top: 10px; }
.signup input[type="email"] { flex: 1; min-width: 0; padding: 14px 16px; font: 1rem var(--body); border: 1px solid var(--linen); background: transparent; color: var(--paper); }
.signup input::placeholder { color: #a9c3c1; }
.signup .btn-dark { background: var(--paper); color: var(--charcoal); border-color: var(--paper); }
.signup .btn-dark:hover { background: var(--fuchsia); color: var(--paper); border-color: var(--fuchsia); }

/* Footer */
.footer { background: var(--charcoal); color: var(--drapery); text-align: center; padding: 56px var(--gutter) 40px; display: grid; justify-items: center; gap: 10px; font-size: 0.95rem; }
.footer img { width: 220px; height: auto; margin-bottom: 10px; }
.footer a { text-decoration: none; border-bottom: 1px solid rgba(224, 211, 193, 0.4); }
.social { display: flex; gap: 22px; margin-top: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.footer .small { font-size: 0.82rem; color: #a99d92; margin-top: 18px; }

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

@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; }
  .nav-left { display: none; }
  .brand img { width: 140px; }
  .nav-right { gap: 16px; }
  .hero-panels { grid-template-columns: 1fr 1fr; }
  .hero-panels img:nth-child(3) { display: none; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { aspect-ratio: 4 / 5; max-height: 640px; }
  .split-rev .split-media { order: 0; }
  .reels-head { grid-template-columns: 1fr; }
  .reel-row { justify-content: flex-start; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .g-tall { grid-row: auto; }
  .g-wide { order: 1; grid-column: span 2; }
  .columns { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-right a:first-child { display: none; }
  .hero-panels { grid-template-columns: 1fr; }
  .hero-panels img:nth-child(2) { display: none; }
  .grid { grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; }
  .signup form { flex-direction: column; }
  .countdown div { padding: 10px 14px; min-width: 76px; }
}

/* Shop by style: moving photo banners */
.styles { padding-block: clamp(64px, 9vw, 112px); overflow: hidden; }
.styles-head { text-align: center; justify-items: center; }
.styles-head p:not(.eyebrow) { color: var(--muted); }
.style-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.style-row + .style-row { margin-top: 16px; }
.style-track, .style-dup { display: flex; width: max-content; }
.style-track { animation: styles-left 70s linear infinite; }
.style-row.rev .style-track { animation-name: styles-right; animation-duration: 80s; }
.style-row:hover .style-track, .style-row:focus-within .style-track { animation-play-state: paused; }
@keyframes styles-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes styles-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.style-tile { position: relative; flex: none; width: clamp(190px, 21vw, 290px); aspect-ratio: 4 / 5; margin: 0 16px 0 0; overflow: hidden; background: var(--drapery); }
.style-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.style-tile:hover img { transform: scale(1.04); }
.style-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 18, 0) 55%, rgba(20, 16, 18, 0.55) 100%); pointer-events: none; }
.style-tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--paper); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.styles-cta { display: flex; justify-content: center; margin-top: 36px; }
@media (prefers-reduced-motion: reduce) {
  .style-track { animation: none; }
  .style-dup { display: none; }
  .style-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .style-tile { scroll-snap-align: start; }
}
