/* ==========================================================================
   VENUE & DRESS CODE — the cinematic spread
   Dark, photographic, full-bleed. The one place on the site that goes loud.
   ========================================================================== */

.venue {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-block: clamp(4rem, 2.5rem + 7vw, 8rem);
  color: #F2EEE6;
  overflow: hidden;
  --v-gold: #C9B78D;
  --v-ink: rgba(242, 238, 230, 0.72);
}

/* ------------------------------------------------- Background stack */
.venue.section--tight-bottom { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.venue.section--tight-top    { padding-top: clamp(2.5rem, 5vw, 4rem); }

.venue__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #1B211C; /* shows through if the photo is missing */
}

/* Outer layer takes the scroll parallax, inner layer takes the Ken Burns,
   so the two transforms never fight over the same element. */
.venue__parallax {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}

.venue__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 55%;
  animation: kenburns 34s var(--ease-glide) infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}

/* Colour grade: lifts the greens, cools the shadows, keeps type readable */
.venue__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,26,21,0.88) 0%, rgba(20,26,21,0.42) 26%,
                            rgba(20,26,21,0.46) 62%, rgba(20,26,21,0.92) 100%),
    linear-gradient(96deg, rgba(111,126,75,0.30), rgba(79,111,143,0.28));
  mix-blend-mode: multiply;
}
.venue__grade + .venue__lift {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 50% 34%, rgba(201,183,141,0.22), transparent 70%);
  mix-blend-mode: screen;
}

/* Depth of field — sharp centre, soft edges */
.venue__dof {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(58% 46% at 50% 46%, transparent 35%, #000 100%);
          mask-image: radial-gradient(58% 46% at 50% 46%, transparent 35%, #000 100%);
}

/* Sunlight rays */
.venue__rays {
  position: absolute;
  inset: -25% -15%;
  background:
    linear-gradient(104deg, transparent 40%, rgba(255,246,224,0.30) 46%, transparent 52%),
    linear-gradient(99deg,  transparent 58%, rgba(255,246,224,0.18) 63%, transparent 68%),
    linear-gradient(109deg, transparent 72%, rgba(255,246,224,0.12) 76%, transparent 80%);
  filter: blur(24px);
  mix-blend-mode: screen;
  animation: vrays 30s ease-in-out infinite alternate;
}
@keyframes vrays {
  from { transform: translate3d(-3%, -1%, 0) scaleY(1);    opacity: 0.55; }
  to   { transform: translate3d(3%, 2%, 0) scaleY(1.12);   opacity: 0.95; }
}

/* Slow fog banks */
.venue__fog {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(46% 30% at 22% 68%, rgba(255,255,255,0.16), transparent 65%),
    radial-gradient(52% 26% at 78% 40%, rgba(255,255,255,0.11), transparent 68%),
    radial-gradient(40% 22% at 52% 88%, rgba(255,255,255,0.13), transparent 66%);
  filter: blur(14px);
  animation: vfog 46s ease-in-out infinite alternate;
}
@keyframes vfog {
  from { transform: translate3d(-4%, 0, 0); opacity: 0.7; }
  to   { transform: translate3d(4%, -3%, 0); opacity: 1; }
}

/* Bokeh — pure CSS, no image, no canvas cost */
.venue__bokeh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,244,214,0.55) 0%, rgba(255,244,214,0) 62%),
    radial-gradient(circle, rgba(201,183,141,0.45) 0%, rgba(201,183,141,0) 62%),
    radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(circle, rgba(168,184,165,0.45) 0%, rgba(168,184,165,0) 62%),
    radial-gradient(circle, rgba(255,244,214,0.40) 0%, rgba(255,244,214,0) 62%);
  background-size: 190px 190px, 130px 130px, 96px 96px, 156px 156px, 112px 112px;
  background-position: 8% 22%, 74% 14%, 30% 76%, 88% 62%, 54% 40%;
  background-repeat: no-repeat;
  filter: blur(3px);
  animation: vbokeh 26s ease-in-out infinite alternate;
}
@keyframes vbokeh {
  from { transform: translate3d(0, 0, 0);      opacity: 0.55; }
  to   { transform: translate3d(2.5%, -4%, 0); opacity: 0.95; }
}

