/* =========================================================
   REVENUE MANAGEMENT PAGE SECTIONS
   Everything below the hero banner, told as a hotel's working
   front of house: a letter rises out of its envelope, a brass
   till rolls the numbers in, a revolving door carries the OTA
   services round, a desk bell rings for "Call us", and the OTA
   logos stamp onto a steamer trunk as travel labels. Motion is
   on these objects; the words stay fully legible. No black.
   Buttons, word reveals, video and FAQ are shared with the
   About page (css/about-sections.css).
   Behaviour lives in js/revenue-sections.js.
   ========================================================= */

.rv-title,
.rv-letter,
.rv-till,
.rv-spin,
.rv-call,
.rv-road {
  --ab-ink: #3d1030;
  --ab-ink-72: rgba(61, 16, 48, .72);
  --ab-ink-12: rgba(61, 16, 48, .12);
  --ab-pink: #c73689;
  --ab-pink-deep: #a32570;
  --ab-pink-wash: rgba(199, 54, 137, .18);
  --ab-brass: #c8b18c;
  --ab-white-20: rgba(255, 255, 255, .2);
  --ab-ease: cubic-bezier(.19, 1, .22, 1);
  --ab-space: clamp(56px, 6vw, 96px);
  --ab-radius: clamp(18px, 2vw, 28px);
  --rv-brass-metal: linear-gradient(135deg, #efe3cd 0%, #c8b18c 45%, #ae9468 100%);
}

/* the small count under the revolving door */
.rv-count {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(12px, 3vh, 26px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--hm-heading-font);
  font-size: 21px;
  font-style: italic;
  font-variant-numeric: lining-nums;
  color: var(--ab-ink);
  transform: translateX(-50%);
}

.rv-count__rail {
  position: relative;
  display: block;
  width: clamp(110px, 22vw, 260px);
  height: 1px;
  background: rgba(61, 16, 48, .22);
}

.rv-count__rail i {
  position: absolute;
  inset: 0;
  background: var(--ab-pink);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

/* ---------- the title ---------- */
.rv-title {
  padding: clamp(40px, 5vw, 80px) 0 clamp(30px, 3.6vw, 50px);
  background: #fff;
}

.rv-title .rv-title__name {
  flex: 1 1 620px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--ab-ink);
}

/* ---------- the letter: it rises out of its envelope as the page scrolls ----------
   The envelope sticks to the bottom of the screen while the letter behind it scrolls up,
   so no script is needed for the rise; js/revenue-sections.js only lifts the flap. Without
   the script (.is-live) there is no envelope, and it is simply a letter on the page. */
.rv-letter {
  --pocket: clamp(150px, 26vh, 240px);
  padding-top: clamp(50px, 6vw, 90px);
  overflow: clip;
  background:
    radial-gradient(70% 50% at 50% 34%, #fbdcec 0%, rgba(251, 220, 236, 0) 72%),
    linear-gradient(#fff, #fdeef6);
}

.rv-letter__desk {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.rv-note {
  position: relative;
  z-index: 1;
  width: calc(100% - clamp(20px, 5vw, 70px));
  margin: 0 auto;
  padding: clamp(26px, 4.6vw, 66px) clamp(22px, 4.6vw, 66px) clamp(40px, 5vw, 70px);
  border-radius: 6px;
  background: #fffdfa;
  box-shadow: 0 0 0 1px rgba(200, 177, 140, .4), 0 40px 70px -40px rgba(94, 22, 67, .55);
}

/* a second brass rule inside the edge of the paper, as on hotel stationery */
.rv-note::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(200, 177, 140, .45);
  border-radius: 3px;
  pointer-events: none;
}

.rv-letter.is-live .rv-note { padding-bottom: calc(var(--pocket) + 36px); }

.rv-note__crest {
  display: block;
  width: auto;
  height: clamp(52px, 6vw, 72px);
  margin-bottom: clamp(20px, 2.6vw, 34px);
}

/* the reel, as a small photograph clipped to the letter */
.rv-snap {
  position: relative;
  float: right;
  width: clamp(120px, 24%, 200px);
  margin: -8px -6px 18px clamp(16px, 2.4vw, 30px);
  padding: 8px 8px 22px;
  background: #fff;
  box-shadow: 0 16px 26px -16px rgba(94, 22, 67, .6), 0 0 0 1px rgba(61, 16, 48, .06);
  transform: rotate(3deg);
  transition: transform .8s var(--ab-ease);
}

.rv-snap:hover { transform: rotate(0deg) scale(1.03); }

.rv-snap__photo {
  display: block;
  width: 100%;
  height: auto;
}

.rv-snap__clip {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: -26px;
}

.rv-snap__play {
  position: absolute;
  left: 50%;
  top: 44%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding-left: 2px;
  border-radius: 50%;
  color: var(--ab-pink);
  background: #fff;
  box-shadow: 0 6px 16px -6px rgba(94, 22, 67, .7);
}

.rv-note .rv-note__title {
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ab-ink);
}

.rv-note p {
  position: relative;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ab-ink-72);
}

.rv-note p.rv-note__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--ab-ink);
}

