/* ==========================================================================
   Gildreel | styles.css
   Cinematic, high-end. Black / ivory / champagne gold.
   ========================================================================== */

:root {
  --black: #0A0A0A;
  --near-black: #141414;
  --ivory: #F5F1E8;
  --ivory-80: rgba(245, 241, 232, 0.8);
  --ivory-50: rgba(245, 241, 232, 0.5);
  --ivory-20: rgba(245, 241, 232, 0.2);
  --gold: #C9A961;
  --gold-40: rgba(201, 169, 97, 0.4);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--black);
  padding: 12px 24px; font-weight: 600; font-size: 0.875rem;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--ivory);
}
.h-hero { font-size: clamp(3rem, 10vw, 9rem); }
.h-xl   { font-size: clamp(2.5rem, 7vw, 6rem); }
.h-lg   { font-size: clamp(2rem, 5vw, 4rem); }
.h-md   { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}
p { color: var(--ivory-80); max-width: 60ch; }
.lede { font-size: 1.125rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
section { position: relative; }
.section { padding: clamp(5rem, 12vw, 10rem) 0; }
.section--tight { padding: clamp(3rem, 8vw, 6rem) 0; }
.alt-bg { background: var(--near-black); }
.rule { border: 0; border-top: 1px solid var(--gold); opacity: 0.5; }
.rule--full { width: 100%; }

/* Grain overlay for dark sections */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 2; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.85rem 2.25rem;
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 2px;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.btn--gold { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; color: var(--ivory); border: 1px solid var(--ivory-20); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.link-sweep {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}
.link-sweep::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.link-sweep:hover::after, .link-sweep:focus-visible::after { transform: scaleX(1); }

.text-link {
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.site-nav.scrolled, .site-nav.solid {
  background: var(--black);
  border-bottom: 1px solid var(--gold-40);
}
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
  line-height: 1;
  display: inline-flex; align-items: center; min-height: 44px;
}
.brand span { color: var(--gold); }
.nav-links { display: none; align-items: center; gap: 2.25rem; }
.nav-links a {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ivory-80);
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 44px; height: 44px;
  z-index: 120;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--ivory);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; /* under the nav bar so the close (X) button stays tappable */
  background: var(--black);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) 24px 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  text-transform: uppercase; line-height: 1.1;
  color: var(--ivory);
  padding: 0.25rem 0;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--gold); }
.mobile-menu .menu-contact {
  margin-top: 3rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.875rem; color: var(--ivory-50);
}
.mobile-menu .menu-contact a { font-family: var(--font-body); font-size: 0.875rem; color: var(--ivory-80); padding: 6px 0; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; min-height: 40px; padding: 0.6rem 1.5rem; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 40%, rgba(10,10,10,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 20px clamp(6rem, 14vh, 9rem);
}
.hero-content .lede { margin: 1.5rem 0 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; z-index: 2;
  transform: translateX(-50%);
  width: 1px; height: 56px;
  background: var(--ivory-20);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* ---------- Booth showcase panels ---------- */
.panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--gold-40);
}
.panel-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--near-black);
}
.panel-media img, .panel-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.panel:hover .panel-media img, .panel:hover .panel-media video { transform: scale(1.03); }
.panel-copy { padding: clamp(2.5rem, 6vw, 6rem) 20px; }
.panel-copy .num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 1rem;
}
.panel-copy h2, .panel-copy h3 { margin-bottom: 1.25rem; }
.panel-copy p { margin-bottom: 2rem; }

@media (min-width: 900px) {
  .panel { grid-template-columns: 1fr 1fr; min-height: 80vh; }
  .panel-media { aspect-ratio: auto; height: 100%; min-height: 80vh; }
  .panel-copy { padding: clamp(3rem, 6vw, 7rem); }
  .panel--flip .panel-media { order: 2; }
  .panel--flip .panel-copy { order: 1; }
}