/* Lens flare — anchored off the light source, drifts on scroll */
.venue__flare {
  position: absolute;
  top: 12%; right: 14%;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255,250,235,0.55) 0%, rgba(255,236,196,0.18) 26%, transparent 62%);
  mix-blend-mode: screen;
  filter: blur(8px);
  will-change: transform;
  animation: vflare 18s ease-in-out infinite alternate;
}
@keyframes vflare {
  from { opacity: 0.5;  scale: 0.94; }
  to   { opacity: 0.95; scale: 1.06; }
}

/* Section-scoped particle canvas: dust + leaves, above the photo, below the cards */
.venue__particles { position: absolute; inset: 0; }

/* Cursor glow (desktop only, attached by JS) */
.venue__cursor {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(255,246,224,0.16), transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s var(--ease-silk);
  will-change: transform;
}
.venue__cursor.is-on { opacity: 1; }

/* ------------------------------------------------- Head */
.venue__head { text-align: center; margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.venue__head .eyebrow { color: var(--v-gold); }
.venue__head h2 { color: #F7F3EB; }
.venue__head h2 em { color: var(--v-gold); }

/* ------------------------------------------------- Spread */
/* Two attire panels, side by side, sharing one vanishing point */
.venue__spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 0.8rem + 2.5vw, 3rem);
  align-items: start;
  max-width: 60rem;
  margin-inline: auto;
  perspective: 1500px;
}

/* Shared glass treatment for everything in this section */
.pane {
  position: relative;
  border-radius: var(--r-lg);
  background:
    linear-gradient(150deg, rgba(255,255,255,0.13), rgba(255,255,255,0.05));
  border: 1px solid rgba(201,183,141,0.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 40px 90px -50px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.22);
  overflow: hidden;
  isolation: isolate;
}

/* Translucent paper texture */
.pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(rgba(255,255,255,0.10) 0.5px, transparent 0.6px),
    radial-gradient(rgba(0,0,0,0.08) 0.5px, transparent 0.6px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 2px 3px;
}

/* Reflection sweep */
.pane::after {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-14deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease-silk), left 1.2s var(--ease-silk);
}
.pane:hover::after { opacity: 1; left: 115%; }

/* ------------------------------------------------- Buttons in this section */
.btn--lume {
  --btn-ink: #F7F3EB;
  border-color: rgba(201,183,141,0.55);
  background: rgba(255,255,255,0.06);
  will-change: transform;
}
.btn--lume::after { background: var(--v-gold); }
.btn--lume:hover, .btn--lume:focus-visible {
  color: #1F2A20;
  border-color: var(--v-gold);
  box-shadow: 0 0 34px -6px rgba(201,183,141,0.75);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.45);
  pointer-events: none;
  animation: ripple 0.75s var(--ease-glide) forwards;
}
@keyframes ripple {
  to { transform: scale(2.6); opacity: 0; }
}

/* ------------------------------------------------- Attire column */
.arch {
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.4rem);
  border-radius: 260px 260px var(--r-lg) var(--r-lg);
  text-align: center;
  transform-style: preserve-3d;
  animation: hover-float 9s ease-in-out infinite;
  transition: box-shadow 0.7s var(--ease-lift);
}
.arch:nth-child(2) { animation-delay: -4.5s; }
@keyframes hover-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.arch:hover {
  box-shadow:
    0 50px 100px -50px rgba(0,0,0,0.95),
    0 0 55px -12px rgba(201,183,141,0.55),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.arch__frame {
  position: relative;
  margin: 0;
  border-radius: 240px 240px calc(var(--r-lg) - 8px) calc(var(--r-lg) - 8px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, #2A322A, #223040);
  transform: translateZ(36px);
  box-shadow: inset 0 0 0 1px rgba(201,183,141,0.35);
}
.arch__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.02);
  transition: transform 0.8s var(--ease-silk);
}
.arch:hover .arch__frame img { transform: translate3d(0, var(--py, 0px), 0) scale(1.13); }

/* fabric shimmer travelling across the attire */
.arch__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 36%, rgba(255,255,255,0.42) 50%, transparent 64%);
  background-size: 260% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-silk);
}
.arch:hover .arch__frame::after {
  opacity: 1;
  animation: shimmer 1.7s var(--ease-glide);
}