.rv-note b {
  font-weight: 700;
  color: var(--ab-ink);
  background: linear-gradient(transparent 64%, var(--ab-pink-wash) 0);
}

.rv-note p.rv-note__pull {
  clear: both;
  margin: 28px 0 26px;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--ab-pink);
  font-family: var(--hm-heading-font);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.26;
  color: var(--ab-ink);
}

/* the envelope's front, which stays at the foot of the screen */
.rv-pocket { display: none; }

.rv-letter.is-live .rv-pocket {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: block;
  height: var(--pocket);
  margin-top: calc(var(--pocket) * -1);
  perspective: 1400px;
  border-radius: 6px 6px 0 0;
  background:
    linear-gradient(to top right, #b52d7c 49.8%, rgba(181, 45, 124, 0) 50%) left bottom / 50.2% 100% no-repeat,
    linear-gradient(to top left, #a82872 49.8%, rgba(168, 40, 114, 0) 50%) right bottom / 50.2% 100% no-repeat,
    linear-gradient(#c73689, #bb3080);
  box-shadow: inset 0 2px 0 var(--ab-brass), 0 -20px 40px -26px rgba(94, 22, 67, .7);
}

/* the flap lifts with the scroll (--flap goes from 0 to 1), then fades so the words stay clear */
.rv-pocket__flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72%;
  background: linear-gradient(#d24a98, #a82872);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: calc((1 - var(--flap, 0)) * 4);
  transform: rotateX(calc(var(--flap, 0) * 170deg));
  transform-origin: 50% 0;
}

/* the wax seal, which goes first */
.rv-pocket__seal {
  position: absolute;
  left: 50%;
  top: 72%;
  width: clamp(48px, 6vw, 68px);
  height: clamp(48px, 6vw, 68px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .35) 54%, rgba(255, 255, 255, 0) 60%),
    var(--rv-brass-metal);
  box-shadow: 0 8px 16px -6px rgba(94, 22, 67, .7);
  opacity: calc(1 - var(--flap, 0) * 4);
  transform: translate(-50%, -50%) scale(calc(1 + var(--flap, 0) * .5));
}

.rv-pocket__seal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 34%;
  background: #a0875d;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- the till: rolling number wheels in a brass frame ---------- */
.rv-till {
  padding: var(--ab-space) 0;
  background: linear-gradient(160deg, #8a2060 0%, #6a1a4b 62%, #5e1643 100%);
}

.rv-till__body {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--ab-brass), 0 0 0 6px rgba(200, 177, 140, .13);
}

/* a sheen across the brass once the wheels have landed */
.rv-till__body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .14) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-110%);
  pointer-events: none;
}

.rv-till__body.is-rolled::after {
  transform: translateX(110%);
  transition: transform 1.8s ease 2.2s;
}

.rv-tally {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  min-width: 0;
  padding: clamp(26px, 3.4vw, 46px) 10px;
  border-left: 1px solid rgba(200, 177, 140, .4);
  text-align: center;
}

.rv-tally:first-child { border-left: 0; }

.rv-tally__num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .05em;
  font-family: var(--hm-heading-font);
  font-size: min(5.2cqw, 74px);
  font-variant-numeric: lining-nums;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.rv-tally__label {
  font-family: var(--hm-heading-font);
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

/* one wheel: a strip of digits behind a small brass window */
.rv-roll {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: .64em;
  height: 1.24em;
  overflow: hidden;
  border-radius: .09em;
  background: linear-gradient(#5e1643, #7a1c52 50%, #5e1643);
  box-shadow: inset 0 0 0 1px rgba(200, 177, 140, .55);
}

.rv-roll__strip {
  display: block;
  font-style: normal;
  transition: transform 2.6s cubic-bezier(.16, .84, .24, 1) var(--d, 0ms);
}

.rv-roll__strip span {
  display: block;
  height: 1.24em;
  line-height: 1.24em;
  text-align: center;
}

.is-rolled .rv-roll__strip { transform: translateY(calc(var(--stop) * -1.24em)); }

/* the curve of the wheel, shaded at top and bottom */
.rv-roll::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(94, 22, 67, .55), rgba(94, 22, 67, 0) 30%, rgba(94, 22, 67, 0) 70%, rgba(94, 22, 67, .55));
  pointer-events: none;
}

