/* Our Venues — Figma "Frame 15626" (1313:678), 2001×1504. Absolute layout at
   EXACT Figma coordinates, scaled by --px inside a 2001-wide centred frame (the
   same model the nav uses). Every element reads its Figma x/y (and w/h/rotation)
   from inline CSS vars. Verified against Figma by two independent MCP passes. */
.venues3 {
  position: relative;
  height: calc(1499.3 * var(--px));   /* 1504 - 4.7 (section-spacing standard) */
  background: #204c8a;                 /* exact Figma section fill */
  overflow: hidden;
  color: #fff;
}
.venues3__frame {
  /* top shifted so the first text sits 65px from the section top (standard). */
  position: absolute; left: 50%; top: calc(-4.7 * var(--px)); transform: translateX(-50%);
  width: calc(2001 * var(--px)); height: 100%;
}
.venues3__frame > * {                  /* every child positioned by its Figma x/y */
  position: absolute;
  left: calc(var(--x) * var(--px));
  top:  calc(var(--y) * var(--px));
  margin: 0;
}

/* sized elements read w/h from vars */
.v3-sub, .v3-rule            { width: calc(var(--w) * var(--px)); }
.v3-book                     { width: calc(var(--w) * var(--px)); height: calc(var(--h) * var(--px)); box-sizing: border-box; }
.v3-ph                       { width: calc(var(--w) * var(--px)); height: calc(var(--h) * var(--px)); box-sizing: content-box; }
.v3-mic                      { height: calc(var(--h) * var(--px)); width: auto; z-index: 0; pointer-events: none; }
.v3-mic--l                   { transform: rotate(180deg); }

/* ---- text (Domaine Display Narrow → --font-display) ---- */
.v3-heading { font-family: var(--font-display); font-weight: 700; font-size: calc(32.128 * var(--px)); transform: translate(-50%, -50%); white-space: nowrap; }
.v3-sub     { font-family: var(--font-display); font-weight: 400; font-size: calc(24.306 * var(--px)); transform: translate(-50%, -50%); text-align: center; line-height: 1.25; }
.v3-title   { font-family: var(--font-display); font-weight: 700; font-size: calc(60 * var(--px)); transform: translate(-50%, -50%); white-space: nowrap; line-height: 1; }
.v3-since   { font-family: var(--font-display); font-weight: 700; font-size: calc(37.939 * var(--px)); transform: translate(-50%, -50%); white-space: nowrap; }
/* description: outer positions/centres on the Figma point; inner span keeps the
   exact <br> line breaks and is condensed (scaleX) so wide Playfair reads like
   the narrow Domaine and the lines don't overrun into the photos. */
.v3-desc        { transform: translateX(-50%); width: max-content; }
.v3-desc > span { display: inline-block; white-space: nowrap; text-align: center;
                  font-family: var(--font-display); font-weight: 400; font-size: calc(24.042 * var(--px));
                  line-height: 1.05; transform: scaleX(0.84); transform-origin: center top; }  /* Figma box is 144px / 6 lines ≈ 1.0 leading */