.arch__body { padding: 1.6rem 1rem 0.8rem; transform: translateZ(20px); }
.arch__title {
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem);
  color: #F7F3EB;
  margin-bottom: 0.7rem;
}
.arch__note {
  color: var(--v-ink);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 26rem;
  margin-inline: auto;
}

/* ------------------------------------------------- Palette */
.palette {
  max-width: 60rem;
  margin: clamp(1.2rem, 0.8rem + 2.5vw, 3rem) auto 0;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.2rem) clamp(1rem, 0.6rem + 2vw, 2.4rem);
  text-align: center;
}
.palette__title {
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--v-gold);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.tones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.2rem, 0.8rem + 2.4vw, 3.2rem);
}
.tone { width: clamp(64px, 7vw + 40px, 112px); margin: 0; }
/* Flat colour. No inset shading, no ring, no lift — the swatch is the
   colour itself, nothing more. */
.tone__dot {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tone);
  transition: opacity 0.5s var(--ease-silk);
}
.tone:hover .tone__dot { opacity: 0.82; }

.tone__name {
  display: block;
  margin-top: 1.2rem;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: var(--track-mid);
  color: var(--v-ink);
}

/* ------------------------------------------------- Notice */
.notice {
  margin: clamp(3rem, 2rem + 4vw, 5.5rem) auto 0;
  max-width: 40rem;
  padding: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem) clamp(1.6rem, 1.2rem + 2vw, 3.2rem);
  text-align: center;
  background: linear-gradient(160deg, rgba(247,243,235,0.94), rgba(237,231,220,0.88));
  border: 1px solid rgba(201,183,141,0.6);
  color: var(--charcoal);
  animation: hover-float 11s ease-in-out infinite;
}
.notice::after { display: none; } /* no sweep on the paper card */
.notice__divider { color: var(--olive); width: min(58%, 220px); margin: 0 auto 1.8rem; }
.notice__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.notice__lead em { font-style: italic; color: var(--olive); }
.notice__text { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
/* "white, black, red" is the actual instruction on this card, so it has to
   clear AA against the paper. Plain --neptune only reaches 3.4:1 here. */
.notice__text strong { font-weight: 600; color: #415B75; }

/* ------------------------------------------------- Responsive */
/* ---- Mobile cost control ----
   Not a different design: the same layers, priced differently.

   backdrop-filter re-samples everything behind it on every frame it is
   composited, and the Ken Burns photograph behind these panes never stops
   moving — so five filtered layers here were being recomputed continuously.
   That is the bulk of the cost, and a slightly heavier translucent fill reads
   almost the same at phone size.

   The other half is blur that gets re-run. A blurred layer that only
   translates composites a cached raster and is nearly free; one that scales
   has to be blurred again every frame. So the scale animations come off the
   blurred layers and the translate ones stay. */
@media (max-width: 900px) {
  /* Every pane drops the filter... */
  .pane {
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }

  /* ...but only the dark ones get the replacement tint. The notice card is
     paper with charcoal type on it; tinting that one dark left dark text on a
     dark ground. */
  .pane:not(.notice) {
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06)),
      linear-gradient(150deg, rgba(22, 28, 24, 0.42), rgba(20, 28, 38, 0.34));
  }

  /* A backdrop-filter behind a radial mask is the single most expensive thing
     on the page, and at this size the depth-of-field barely reads. */
  .venue__dof { display: none; }

  /* Blurred and scaling: the two that had to be re-blurred every frame. */
  .venue__rays  { animation: none; opacity: 0.75; }
  .venue__flare { animation: none; opacity: 0.7; }

  /* Blurred but only translating — cached, so these keep moving. */
  /* .venue__fog and .venue__bokeh are untouched. */

  .venue__spread { grid-template-columns: 1fr; max-width: 26rem; }
}

@media (max-width: 640px) {
  .venue__flare { width: 78vw; }
  .venue { padding-block: clamp(3.5rem, 2.5rem + 6vw, 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .venue__photo,
  .venue__rays,
  .venue__fog,
  .venue__bokeh,
  .venue__flare,
  .arch,
  .notice { animation: none; }
  .venue__parallax { transform: none !important; }
  .venue__cursor { display: none; }
}