.rv-sign {
  flex: 0 0 auto;
  padding: 0 .04em;
  color: #efe3cd;
}

.rv-gap { width: .18em; }

/* ---------- the revolving door ---------- */
.rv-spin {
  --wing-w: clamp(196px, min(46vw, 33vh), 300px);
  --wing-h: calc(var(--wing-w) * 1.2);
  --r: calc(var(--wing-w) * 1.26);
  padding: var(--ab-space) 0;
  background:
    radial-gradient(70% 60% at 50% 62%, #f8d3e6 0%, rgba(248, 211, 230, 0) 72%),
    linear-gradient(#fdf3f8, #fff);
}

.rv-spin .rv-spin__title {
  margin: 0;
  font-size: clamp(38px, min(5vw, 9vh), 72px);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  color: var(--ab-ink);
}

.rv-spin__door {
  margin-top: clamp(28px, 3.4vw, 46px);
}

.rv-spin .rv-spin__ring {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-wing { margin: 0; }

.rv-wing__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 22px);
  height: 100%;
  min-height: 220px;
  padding: 22px 18px;
  overflow: hidden;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(155deg, #cf3d90, #a82872 62%, #861d58);
  box-shadow: 0 30px 50px -36px rgba(94, 22, 67, .8);
}

/* a glass door catches the light */
.rv-wing__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.rv-wing__panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--ab-brass);
  border-radius: 12px;
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
}

.rv-wing.is-front .rv-wing__panel::after { opacity: 1; }

.rv-wing__icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(76px, 7.4vw, 96px);
  height: clamp(76px, 7.4vw, 96px);
  padding: 16px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.rv-spin .rv-wing__name {
  position: relative;
  margin: 0;
  font-family: var(--hm-heading-font);
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
}

/* pinned, with the panels standing in a ring */
.rv-spin.is-live { padding: 0; }

.rv-spin.is-live .rv-spin__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding-top: clamp(100px, 13vh, 126px);
}

.rv-spin.is-live .rv-spin__door {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 0;
  height: 0;
  margin: 0;
  perspective: 1500px;
}

.rv-spin.is-live .rv-spin__ring {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 0;
  height: 0;
  transform: translateZ(calc(var(--r) * -1)) rotateY(var(--a, 0deg));
  transform-style: preserve-3d;
}

.rv-spin.is-live .rv-wing {
  position: absolute;
  left: calc(var(--wing-w) / -2);
  top: calc(var(--wing-h) / -2);
  width: var(--wing-w);
  height: var(--wing-h);
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(var(--r));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.rv-spin.is-live .rv-wing__panel { min-height: 0; }

/* the brass rings at the top and foot of the drum */
.rv-spin__rim { display: none; }

.rv-spin.is-live .rv-spin__rim {
  position: absolute;
  left: calc(var(--r) * -1.34);
  display: block;
  width: calc(var(--r) * 2.68);
  height: clamp(34px, 6vh, 58px);
  border: 1px solid var(--ab-brass);
  border-radius: 50%;
  pointer-events: none;
}

.rv-spin.is-live .rv-spin__rim--top { top: calc(var(--wing-h) / -2 - 44px); }

.rv-spin.is-live .rv-spin__rim--foot {
  top: calc(var(--wing-h) / 2 + 2px);
  box-shadow: 0 16px 34px -12px rgba(134, 29, 88, .4);
}

/* ---------- call us: the desk bell ---------- */
.rv-call {
  padding: var(--ab-space) 0;
  color: #fff;
  background: linear-gradient(110deg, var(--ab-pink-deep) 0%, var(--ab-pink) 52%, #b52d7c 100%);
}

.rv-call__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

/* the autoplaying film clipped to the top of the letter */
.rv-film {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(24px, 3vw, 38px);
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 26px 44px -28px rgba(94, 22, 67, .7), 0 0 0 1px rgba(200, 177, 140, .4);
}
.rv-film__clip { position: absolute; z-index: 2; top: -24px; right: 28px; pointer-events: none; }
.rv-film__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #6a1a4b;
}
.rv-film__screen iframe,
.rv-film__screen .embed-responsive { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv-film__screen .embed-responsive { padding: 0; }
.rv-film__screen .embed-responsive::before { display: none; }

/* two films stacked beside the call list */
.rv-call__videos {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  min-width: 0;
}

.rv-call .rv-bell {
  display: block;
  width: clamp(120px, 13vw, 170px);
  margin: 0 0 clamp(14px, 1.8vw, 24px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.rv-bell svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.rv-bell:focus { outline: none; }

.rv-bell:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
  border-radius: 12px;
}

.rv-bell__dome {
  transform-box: view-box;
  transform-origin: 80px 118px;
}

/* the sound of the bell, as rings spreading out from it */
.rv-bell__wave {
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 80px 92px;
}

.rv-call .rv-call__title {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  color: #fff;
}

.rv-call__title a {
  font-style: italic;
  color: #fff;
  border-bottom: 2px solid var(--ab-brass);
}

.rv-call__title a:hover,
.rv-call__title a:focus { color: #fff !important; }

.rv-call .rv-call__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-call .rv-call__list li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  margin: 0;
  padding: clamp(11px, 1.2vw, 15px) 0;
  border-top: 1px solid var(--ab-white-20);
  font-family: var(--hm-heading-font);
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.16;
  color: #fff;
}

.rv-call__list img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

/* ---------- on the road: the steamer trunk and the brass plaques ---------- */
.rv-road {
  padding: var(--ab-space) 0;
  background: linear-gradient(#fff, #fdf3f8);
}

.rv-road__head {
  max-width: 900px;
  margin: 0 auto clamp(54px, 6vw, 84px);
  text-align: center;
}

.rv-road__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--hm-body-font);
  font-size: clamp(11px, 1vw, 12.5px);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ab-pink);
}

.rv-road__eyebrow::before,
.rv-road__eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}