/* ---------- Gallery strip (home) ---------- */
.strip-section { overflow: hidden; }
.strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip figure {
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
}
/* Each photo keeps its own shape and shows near its real size, so it stays sharp */
.strip img {
  width: auto; height: clamp(240px, 26vw, 340px);
  transition: transform 0.8s var(--ease-out);
}
.strip figure:hover img { transform: scale(1.03); }

/* ---------- Value points ---------- */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.values article { border-top: 1px solid var(--gold-40); padding-top: 1.5rem; }
.values h3 { font-size: 1.125rem; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.values p { font-size: 0.9375rem; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Occasions list ---------- */
.occasions li { border-top: 1px solid var(--ivory-20); }
.occasions li:last-child { border-bottom: 1px solid var(--ivory-20); }
.occasions a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  text-transform: uppercase;
  padding: 1.25rem 0;
  color: var(--ivory-80);
  transition: color 0.3s var(--ease-out), padding-left 0.4s var(--ease-out);
}
.occasions a small {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ivory-50);
  white-space: nowrap;
}
.occasions a:hover, .occasions a:focus-visible {
  color: var(--gold);
  padding-left: 1.25rem;
}

/* ---------- Closing CTA ---------- */
.cta-final { text-align: left; }
.cta-final h2 { margin-bottom: 2rem; }
.cta-contact-lines {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 3rem;
  font-size: 0.9375rem; color: var(--ivory-80);
}
.cta-contact-lines a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--gold-40);
  background: var(--black);
  padding: 4rem 0 2.5rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-grid h3 {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { color: var(--ivory-80); display: inline-flex; min-height: 32px; align-items: center; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: var(--ivory-50); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--ivory-20);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  color: var(--ivory-50); font-size: 0.8125rem;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(4rem, 10vw, 8rem)) 0 clamp(3rem, 6vw, 5rem);
}
.page-hero p { margin-top: 1.5rem; }

/* ---------- Booths page ---------- */
.booth-detail { border-top: 1px solid var(--gold-40); }
.booth-detail .panel { border-top: 0; }
.specs {
  margin: 2rem 0;
  border-top: 1px solid var(--ivory-20);
}
.specs div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--ivory-20);
  font-size: 0.9375rem;
}
.specs dt { color: var(--ivory-50); font-weight: 500; white-space: nowrap; }
.specs dd { color: var(--ivory); text-align: right; }

/* ---------- Gallery page ---------- */
.masonry { columns: 1; column-gap: 12px; margin-top: 1rem; }
.masonry .tile {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 0; padding: 0; width: 100%;
  background: var(--near-black);
  display: block;
}
.masonry .tile img, .masonry .tile video {
  width: 100%;
  transition: transform 0.8s var(--ease-out);
}
.masonry .tile:hover img, .masonry .tile:hover video { transform: scale(1.03); }
.masonry .tile.hidden { display: none; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 900px) { .masonry { columns: 3; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(10, 10, 10, 0.96);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox figure {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.lightbox img, .lightbox video {
  max-width: 100%; max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox figcaption { font-size: 0.8125rem; color: var(--ivory-50); }
.lightbox-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory);
  font-size: 1.75rem; line-height: 1;
  border: 1px solid var(--ivory-20);
  border-radius: 2px;
  background: rgba(10,10,10,0.6);
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 6rem; } }

.quote-form { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
  .quote-form { grid-template-columns: 1fr 1fr; }
  .quote-form .full { grid-column: 1 / -1; }
}
.field label, .field > .label {
  display: block;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ivory-50);
  margin-bottom: 0.5rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  background: var(--near-black);
  border: 1px solid var(--ivory-20);
  border-radius: 2px;
  color: var(--ivory);
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A961' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field input[type="date"] { color-scheme: dark; }
.checks { display: flex; flex-direction: column; gap: 0.25rem; }
.checks label {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: 44px;
  font-size: 0.9375rem;
  letter-spacing: normal; text-transform: none;
  color: var(--ivory-80);
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}
.checks input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}
.form-actions { margin-top: 0.5rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-aside h2 { margin-bottom: 1.5rem; }
.contact-aside .contact-list { display: flex; flex-direction: column; gap: 0.25rem; margin: 1.5rem 0 2.5rem; }
.contact-aside .contact-list a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ivory-80); font-size: 1.0625rem;
}
.contact-aside .contact-list a:hover { color: var(--gold); }
.contact-aside .small-note { font-size: 0.875rem; color: var(--ivory-50); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--ivory-20); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--ivory-20); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ivory);
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.75rem;
  color: var(--gold);
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--gold); }
.faq-list .faq-body { padding: 0 0 1.75rem; }
.faq-list .faq-body p { font-size: 0.9375rem; }
.faq-list .faq-body p + p { margin-top: 0.75rem; }