.v3-green { color: #7fefad; }
.v3-gold  { color: #ffc300; font-style: italic; }
.v3-i     { font-style: italic; }
.v3-rule  { height: 1px; background: rgba(255,255,255,.7); }

/* ---- links + buttons ---- */
.v3-link  { font-family: var(--font-display); font-weight: 700; font-size: calc(23.425 * var(--px)); color: #fff; text-decoration: underline; text-underline-offset: 3px; transform: translateY(-50%); white-space: nowrap; }
.v3-book  { display: flex; align-items: center; justify-content: center; background: #6f1145; border: calc(2 * var(--px)) solid #fff; font-family: var(--font-display); font-weight: 700; font-size: calc(23.425 * var(--px)); color: #fff; text-decoration: none; white-space: nowrap; }
.v3-book:hover { background: #851a54; }
.v3-nearby { font-family: var(--font-sans); font-weight: 700; font-size: calc(13.375 * var(--px)); transform: translate(-50%, -50%); white-space: nowrap; }
/* hugs its label. Padding gives the same VISUAL text→border gap on all four
   sides: the line-box already carries ~3.85px of empty space above/below the
   glyphs (measured), so 2px vertical + 5.85px horizontal reads as equal gaps.
   --x/--y are the box CENTRE (translate recentres), so the button stays put. */
.v3-find   { display: inline-flex; align-items: center; justify-content: center; padding: 2px 5.85px; transform: translate(-50%, -50%); border: calc(0.9 * var(--px)) solid rgba(255,255,255,.85); font-family: var(--font-sans); font-size: calc(13.375 * var(--px)); color: #fff; text-decoration: none; white-space: nowrap; }
.v3-find:hover { background: rgba(255,255,255,.12); }

/* ---- photos: white polaroid frame + photo, rotated (border adds OUTSIDE the
   Figma photo size, standing in for the white backing card) ---- */
.v3-ph {
  background-size: cover; background-position: center; background-color: #d9d3c7;
  border: calc(6 * var(--px)) solid #fff;
  border-bottom-width: calc(var(--bb) * var(--px));
  transform: rotate(var(--r, 0deg));
  border-radius: calc(3 * var(--px));
  box-shadow: 0 calc(5 * var(--px)) calc(14 * var(--px)) rgba(0,0,0,.4);
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE — Figma "Frame 15641" (1313:35), 421×1066 on #253b5b. A stacked
   layout at EXACT mobile coords, scaled by --mpx inside a 421-wide centred
   frame (same model as desktop). Desktop is untouched: .venues3-m is hidden
   above 600, and .venues3 is hidden below it. */
.venues3-m { display: none; }

@media (max-width: 600px) {
  .venues3 { display: none; }             /* hide the desktop frame */

  .venues3-m {
    display: block;
    position: relative;
    height: calc(1066 * var(--mpx));
    background: #253b5b;                   /* exact mobile Figma fill (menu navy) */
    overflow: hidden;
    color: #fff;
  }
  .venues3-m__frame {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    width: calc(421 * var(--mpx)); height: 100%;
  }
  .venues3-m__frame > * {                  /* every child positioned by its Figma x/y */
    position: absolute;
    left: calc(var(--x) * var(--mpx));
    top:  calc(var(--y) * var(--mpx));
    margin: 0;
  }

  /* sized elements read w/h from vars */
  .vm-sub, .vm-rule, .vm-desc, .vm-cap { width: calc(var(--w) * var(--mpx)); }
  .vm-book { width: calc(var(--w) * var(--mpx)); height: calc(var(--h) * var(--mpx)); box-sizing: border-box; }
  .vm-ph  { width: calc(var(--w) * var(--mpx)); height: calc(var(--h) * var(--mpx)); box-sizing: content-box; }
  .vm-mic { height: calc(var(--h) * var(--mpx)); width: auto; z-index: 0; pointer-events: none; transform: rotate(180deg); }

  /* text (Domaine Display Narrow → --font-display) */
  .vm-heading { font-family: var(--font-display); font-weight: 700; font-size: calc(32.128 * var(--mpx)); transform: translate(-50%, -50%); white-space: nowrap; }
  .vm-sub     { font-family: var(--font-display); font-weight: 400; font-size: calc(13.361 * var(--mpx)); line-height: calc(16 * var(--mpx)); letter-spacing: calc(0.4 * var(--mpx)); transform: translateX(-50%); text-align: center; }
  .vm-title   { font-family: var(--font-display); font-weight: 700; font-size: calc(31.128 * var(--mpx)); transform: translate(-50%, -50%); white-space: nowrap; line-height: 1; }
  .vm-since   { font-family: var(--font-display); font-weight: 700; font-size: calc(19.683 * var(--mpx)); transform: translate(-50%, -50%); white-space: nowrap; text-align: center; }

  /* description (Be Vietnam Pro → --font-sans), wraps naturally in its box */
  .vm-desc { font-family: var(--font-sans); font-weight: 400; font-size: calc(10.601 * var(--mpx)); line-height: 1.4; letter-spacing: calc(0.3 * var(--mpx)); text-align: left; }

  /* links + buttons */
  .vm-link   { font-family: var(--font-display); font-weight: 700; font-size: calc(10.286 * var(--mpx)); color: #fff; text-decoration: underline; text-underline-offset: 2px; transform: translateY(-50%); white-space: nowrap; }
  .vm-book   { display: flex; align-items: center; justify-content: center; background: #6f1145; border: calc(1.115 * var(--mpx)) solid #fff; font-family: var(--font-display); font-weight: 700; font-size: calc(13.057 * var(--mpx)); color: #fff; text-decoration: none; white-space: nowrap; }
  .vm-book:hover { background: #851a54; }
  .vm-nearby { font-family: var(--font-display); font-weight: 700; font-size: calc(10.324 * var(--mpx)); transform: translate(-50%, -50%); white-space: nowrap; }
  /* hugs its label with the same VISUAL text→border gap on all four sides: the
     line-box carries ~3.6px of empty space above/below the glyphs (measured),
     so 2px vertical + 5.61px horizontal reads as equal gaps. --x/--y = box
     centre (same fix as desktop .v3-find). */
  .vm-find   { display: inline-flex; align-items: center; justify-content: center; padding: 2px 5.61px; transform: translate(-50%, -50%); border: calc(0.441 * var(--mpx)) solid rgba(255,255,255,.85); font-family: var(--font-display); font-weight: 700; font-size: calc(12.5 * var(--mpx)); color: #fff; text-decoration: none; white-space: nowrap; }
  .vm-find:hover { background: rgba(255,255,255,.12); }

  /* photo captions (Be Vietnam Pro ExtraLight, tiny) */
  .vm-cap { font-family: var(--font-sans); font-weight: 200; font-size: calc(5 * var(--mpx)); line-height: 1.2; letter-spacing: calc(0.15 * var(--mpx)); text-align: center; transform: translateX(-50%); z-index: 4; }

  .vm-rule { height: 1px; background: rgba(255,255,255,.7); }

  /* photos: white polaroid frame + photo, rotated (border adds OUTSIDE the
     Figma photo size, standing in for the white backing card) */
  .vm-ph {
    background-size: cover; background-position: center; background-color: #d9d3c7;
    border: calc(2.5 * var(--mpx)) solid #fff;
    border-bottom-width: calc(var(--bb) * var(--mpx));
    transform: rotate(var(--r, 0deg));
    border-radius: calc(2 * var(--mpx));
    box-shadow: 0 calc(2 * var(--mpx)) calc(6 * var(--mpx)) rgba(0,0,0,.35);
  }
}