.rv-road .rv-road__title {
  margin: 16px 0 0;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ab-ink);
}

.rv-trunk {
  position: relative;
  padding: clamp(28px, 4vw, 54px);
  border-radius: 20px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, rgba(255, 255, 255, 0) 2px 5px),
    linear-gradient(165deg, #8a2060 0%, #6a1a4b 60%, #5e1643 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 177, 140, .5), 0 50px 80px -56px rgba(61, 16, 48, .85);
}

/* the brass carrying handle */
.rv-trunk::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: clamp(110px, 16vw, 200px);
  height: clamp(22px, 2.6vw, 34px);
  border: 5px solid var(--ab-brass);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  transform: translateX(-50%);
}

/* the leather straps, running behind the labels */
.rv-trunk__strap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(22px, 3vw, 40px);
  background: linear-gradient(90deg, #a32570, #c73689 50%, #a32570);
  box-shadow: 0 0 0 1px rgba(200, 177, 140, .35);
}

.rv-trunk__strap--left { left: 20%; }
.rv-trunk__strap--right { right: 20%; }

/* brass corner guards */
.rv-trunk__corner {
  position: absolute;
  width: clamp(30px, 4vw, 54px);
  height: clamp(30px, 4vw, 54px);
  background: var(--rv-brass-metal);
}

.rv-trunk__corner--tl { left: 0; top: 0; border-radius: 20px 0 100% 0; }
.rv-trunk__corner--tr { right: 0; top: 0; border-radius: 0 20px 0 100%; }
.rv-trunk__corner--bl { left: 0; bottom: 0; border-radius: 0 100% 0 20px; }
.rv-trunk__corner--br { right: 0; bottom: 0; border-radius: 100% 0 20px 0; }

.rv-trunk .rv-trunk__labels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* a paper travel label, each stuck on at its own slight angle */
.rv-label {
  --tilt: -2deg;
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(200, 177, 140, .75), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(199, 54, 137, .22), 0 12px 18px -12px rgba(61, 16, 48, .8);
  transform: rotate(var(--tilt));
  transition: transform .7s var(--ab-ease);
}

.rv-label:nth-child(3n) { --tilt: 2.4deg; }
.rv-label:nth-child(4n+2) { --tilt: -3.2deg; }
.rv-label:nth-child(5n) { --tilt: 1.4deg; }

/* placed inside the label, so a tall logo can't stretch it out of shape */
.rv-label img {
  position: absolute;
  left: 15%;
  top: 14%;
  display: block;
  width: 70%;
  height: 72%;
  max-width: none;
  object-fit: contain;
}

@media (hover: hover) {
  .rv-label:hover { transform: rotate(0deg) scale(1.06); }
}