/* ---------- Utility pages (success / 404) ---------- */
.utility-page {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
}
.utility-page p { margin: 1.5rem 0 2.5rem; }

/* ---------- Reveal on scroll ----------
   Fail-safe: hidden initial states apply ONLY when html.js-anim is set
   (added as the first statement of main.js). If the script is stale,
   blocked, or errors, all content simply renders visible. */
.reveal {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-anim .reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Motion layer — premium animations
   ========================================================================== */

/* ---------- Scroll progress hairline ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 130;
  height: 2px; width: 0;
  background: var(--gold);
  pointer-events: none;
}

/* ---------- Hero headline mask reveal ---------- */
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: line-rise 0.9s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero .lede, .hero .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-rise 0.8s var(--ease-out) forwards;
}
.hero .lede { animation-delay: 0.45s; }
.hero .hero-actions { animation-delay: 0.6s; }
@keyframes line-rise { to { transform: translateY(0); } }
@keyframes fade-rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Marquee band ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--gold-40);
  border-bottom: 1px solid var(--gold-40);
  padding: 1.25rem 0;
  background: var(--black);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.7;
}
.marquee-track span.fill { color: var(--ivory); -webkit-text-stroke: 0; opacity: 1; }
@supports not (-webkit-text-stroke: 1px black) {
  .marquee-track span { color: var(--gold-40); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Media wipe reveal (fail-safe: only hides under .js-anim) ---------- */
.media-reveal {
  transition: clip-path 1.1s var(--ease-out);
}
.js-anim .media-reveal { clip-path: inset(0 100% 0 0); }
.js-anim .panel--flip .media-reveal { clip-path: inset(0 0 0 100%); }
.js-anim .media-reveal.visible { clip-path: inset(0 0 0 0); }

/* ---------- Section video textures ---------- */
.video-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}
.video-bg video, .video-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.video-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.75), rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.8));
}
.has-video-bg { position: relative; }
.has-video-bg > .wrap, .has-video-bg > .video-bg + * { position: relative; z-index: 2; }
.page-hero .video-bg video, .page-hero .video-bg img { opacity: 0.35; }

/* ---------- Occasions arrow ---------- */
.occasions a::after {
  content: "\2192";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.6em;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.occasions a:hover::after, .occasions a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Magnetic CTA ---------- */
.btn--gold { will-change: transform; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.25s var(--ease-out); }

/* ---------- Reduced motion ---------- */
@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;
  }
  .reveal, .js-anim .reveal { opacity: 1; transform: none; }
  .hero-media { transform: none !important; inset: 0; }
  .scroll-cue::after { animation: none; }
  .hero h1 .line > span { animation: none; transform: none; }
  .hero .lede, .hero .hero-actions { animation: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .media-reveal, .js-anim .media-reveal, .js-anim .panel--flip .media-reveal { clip-path: none; }
  .scroll-progress { display: none; }
}

/* ---------- Still backgrounds with slow drift ----------
   Sharp 4K images in place of the old 720p background videos. */
@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.drift { animation: drift 30s ease-in-out infinite alternate; will-change: transform; }
