/*
 * /private/ (private hire). Source: design/…/Private.dc.html.
 * The offers grid and the gold enquiry band are shared components
 * (components.css); this adds the page-specific parts.
 * Values come from the theme's tokens.css.
 */

/* ---- Hero --------------------------------------------------------- */

.rv-private-hero {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.rv-private-hero__lead {
  max-width: 520px;
  margin: 32px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  font-weight: var(--fw-light);
  line-height: 1.8;
}

/* ---- Offers ------------------------------------------------------- */

.rv-hire--offers .rv-hire__tile {
  padding: 40px 32px;
}

.rv-hire__num {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
}

.rv-hire--offers .rv-hire__title {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.2vw, 26px);
}

.rv-hire--offers .rv-hire__text {
  font-size: var(--fs-body);
}

@media (min-width: 900px) {

  .rv-hire--offers {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Photo strip (empty frames until the owner's photos) ---------- */

/* Phones: a swipe rail like the homepage calendar, one frame ~80% wide
   with the next peeking, so three frames do not stack into a long gap.
   The strip is itself a full-width section, so its gutter padding lets
   frames scroll to the screen edge while resting on the gutter. */
.rv-private-photos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80%, 320px);
  gap: 16px;
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rv-private-photos::-webkit-scrollbar {
  display: none;
}

.rv-private-photos__frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: radial-gradient(ellipse at 50% 35%, var(--bg-glow), var(--bg-deep) 75%);
  scroll-snap-align: start;
}

.rv-private-photos__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 700px) {

  .rv-private-photos {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
  }
}

/* ---- Occasion buttons (a radio group) ----------------------------- */

.rv-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
}

.rv-occasion {
  position: relative;
  cursor: pointer;
}

.rv-occasion__input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.rv-occasion__label {
  display: block;
  padding: 12px 18px;
  border: 1px solid var(--on-gold);
  color: var(--on-gold);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.rv-occasion__input:checked + .rv-occasion__label {
  background: var(--on-gold);
  color: var(--gold);
}

.rv-occasion__input:focus-visible + .rv-occasion__label {
  outline: 2px solid var(--on-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .rv-occasion__label {
    transition: none;
  }
}