/* waiting to be stamped on, then pressed down with a little weight */
.rv-label.is-armed { opacity: 0; }

.rv-label.is-stamped {
  opacity: 1;
  animation: rv-stamp .5s cubic-bezier(.3, 1.4, .5, 1) both;
}

@keyframes rv-stamp {
  0% { opacity: 0; transform: rotate(calc(var(--tilt) * 3)) scale(1.7); }
  55% { opacity: 1; transform: rotate(var(--tilt)) scale(.95); }
  100% { opacity: 1; transform: rotate(var(--tilt)) scale(1); }
}

.rv-road__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(26px, 3vw, 40px);
}

.rv-road .rv-social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(199, 54, 137, .4);
  border-radius: 50%;
  font-size: 17px;
  color: var(--ab-pink);
  transition: background .4s, color .4s, border-color .4s;
}

.rv-social a:hover,
.rv-social a:focus {
  color: #fff !important;
  background: var(--ab-pink);
  border-color: var(--ab-pink);
}

/* five brass door plaques */
.rv-road .rv-plaques {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  margin: clamp(46px, 5vw, 70px) 0 0;
  padding: 0;
  list-style: none;
}

.rv-plaque {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 2.2vw, 28px) 12px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 11px 11px, #ae9468 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 11px) 11px, #ae9468 2.5px, transparent 3px),
    radial-gradient(circle at 11px calc(100% - 11px), #ae9468 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), #ae9468 2.5px, transparent 3px),
    #fff;
  box-shadow: inset 0 0 0 1px var(--ab-brass), 0 20px 30px -24px rgba(94, 22, 67, .55);
}

/* a sheen of light crossing the plate when it arrives */
.rv-plaque::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(200, 177, 140, .55) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-120%);
  pointer-events: none;
}

.rv-plaque.is-in::after {
  transform: translateX(120%);
  transition: transform 1.5s ease calc(var(--n, 0) * 90ms + .3s);
}

.rv-plaque img {
  display: block;
  width: 90px;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
}

.rv-road .rv-plaque__name {
  margin: 0;
  font-family: var(--hm-heading-font);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  color: var(--ab-ink);
}

/* ---------- FAQ ---------- */
.rv-faq__art {
  position: relative;
  display: block;
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  margin-top: clamp(20px, 2.6vw, 34px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 50% 50% 22px 22px / 50% 50% 22px 22px;
  background: linear-gradient(170deg, #fdf0f7, #f4cfe3);
}

/* the blue illustration is multiplied onto the pink, then its darks are lifted, as on About */
.rv-faq__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}

.rv-faq__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #a32570;
  mix-blend-mode: lighten;
  pointer-events: none;
}

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
  .rv-call__grid { grid-template-columns: minmax(0, 1fr); }

  /* the till goes to two rows of two */
  .rv-till__body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-tally__num { font-size: min(10.2cqw, 74px); }
  .rv-tally:nth-child(odd) { border-left: 0; }
  .rv-tally:nth-child(n+3) { border-top: 1px solid rgba(200, 177, 140, .4); }

  .rv-spin .rv-spin__ring { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-trunk .rv-trunk__labels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-road .rv-plaques { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  /* a phone is too narrow to wrap the heading round the photograph */
  .rv-snap { width: 112px; }
  .rv-note .rv-note__title { clear: both; }

  .rv-trunk .rv-trunk__labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-trunk__strap { display: none; }
  .rv-road .rv-plaques { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-plaque:last-child { grid-column: 1 / -1; }
  .rv-road__foot { justify-content: center; }
}


/* =========================================================
   ONE SIZE FOR EVERY BIG SECTION HEADING (2026-11-18)
   The intro title, each section title and the FAQ title share
   one size on all 19 service pages. The same two values are
   used in service-kit, digital, performance, revenue, seo and
   social sections CSS, so change them in all six together.
   The hero and the page-name band (*-title__name) keep their
   own sizes.
   ========================================================= */
.rv-note .rv-note__title,
.rv-spin .rv-spin__title,
.rv-call .rv-call__title,
.rv-road .rv-road__title,
.hm-faq.ab-faq .hm-faq-head h2 {
  font-size: clamp(34px, 4.2vw, 60px);
}

@media (max-width: 575px) {
  .rv-note .rv-note__title,
  .rv-spin .rv-spin__title,
  .rv-call .rv-call__title,
  .rv-road .rv-road__title,
  .hm-faq.ab-faq .hm-faq-head h2 {
    font-size: clamp(28px, 7.8vw, 34px);
  }
}
