/* ==========================================================================
   Vectra AI contact page redesign mock, combined edition (2026-11-06)
   https://www.vectra.ai/about/contact, rebuilt in the system of the homepage,
   platform, blog and demo combined mocks (redesigns/home-combined,
   platform-combined, blog-combined, blog-post-combined, demo-combined): the
   same tokens, type, CTAs, sheets and motion rules, so the pages read as one
   site. The form card is the demo page's, so the two forms feel the same.
   Scope: everything lives under main.rd; every class is prefixed rd-. Loaded
   after the Webflow CSS so the scoped reset wins over the site's global tag
   rules (white p/h1/h2, flex ul).
   ========================================================================== */

/* ---------- Tokens (brand values from the live site) ---------- */
.rd {
  --rd-navy: #002a4c;
  --rd-navy-deep: #01203a;
  --rd-navy-ink: #0b1f33;
  --rd-green: #35a36b;
  --rd-green-600: #1d895e;
  --rd-green-400: #5db589;
  --rd-mint: #7fd3a8;
  --rd-orange: #c14b1f;
  --rd-blue: #1866c1;
  --rd-blue-hover: #005176;
  --rd-sky: #7ac9ed;
  --rd-red: #f0524f;
  --rd-red-soft: #ff6b63;
  --rd-amber: #ea8a43;
  --rd-ink: #131516;
  --rd-text: #303435;
  --rd-text-2: #525456;
  --rd-line: #e3e7e6;
  --rd-soft: #f4f6f5;
  --rd-error: #c23b3b;
  --rd-display: Montserrat, sans-serif;
  --rd-body: "Roboto Flex", Arial, sans-serif;
  --rd-pad: clamp(5rem, 3.25rem + 5.2vw, 9rem);
  --rd-radius-sheet: 2.5rem;
  --rd-ease: cubic-bezier(.22, .7, .18, 1);

  position: relative;
  background: var(--rd-navy-deep);
  color: var(--rd-ink);
  font-family: var(--rd-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}

/* ---------- Scoped reset (specificity 0,1,0; components follow) ---------- */
.rd,
.rd *,
.rd *::before,
.rd *::after { box-sizing: border-box; }

.rd :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dt, dd, fieldset, legend) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.rd :where(fieldset) { border: 0; min-width: 0; }
.rd :where(ul, ol) { display: block; flex-direction: row; gap: 0; list-style: none; }
.rd :where(li) { list-style: none; }
.rd :where(blockquote) { border: 0; }
.rd :where(img, video) { display: block; max-width: 100%; height: auto; }
.rd :where(strong, b) { font-weight: 700; }
.rd :where(a) { color: inherit; text-decoration: none; }
.rd :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rd :where(input, select) { font: inherit; color: inherit; margin: 0; }
.rd svg { overflow: visible; }
.rd :where(p) { text-wrap: pretty; }
.rd ::selection { background: rgba(93, 181, 137, .32); }
.rd-nowrap { white-space: nowrap; }
.rd-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.rd-container {
  position: relative;
  width: 90%;
  max-width: 108rem;
  margin-inline: auto;
}
.rd-section { position: relative; padding-block: var(--rd-pad); }
.rd-sheet {
  z-index: 1;
  margin-top: calc(var(--rd-radius-sheet) * -1);
  border-radius: var(--rd-radius-sheet) var(--rd-radius-sheet) 0 0;
}
.rd-section:has(+ .rd-sheet) { padding-bottom: calc(var(--rd-pad) + var(--rd-radius-sheet)); }

/* ---------- Type ---------- */
.rd-h1 {
  font-family: var(--rd-display);
  font-size: clamp(2.35rem, 1rem + 3.6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
}
.rd-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.rd-line__inner { display: block; }
.rd-h2 {
  font-family: var(--rd-display);
  font-size: clamp(2.125rem, 1.3rem + 2.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.rd-lead {
  max-width: 56ch;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.rd-eyebrow {
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rd-green-600);
}
.rd-eyebrow--on-dark { color: var(--rd-green-400); }
.rd-gradient-text {
  background: linear-gradient(270deg, #15b374 12%, #d56a32 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rd-accent { color: var(--rd-green-400); }
.rd-sl-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.rd-head { display: flex; flex-direction: column; gap: 1.25rem; }

/* ---------- CTAs: one system ---------- */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  min-height: 3.25rem;
  padding: .5rem .5rem .5rem 1.5rem;
  border-radius: 100vh;
  font-family: var(--rd-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .35s var(--rd-ease), box-shadow .35s var(--rd-ease), opacity .3s;
}
.rd-btn--primary {
  background: var(--rd-blue);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(24, 102, 193, .7);
}
.rd-btn--primary:hover { background: var(--rd-blue-hover); }
.rd-btn__chev {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--rd-orange);
  color: #fff;
  transition: transform .35s var(--rd-ease);
}
.rd-btn:hover .rd-btn__chev { transform: translateX(3px); }
.rd-btn--block { width: 100%; justify-content: space-between; }
.rd-btn--sm { min-height: 2.75rem; padding-left: 1.125rem; font-size: .9375rem; gap: .625rem; }
.rd-btn--sm .rd-btn__chev { width: 1.875rem; height: 1.875rem; }
.rd-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.rd-btn:disabled:hover { background: var(--rd-blue); }
.rd-btn:disabled:hover .rd-btn__chev { transform: none; }
.rd-btn.is-busy .rd-btn__chev svg { animation: rd-nudge .7s var(--rd-ease) infinite alternate; }
@keyframes rd-nudge { to { transform: translateX(3px); } }

.rd-link {
  --rd-caret: 2rem;
  display: inline-flex;
  align-items: flex-end;
  gap: .625rem;
  font-family: var(--rd-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rd-blue);
}
.rd-link > span:first-child { text-wrap: balance; }
.rd-link__caret {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--rd-caret);
  height: var(--rd-caret);
  margin-bottom: calc((1.25em - var(--rd-caret)) / 2);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background-color .3s var(--rd-ease), transform .3s var(--rd-ease);
}
.rd-link__caret svg { transition: color .3s; }
.rd-link:hover .rd-link__caret { background: currentColor; transform: translateX(2px); }
.rd-link:hover .rd-link__caret svg { color: #fff; }
.rd-link--light { color: #fff; }
.rd-link--light:hover .rd-link__caret svg { color: var(--rd-navy); }
.rd-link--sm { --rd-caret: 1.75rem; font-size: .9375rem; }

.rd-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}
.rd-cta-row--center { justify-content: center; }


.rd-btn:focus-visible,
.rd-link:focus-visible { outline: 2px solid var(--rd-sky); outline-offset: 3px; }
.rd-card :is(.rd-btn, .rd-link, .rd-back, .rd-who__edit, .rd-day, .rd-slot, .rd-done__reset, a):focus-visible,
.rd-teams .rd-link:focus-visible {
  outline: 2px solid var(--rd-blue);
  outline-offset: 3px;
}

/* Pause / play (WCAG 2.2.2): every visual that keeps moving has one */
.rd-i-play { display: none; }
.is-user-paused .rd-i-pause { display: none; }
.is-user-paused .rd-i-play { display: block; }

/* ==========================================================================
   1. Hero: the sales form, and the other lines people come for
   ========================================================================== */
.rd-chero {
  position: relative;
  background: var(--rd-navy);
  color: #fff;
  overflow: clip;
}
.rd-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 38rem at 82% 52%, rgba(29, 137, 94, .5) 0%, rgba(16, 94, 85, .24) 44%, rgba(0, 42, 76, 0) 76%),
    radial-gradient(40% 55% at 0% 0%, rgba(24, 102, 193, .2) 0%, rgba(24, 102, 193, 0) 70%),
    linear-gradient(180deg, #002a4c 0%, #01203a 100%);
}
.rd-chero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 33.5rem);
  grid-template-rows: auto 1fr;
  grid-template-areas: "copy side" "more side";
  column-gap: clamp(2.5rem, 6.5vw, 7.5rem);
  padding-block: clamp(2.5rem, 6.5vh, 4.75rem) clamp(2.5rem, 6vh, 4.5rem);
}
.rd-chero__copy { grid-area: copy; padding-top: clamp(.5rem, 2.5vh, 2rem); }
.rd-chero__side { grid-area: side; position: relative; align-self: start; }
.rd-chero__more { grid-area: more; display: flex; flex-direction: column; }

.rd-chero__eyebrow { margin-bottom: clamp(1rem, 1.6vw, 1.375rem); }
.rd-chero__title { font-size: clamp(2.75rem, 1rem + 5vw, 5.5rem); line-height: 1; }
.rd-chero__lead {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  max-width: 34rem;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.4375rem);
  color: rgba(255, 255, 255, .74);
}
@media (max-width: 767px) { .rd-br { display: none; } }

/* The lines people need instead of sales: a small switchboard */
.rd-quick { max-width: 38rem; margin-top: clamp(2rem, 5vh, 3.25rem); }
.rd-quick__k {
  margin-bottom: .625rem;
  font-family: var(--rd-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.rd-quick__list { border-top: 1px solid rgba(255, 255, 255, .1); }
.rd-qr {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .375rem 1rem;
  padding-block: .875rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rd-qr__ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(93, 181, 137, .1);
  box-shadow: inset 0 0 0 1px rgba(93, 181, 137, .36);
  color: var(--rd-mint);
}
.rd-qr__ic svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rd-qr--urgent .rd-qr__ic { background: rgba(240, 82, 79, .12); box-shadow: inset 0 0 0 1px rgba(255, 107, 99, .5); color: #ff9890; }
.rd-qr--urgent .rd-qr__ic::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 107, 99, .7);
  opacity: 0;
  animation: rd-ring 2.4s ease-out 1.6s 4;
}
@keyframes rd-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.65); } }
.rd-qr__t {
  font-family: var(--rd-display);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
}
.rd-qr__act { display: inline-flex; align-items: center; gap: .5rem; justify-self: end; }
.rd-qr__a {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .25);
  text-underline-offset: 4px;
  transition: color .25s, text-decoration-color .25s;
}
.rd-qr__a:hover { color: #fff; text-decoration-color: currentColor; }
.rd-qr--urgent .rd-qr__a { font-family: var(--rd-display); font-weight: 600; color: #fff; }
.rd-qr__out { width: .875rem; height: .875rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--rd-ease); }
.rd-qr__a:hover .rd-qr__out { transform: translate(1px, -1px); }
.rd-qr__a:hover .rd-qr__down { transform: translateY(2px); }

.rd-chero__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: clamp(1.5rem, 3.5vh, 2.25rem); }
.rd-chero__toggle {
  display: none;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .8);
  transition: background-color .3s, color .3s;
}
.rd-chero__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rd-chero__toggle svg { width: .875rem; height: .875rem; }
.rd-chero.is-gl .rd-chero__toggle { display: grid; }

/* Copy an address: one click, a tick, then back */
.rd-copy {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .375rem;
  height: 2rem;
  padding: 0 .6875rem 0 .5625rem;
  border-radius: .5rem;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--rd-text-2);
  transition: color .25s, box-shadow .25s, background-color .25s;
}
.rd-copy:hover { color: var(--rd-ink); box-shadow: inset 0 0 0 1px #aab6be; background: #fff; }
.rd-copy svg { width: .9375rem; height: .9375rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rd-copy__ok { display: none; }
.rd-copy.is-copied { color: var(--rd-green-600); box-shadow: inset 0 0 0 1px rgba(53, 163, 107, .55); }
.rd-copy.is-copied .rd-copy__i { display: none; }
.rd-copy.is-copied .rd-copy__ok { display: block; stroke-width: 2; }
.rd-copy--icon { width: 2rem; padding: 0; justify-content: center; }
.rd-copy--icon .rd-copy__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rd-chero .rd-copy,
.rd-route--urgent .rd-copy { color: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.rd-chero .rd-copy:hover,
.rd-route--urgent .rd-copy:hover { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.rd-chero .rd-copy.is-copied,
.rd-route--urgent .rd-copy.is-copied { color: var(--rd-mint); box-shadow: inset 0 0 0 1px rgba(127, 211, 168, .6); }
html:not(.rd-js) .rd-copy { display: none; }

/* The offices' local time, docked to the bottom of the hero */
.rd-clocks {
  position: relative;
  z-index: 1;
  padding-block: 1.125rem calc(1.125rem + var(--rd-radius-sheet));
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.rd-clocks__inner { display: flex; align-items: center; gap: 1rem 2rem; }
.rd-clocks__k {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .625rem;
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.rd-clocks__dot { position: relative; width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--rd-green-400); }
.rd-clocks__dot::after { content: ""; position: absolute; inset: -.25rem; border-radius: 50%; border: 1px solid rgba(93, 181, 137, .8); opacity: 0; animation: rd-ring 2.4s ease-out 2.2s 3; }
.rd-clocks__list {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: .25rem 1.25rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.rd-clocks__list.is-scroll {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
}
.rd-clocks__list::-webkit-scrollbar { display: none; }
.rd-clock {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "c i" "t t";
  justify-content: start;
  align-items: center;
  gap: .125rem .4375rem;
  padding: .375rem .5rem;
  border-radius: .5rem;
  white-space: nowrap;
  transition: background-color .25s;
}
.rd-clock:hover { background: rgba(255, 255, 255, .06); }
.rd-clock__c { grid-area: c; font-family: var(--rd-display); font-size: .75rem; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .58); }
.rd-clock__i { grid-area: i; }
.rd-clock__t { grid-area: t; font-size: 1rem; font-weight: 500; line-height: 1.25; font-variant-numeric: tabular-nums; color: #fff; }
.rd-clock__i,
.rd-office__i { display: inline-grid; }
.rd-clock__i svg,
.rd-office__i svg { grid-area: 1 / 1; width: .875rem; height: .875rem; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-sun { stroke: #f2c27b; }
.rd-moon { stroke: #9fc6e8; }
[data-day="1"] .rd-moon,
[data-day="0"] .rd-sun,
:not([data-day]) > .rd-moon { display: none; }
html:not(.rd-js) .rd-clocks { display: none; }


.rd-rating { display: block; }
.rd-rating img { width: auto; height: 2.25rem; }
.rd-rating:focus-visible { outline: 2px solid var(--rd-sky); outline-offset: 3px; }

/* ---------- The socket: where the hero's signal lines meet the card ---------- */
.rd-socket {
  position: absolute;
  z-index: 3;
  left: 0;
  top: var(--rd-sock-y, 7.25rem);
  width: .875rem;
  height: .875rem;
  margin: -.4375rem 0 0 -.4375rem;
  border-radius: 50%;
  background: #e9fff4;
  box-shadow: 0 0 0 3px rgba(93, 181, 137, .55), 0 0 18px 4px rgba(93, 181, 137, .55);
  pointer-events: none;
}
.rd-socket::after {
  content: "";
  position: absolute;
  inset: -.375rem;
  border-radius: 50%;
  border: 1.5px solid rgba(127, 211, 168, .8);
  opacity: 0;
}
.rd-chero.is-hit .rd-socket::after { animation: rd-ping .9s ease-out both; }
.rd-chero.is-hit-red .rd-socket { animation: rd-catch 1.1s ease-out both; }
@keyframes rd-ping { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(3); } }
@keyframes rd-catch {
  0% { background: #ffd6d4; box-shadow: 0 0 0 3px rgba(255, 107, 99, .65), 0 0 22px 6px rgba(255, 107, 99, .6); }
  100% { background: #e9fff4; box-shadow: 0 0 0 3px rgba(93, 181, 137, .55), 0 0 18px 4px rgba(93, 181, 137, .55); }
}

/* ---------- The card ---------- */
.rd-card {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 2.3vw, 2.25rem);
  border-radius: 1.5rem;
  background: #fff;
  color: var(--rd-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 48px 90px -40px rgba(0, 6, 16, .85), 0 18px 36px -24px rgba(0, 6, 16, .6);
  container-type: inline-size;
  outline: none;
  transition: box-shadow .6s var(--rd-ease);
}
.rd-chero.is-hit .rd-card { box-shadow: 0 0 0 1px rgba(93, 181, 137, .55), 0 0 0 6px rgba(93, 181, 137, .08), 0 48px 90px -40px rgba(0, 6, 16, .85), 0 18px 36px -24px rgba(0, 6, 16, .6); }
.rd-card__title {
  font-family: var(--rd-display);
  font-size: clamp(1.625rem, 1.3rem + .9vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.rd-card__sub { margin-top: .5rem; font-size: 1rem; line-height: 1.5; color: var(--rd-text-2); }

/* Steps */
.rd-stepper {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1.375rem 0 1.5rem;
  padding: .875rem 0;
  border-block: 1px solid var(--rd-line);
}
.rd-stepper__i {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: #8a9196;
  transition: color .4s;
}
.rd-stepper__i:last-child { flex: none; }
.rd-stepper__i:not(:last-child)::after {
  content: "";
  flex: 1;
  min-width: .75rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rd-green) var(--fill, 0%), var(--rd-line) var(--fill, 0%));
  transition: --fill .6s var(--rd-ease);
}
@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.rd-stepper__n {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #c9d1d6;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  transition: background-color .4s, box-shadow .4s, color .4s;
}
.rd-stepper__n svg { position: absolute; width: .875rem; height: .875rem; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--rd-ease); }
.rd-stepper__i.is-current { color: var(--rd-ink); }
.rd-stepper__i.is-current .rd-stepper__n { background: var(--rd-blue); box-shadow: none; color: #fff; }
.rd-stepper__i.is-done { color: var(--rd-text); }
.rd-stepper__i.is-done .rd-stepper__n { background: var(--rd-green); box-shadow: none; color: transparent; }
.rd-stepper__i.is-done .rd-stepper__n svg { opacity: 1; transform: none; }
.rd-stepper__i.is-done::after { --fill: 100%; }

/* Steps: one shown at a time (JS); without JS, steps 1 and 2 show as one form */
.rd-card__body { position: relative; }
.rd-step { display: none; }
.rd-step.is-current { display: block; }
html:not(.rd-js) .rd-step--2 { display: block; margin-top: 1rem; }
html:not(.rd-js) :is(.rd-stepper, .rd-f__next, .rd-f__note, .rd-who, .rd-back) { display: none; }

/* Fields */
.rd-fld { display: flex; flex-direction: column; gap: .4375rem; min-width: 0; }
.rd-fld__l {
  font-family: var(--rd-body);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rd-text);
}
.rd-fld__l::after { content: " *"; color: var(--rd-text-2); font-weight: 400; }
.rd-fld__box { position: relative; }
.rd-fld__in {
  display: block;
  width: 100%;
  height: 3.125rem;
  padding: 0 2.625rem 0 1rem;
  border: 1px solid #cdd6dc;
  border-radius: .625rem;
  background: #fff;
  font-family: var(--rd-body);
  font-size: 1rem;
  line-height: normal;
  color: var(--rd-ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .25s var(--rd-ease), background-color .2s;
}
.rd-fld__in::placeholder { color: #98a2a9; opacity: 1; }
.rd-fld__in:hover { border-color: #aab6be; }
.rd-fld__in:focus { outline: none; border-color: var(--rd-blue); box-shadow: 0 0 0 4px rgba(24, 102, 193, .14); }
.rd-fld__box--select .rd-fld__in { padding-right: 2.5rem; cursor: pointer; text-overflow: ellipsis; }
.rd-fld__box--select .rd-fld__in:invalid { color: #98a2a9; }
.rd-fld__box--select option { color: var(--rd-ink); }
.rd-fld__chev,
.rd-fld__ok {
  position: absolute;
  right: .9375rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -.5rem;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.rd-fld__chev { stroke: var(--rd-text-2); stroke-width: 1.6; }
.rd-fld__ok { stroke: var(--rd-green); stroke-width: 2; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .35s var(--rd-ease); }
.rd-fld.is-valid .rd-fld__ok { opacity: 1; transform: none; }
.rd-fld.is-valid .rd-fld__box--select .rd-fld__chev { opacity: 0; }
.rd-fld__e {
  display: none;
  align-items: flex-start;
  gap: .375rem;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--rd-error);
}
.rd-fld__e::before {
  content: "!";
  display: grid;
  flex: none;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-top: .05rem;
  border-radius: 50%;
  background: var(--rd-error);
  color: #fff;
  font-family: var(--rd-display);
  font-size: .625rem;
  font-weight: 800;
  line-height: 1;
}
.rd-fld.is-error .rd-fld__e { display: flex; }
.rd-fld.is-error .rd-fld__in { border-color: var(--rd-error); box-shadow: 0 0 0 4px rgba(194, 59, 59, .1); }
.rd-fld.is-error .rd-fld__ok { opacity: 0; }

.rd-step--1 .rd-fld { margin-bottom: 1.25rem; }
.rd-f__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--rd-text-2);
}
.rd-f__note svg { flex: none; width: .9375rem; height: .9375rem; fill: none; stroke: var(--rd-green-600); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.rd-who {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .625rem .75rem .625rem .875rem;
  border-radius: .75rem;
  background: var(--rd-soft);
  font-size: .875rem;
}
.rd-who__k { flex: none; color: var(--rd-text-2); }
.rd-who__v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--rd-ink); }
.rd-who__edit { flex: none; padding: .25rem .5rem; border-radius: .375rem; font-family: var(--rd-display); font-size: .8125rem; font-weight: 600; color: var(--rd-blue); transition: background-color .25s; }
.rd-who__edit:hover { background: rgba(24, 102, 193, .08); }

.rd-f__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .875rem; }
.rd-fld--wide { grid-column: 1 / -1; }
@container (max-width: 25rem) {
  .rd-f__grid { grid-template-columns: minmax(0, 1fr); }
}
.rd-f__legal { margin-top: 1.25rem; font-size: .75rem; line-height: 1.55; color: var(--rd-text-2); }
.rd-f__legal a { color: var(--rd-blue); text-decoration: underline; text-underline-offset: 2px; }
.rd-f__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.375rem; }
.rd-back {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem .625rem .5rem .375rem;
  border-radius: .5rem;
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--rd-text-2);
  transition: color .25s, background-color .25s;
}
.rd-back:hover { color: var(--rd-ink); background: var(--rd-soft); }
.rd-back svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Step 3: pick a time */
.rd-pick__t { font-family: var(--rd-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; outline: none; }
.rd-pick__m { display: flex; flex-wrap: wrap; gap: .375rem 1.25rem; margin-top: .5rem; font-size: .875rem; color: var(--rd-text-2); }
.rd-pick__m span { display: inline-flex; align-items: center; gap: .4375rem; }
.rd-pick__m svg { width: 1rem; height: 1rem; fill: none; stroke: var(--rd-green-600); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rd-pick__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: 1.25rem; }
.rd-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .125rem;
  padding: .625rem .25rem .5625rem;
  border-radius: .75rem;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  color: var(--rd-text);
  transition: box-shadow .25s, background-color .25s, color .25s;
}
.rd-day:hover { box-shadow: inset 0 0 0 1px #aab6be; }
.rd-day__w { font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-text-2); }
.rd-day__d { font-size: 1.25rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rd-day__m { font-size: .6875rem; font-weight: 500; color: var(--rd-text-2); }
.rd-day[aria-checked="true"] { background: rgba(24, 102, 193, .07); box-shadow: inset 0 0 0 1.5px var(--rd-blue); color: var(--rd-blue); }
.rd-day[aria-checked="true"] :is(.rd-day__w, .rd-day__m) { color: var(--rd-blue); }
.rd-pick__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; min-height: 8.75rem; align-content: start; }
.rd-slot {
  height: 2.625rem;
  border-radius: .625rem;
  box-shadow: inset 0 0 0 1px var(--rd-line);
  font-family: var(--rd-display);
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--rd-blue);
  transition: box-shadow .25s, background-color .25s, color .25s;
}
.rd-slot:hover { box-shadow: inset 0 0 0 1.5px var(--rd-blue); }
.rd-slot[aria-checked="true"] { background: var(--rd-blue); box-shadow: none; color: #fff; }
.rd-pick__tz { margin-top: .875rem; font-size: .75rem; color: var(--rd-text-2); }
.rd-pick__tz b { font-weight: 600; color: var(--rd-text); }

/* Step 4: booked */
.rd-done { text-align: left; }
.rd-done__mark { display: block; width: 3.5rem; height: 3.5rem; }
.rd-done__mark svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rd-done__ring { stroke: var(--rd-green); stroke-width: 2.5; stroke-dasharray: 132; stroke-dashoffset: 132; transform: rotate(-90deg); transform-origin: 50% 50%; }
.rd-done__tick { stroke: var(--rd-green); stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; }
.rd-done.is-current .rd-done__ring { animation: rd-draw .8s var(--rd-ease) .1s forwards; }
.rd-done.is-current .rd-done__tick { animation: rd-draw .5s var(--rd-ease) .65s forwards; }
@keyframes rd-draw { to { stroke-dashoffset: 0; } }
.rd-done__t { margin-top: 1.125rem; font-family: var(--rd-display); font-size: 1.625rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; outline: none; }
.rd-done__when { margin-top: .375rem; font-family: var(--rd-display); font-size: 1.0625rem; font-weight: 600; color: var(--rd-green-600); }
.rd-done__when:empty { display: none; }
.rd-done__p { margin-top: .875rem; font-size: .9375rem; line-height: 1.55; color: var(--rd-text-2); }
.rd-done__p b { font-weight: 600; color: var(--rd-ink); word-break: break-all; }
.rd-done__mock {
  margin-top: 1.125rem;
  padding: .6875rem .875rem;
  border-radius: .625rem;
  background: #fff6ea;
  box-shadow: inset 0 0 0 1px #f1d6b6;
  font-size: .8125rem;
  line-height: 1.5;
  color: #6f4613;
}
.rd-done__mock strong { font-weight: 700; }
.rd-done__mock a,
.rd-done__reset { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rd-done__next { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.5rem; margin-top: 1.375rem; padding-top: 1.25rem; border-top: 1px solid var(--rd-line); }
.rd-done__k { flex-basis: 100%; font-family: var(--rd-display); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-text-2); }

/* Step 1: what the request is about (the live form's optional "How can we assist you?") */
.rd-topics { margin-bottom: 1.25rem; }
.rd-topics__l { display: block; margin-bottom: .625rem; }
.rd-topics__l::after { content: " (optional)"; color: var(--rd-text-2); font-weight: 400; }
.rd-topics__list { display: grid; gap: .375rem; }
.rd-topic {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 2.5rem;
  margin: 0;
  padding: .4375rem .875rem;
  border-radius: .625rem;
  box-shadow: inset 0 0 0 1px #d8dfe4;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--rd-text);
  cursor: pointer;
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.rd-topic:hover { box-shadow: inset 0 0 0 1px #aab6be; }
.rd-topic__in { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rd-topic__dot {
  position: relative;
  flex: none;
  width: 1.0625rem;
  height: 1.0625rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #b3bec5;
  transition: box-shadow .25s var(--rd-ease);
}
.rd-topic:has(.rd-topic__in:checked) { background: rgba(24, 102, 193, .06); box-shadow: inset 0 0 0 1.5px var(--rd-blue); color: var(--rd-ink); }
.rd-topic__in:checked + .rd-topic__dot { box-shadow: inset 0 0 0 5px var(--rd-blue); }
.rd-topic:has(.rd-topic__in:focus-visible) { outline: 2px solid var(--rd-blue); outline-offset: 2px; }
.rd-f__hint a { color: var(--rd-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rd-f__hint[hidden] { display: none; }
.rd-skip { padding-left: .625rem; }

/* ==========================================================================
   2. Every other team: nine lines in three groups
   ========================================================================== */
.rd-teams { background: #fff; color: var(--rd-ink); }
.rd-teams__head { max-width: 52rem; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.rd-teams__title { max-width: 18ch; }
.rd-teams__lead { max-width: 60ch; color: var(--rd-text-2); }
.rd-groups { display: flex; flex-direction: column; gap: clamp(2.5rem, 4vw, 3.5rem); }
.rd-group {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 4vw, 4.5rem);
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid var(--rd-line);
}
.rd-group__head { display: flex; flex-direction: column; gap: .5rem; }
.rd-group__n { font-family: var(--rd-display); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--rd-green-600); }
.rd-group__t { font-family: var(--rd-display); font-size: clamp(1.375rem, 1.1rem + .6vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.rd-group__d { max-width: 30ch; font-size: .9375rem; line-height: 1.5; color: var(--rd-text-2); }
.rd-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rd-route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.25rem, 1.6vw, 1.625rem);
  border-radius: 1.25rem;
  background: var(--rd-soft);
  overflow: hidden;
  transition: box-shadow .4s var(--rd-ease), background-color .4s;
}
/* a signal runs along the top edge on hover */
.rd-route::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rd-green-400) 50%, transparent);
  transform: translateX(-100%);
  pointer-events: none;
}
.rd-route:hover::before { transform: translateX(100%); transition: transform 1s var(--rd-ease); }
.rd-route:hover { background: #eef2f0; }
.rd-route__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .25rem; }
.rd-route__ic {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .875rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(1, 32, 58, .06), inset 0 0 0 1px var(--rd-line);
  color: var(--rd-green-600);
}
.rd-route__ic svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rd-route__t { font-family: var(--rd-display); font-size: clamp(1.125rem, 1.05rem + .2vw, 1.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -.012em; }
.rd-route__d { font-size: .9375rem; line-height: 1.55; color: var(--rd-text-2); }
.rd-route__cta { align-self: flex-start; margin-top: .125rem; }
.rd-route__cta:last-child { margin-top: auto; padding-top: .5rem; }
.rd-route__mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #dfe5e2;
}
.rd-route__cta + .rd-route__mail { margin-top: .5rem; }
.rd-routes .rd-route__cta + .rd-route__mail { margin-top: auto; }
.rd-route__addr {
  min-width: 0;
  font-family: var(--rd-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rd-ink);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .25s, text-decoration-color .25s;
}
.rd-route__addr:hover { color: var(--rd-blue); text-decoration-color: currentColor; }
.rd-route--urgent { background: var(--rd-navy); color: #fff; }
.rd-route--urgent:hover { background: #033259; }
.rd-route--urgent::before { background: linear-gradient(90deg, transparent, #ff6b63 50%, transparent); }
.rd-route--urgent .rd-route__ic { background: rgba(240, 82, 79, .12); box-shadow: inset 0 0 0 1px rgba(255, 107, 99, .5); color: #ff9890; }
.rd-route--urgent .rd-route__d { color: rgba(255, 255, 255, .72); }
.rd-route--urgent .rd-route__mail { border-top-color: rgba(255, 255, 255, .14); }
.rd-route--urgent .rd-route__addr { color: #fff; }
.rd-route--urgent .rd-route__addr:hover { color: #fff; }
.rd-route__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3125rem .6875rem .3125rem .5625rem;
  border-radius: 100vh;
  background: rgba(240, 82, 79, .14);
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffa49d;
}
.rd-route__pulse { position: relative; width: .4375rem; height: .4375rem; border-radius: 50%; background: #ff6b63; }
.rd-route__pulse::after { content: ""; position: absolute; inset: -.25rem; border-radius: 50%; border: 1px solid rgba(255, 107, 99, .8); opacity: 0; animation: rd-ring 2.4s ease-out 4; }
.rd-route:target { box-shadow: 0 0 0 2px var(--rd-blue); }

/* ==========================================================================
   3. Offices: a map lit by today's daylight, and the fourteen addresses
   ========================================================================== */
.rd-offices { background: var(--rd-navy-deep); color: #fff; padding-bottom: clamp(3rem, 6vw, 5rem); }
.rd-offices__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}
.rd-offices__title { max-width: 16ch; }
.rd-offices__lead { max-width: 40ch; color: rgba(255, 255, 255, .7); }
.rd-regions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.rd-region {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 2.5rem;
  padding: 0 .625rem 0 1rem;
  border-radius: 100vh;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.rd-region:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.rd-region[aria-pressed="true"] { background: rgba(93, 181, 137, .16); box-shadow: inset 0 0 0 1px rgba(127, 211, 168, .65); color: #fff; }
.rd-region__n {
  min-width: 1.5rem;
  padding: .125rem .375rem;
  border-radius: 100vh;
  background: rgba(255, 255, 255, .1);
  font-size: .75rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .78);
}
.rd-region[aria-pressed="true"] .rd-region__n { background: rgba(93, 181, 137, .3); color: #fff; }

.rd-map {
  position: relative;
  aspect-ratio: 2.45;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(29, 137, 94, .16), transparent 70%),
    linear-gradient(180deg, #011a30, #011728);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  isolation: isolate;
}
.rd-map::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 80px rgba(1, 16, 30, .7); pointer-events: none; }
.rd-map__c { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.rd-map__pins { position: absolute; inset: 0; z-index: 1; }
.rd-pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border-radius: 50%;
  cursor: pointer;
}
.rd-pin__l {
  position: absolute;
  top: 50%;
  left: calc(50% + .875rem);
  display: flex;
  flex-direction: column;
  gap: .0625rem;
  padding: .375rem .625rem .4375rem;
  border-radius: .625rem;
  background: rgba(1, 23, 40, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 24px -12px rgba(0, 0, 0, .7);
  white-space: nowrap;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity .3s, transform .4s var(--rd-ease);
}
.rd-pin[data-side="l"] .rd-pin__l { left: auto; right: calc(50% + .875rem); transform: translate(4px, -50%); }
.rd-pin[data-side="b"] .rd-pin__l { top: calc(50% + .875rem); left: 50%; transform: translate(-50%, -4px); }
.rd-pin[data-side="t"] .rd-pin__l { top: auto; bottom: calc(50% + .875rem); left: 50%; transform: translate(-50%, 4px); }
.rd-pin.is-label .rd-pin__l,
.rd-pin.is-on .rd-pin__l,
.rd-pin:hover .rd-pin__l { opacity: 1; transform: translate(0, -50%); }
.rd-pin[data-side="b"].is-label .rd-pin__l,
.rd-pin[data-side="b"].is-on .rd-pin__l,
.rd-pin[data-side="b"]:hover .rd-pin__l,
.rd-pin[data-side="t"].is-label .rd-pin__l,
.rd-pin[data-side="t"].is-on .rd-pin__l,
.rd-pin[data-side="t"]:hover .rd-pin__l { transform: translate(-50%, 0); }
.rd-pin.is-on { z-index: 2; }
.rd-pin__c { font-family: var(--rd-display); font-size: .8125rem; font-weight: 700; color: #fff; }
.rd-pin__t { font-size: .75rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .66); }
.rd-pin.is-on .rd-pin__l { box-shadow: inset 0 0 0 1px rgba(127, 211, 168, .6), 0 10px 24px -12px rgba(0, 0, 0, .7); }
.rd-map__legend {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(.875rem, 1.6vw, 1.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem 1rem;
  padding: .4375rem .875rem;
  border-radius: 100vh;
  background: rgba(1, 21, 37, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: .75rem;
  color: rgba(255, 255, 255, .66);
  pointer-events: none;
}
.rd-map__key { display: inline-flex; align-items: center; gap: .4375rem; }
.rd-map__key::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; }
.rd-map__key--day::before { background: #d4ecf8; box-shadow: 0 0 8px rgba(212, 236, 248, .6); }
.rd-map__key--dusk::before { background: #ea8a43; }
.rd-map__key--night::before { background: rgba(122, 201, 237, .4); }
.rd-map__utc { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .45); }
.rd-map__toggle {
  position: absolute;
  z-index: 2;
  right: clamp(.875rem, 1.6vw, 1.25rem);
  bottom: clamp(.75rem, 1.4vw, 1rem);
  display: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .8);
  transition: background-color .3s, color .3s;
}
.rd-map__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rd-map__toggle svg { width: .875rem; height: .875rem; }
.rd-map.is-live .rd-map__toggle { display: grid; }
html:not(.rd-js) .rd-map,
html:not(.rd-js) .rd-regions,
html:not(.rd-js) .rd-office__time { display: none; }

.rd-offices__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; margin-top: 1rem; }
.rd-office {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  padding: 1.125rem 1.25rem 1.125rem;
  border-radius: 1.125rem;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background-color .3s, box-shadow .3s;
}
.rd-office[hidden] { display: none; }
.rd-office:hover { background: rgba(255, 255, 255, .06); }
.rd-office.is-hot { background: rgba(255, 255, 255, .06); }
.rd-office.is-on { background: rgba(93, 181, 137, .09); box-shadow: inset 0 0 0 1px rgba(127, 211, 168, .55); }
.rd-office__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.rd-office__k { font-family: var(--rd-display); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rd-office--hq .rd-office__k { color: var(--rd-green-400); }
.rd-office__time { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.rd-office__t { margin-top: .25rem; font-family: var(--rd-display); font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.rd-office__pick { text-align: left; }
.rd-office__pick::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rd-office__pick:focus-visible { outline: none; }
.rd-office:has(.rd-office__pick:focus-visible) { outline: 2px solid var(--rd-sky); outline-offset: 2px; }
.rd-office__a { font-size: .875rem; font-style: normal; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.rd-office__dir {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: .625rem;
  font-family: var(--rd-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--rd-mint);
  transition: color .25s;
}
.rd-office__dir:hover { color: #fff; }
.rd-out { width: .875rem; height: .875rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--rd-ease); }
.rd-office__dir:hover .rd-out { transform: translate(1px, -1px); }
.rd-office__dir:focus-visible,
.rd-region:focus-visible,
.rd-map__toggle:focus-visible,
.rd-clock:focus-visible,
.rd-qr__a:focus-visible,
.rd-chero__toggle:focus-visible,
.rd-chero .rd-copy:focus-visible,
.rd-route--urgent :is(a, button):focus-visible { outline: 2px solid var(--rd-sky); outline-offset: 3px; }
.rd-teams :is(.rd-route__addr, .rd-copy, .rd-link):focus-visible { outline: 2px solid var(--rd-blue); outline-offset: 3px; }


/* ==========================================================================
   4. Final: the dark of the map runs on into the horizon
   ========================================================================== */
.rd-final {
  background: linear-gradient(180deg, var(--rd-navy-deep) 0%, var(--rd-navy) 38%);
  color: #fff;
  text-align: center;
  overflow: clip;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: 0;
}
.rd-final::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(9rem, 15vw, 13rem);
  background: linear-gradient(180deg, rgba(19, 21, 22, 0), rgba(19, 21, 22, .62) 45%, #131516 85%);
  pointer-events: none;
}
.rd-final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 62% at 50% 100%, rgba(29, 137, 94, .58), rgba(16, 94, 85, .2) 45%, transparent 76%);
  pointer-events: none;
}
.rd-final__questions { position: absolute; inset: 0; font-family: var(--rd-display); font-weight: 600; pointer-events: none; }
.rd-fq {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  font-size: var(--fs);
  white-space: nowrap;
  color: #fff;
  opacity: .08;
}
.rd-fq--1 { --x: 15%; --y: 22%; --fs: clamp(1.375rem, .6rem + .95vw, 1.75rem); }
.rd-fq--2 { --x: 85%; --y: 17%; --fs: clamp(1.25rem, .5rem + .9vw, 1.625rem); }
.rd-fq--3 { --x: 12%; --y: 54%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--4 { --x: 87%; --y: 50%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--5 { --x: 50%; --y: 8%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.375rem;
  padding-top: clamp(1rem, 3vw, 3rem);
  padding-bottom: clamp(8rem, 13vw, 12rem);
}
.rd-final__title { max-width: 20ch; font-size: clamp(2.25rem, 1.05rem + 3.4vw, 4.75rem); line-height: 1.06; letter-spacing: -.035em; }
.rd-final__beat { display: inline-block; }
.rd-final__lead { max-width: 50ch; color: rgba(255, 255, 255, .74); text-wrap: balance; }
.rd-final .rd-cta-row { margin-top: .5rem; }

/* ---------- Motion start states (only when JS + GSAP will run) ---------- */
.rd-motion .rd-line__inner { transform: translateY(105%); }
.rd-motion .rd-chero [data-rd-hero],
.rd-motion .rd-chero .rd-card,
.rd-motion [data-rd-reveal],
.rd-motion .rd-final__beat { opacity: 0; }
.rd-motion .rd-socket { opacity: 0; }
.rd-motion .rd-qr { opacity: 0; }
.rd-motion [data-rd-split] { visibility: hidden; }

/* ==========================================================================
   Responsive (site breakpoints: 991 / 767 / 479, plus 1199 for the wide layouts)
   ========================================================================== */
@media (max-width: 1199px) {
  .rd-chero__inner { grid-template-columns: minmax(0, 1fr) minmax(21.5rem, 26rem); column-gap: 2.5rem; }
  .rd-qr { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .rd-qr__act { grid-column: 2; justify-self: start; }
  .rd-group { grid-template-columns: minmax(0, 1fr); }
  .rd-group__d { max-width: 52ch; }
  .rd-offices__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd-clocks__list { justify-content: flex-start; }
}

@media (max-width: 991px) {
  .rd { --rd-radius-sheet: 1.75rem; }
  .rd-container { width: 100%; padding-inline: 1.5rem; }
  /* phones: the other lines come before the form, so an incident is never below the fold */
  .rd-chero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "more" "side"; grid-template-rows: none; padding-block: 2.25rem 3.25rem; }
  .rd-chero__copy { padding-top: 0; }
  .rd-chero__side { width: min(100%, 36rem); margin-top: 2.25rem; }
  .rd-socket { left: 50%; top: 0; }
  .rd-chero__more { width: min(100%, 36rem); }
  .rd-quick { margin-top: 1.75rem; }
  .rd-chero__foot { padding-top: 1.5rem; }
  .rd-clocks__inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .rd-clocks__list { width: 100%; }
  .rd-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-offices__head { grid-template-columns: minmax(0, 1fr); }
  .rd-map { aspect-ratio: 1.9; border-radius: 1.25rem; }
  .rd-offices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-final { text-align: left; }
  .rd-final__inner { align-items: flex-start; }
  .rd-cta-row--center { justify-content: flex-start; }
  .rd-final__questions { display: none; }
}

/* A narrow card names only the step you are on */
@container (max-width: 24rem) {
  .rd-stepper__i:not(.is-current) .rd-stepper__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 767px) {
  .rd-qr { grid-template-columns: 2.25rem minmax(0, 1fr); gap: .25rem .875rem; padding-block: .75rem; }
  .rd-qr__ic { width: 2.25rem; height: 2.25rem; }
  .rd-qr__t { font-size: 1rem; }
  .rd-routes { grid-template-columns: minmax(0, 1fr); }
  .rd-map { aspect-ratio: 2; }
  /* Phones: each office is its city and its time; picking one opens its address */
  .rd-offices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .rd-office { gap: .1875rem; padding: .875rem 1rem; border-radius: 1rem; }
  .rd-office__top { display: contents; }
  .rd-office__k { order: 1; font-size: .625rem; }
  .rd-office__t { order: 2; margin-top: 0; font-size: 1.1875rem; }
  .rd-office__time { order: 3; font-size: .8125rem; }
  .rd-office__a { order: 4; margin-top: .375rem; }
  .rd-office__dir { order: 5; }
  .rd-office.is-on { grid-column: 1 / -1; }
  html.rd-js .rd-office:not(.is-on) :is(.rd-office__a, .rd-office__dir) { display: none; }
  .rd-map__legend .rd-map__utc { display: none; }
  .rd-regions { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.5rem; padding-inline: 1.5rem; scrollbar-width: none; }
  .rd-regions::-webkit-scrollbar { display: none; }
  .rd-region { flex: none; }
}

@media (max-width: 479px) {
  .rd-container { padding-inline: 1.25rem; }
  .rd-regions { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .rd-btn { font-size: 1rem; }
  .rd-card { padding: 1.25rem; border-radius: 1.25rem; }
  .rd-stepper__t { font-size: .75rem; }
  .rd-stepper__i { gap: .375rem; }
  .rd-pick__days { gap: .3125rem; }
  .rd-day__d { font-size: 1.0625rem; }
  .rd-map__key--dusk { display: none; }
}

/* ==========================================================================
   WebGL (gl.js): the canvases, and what each one takes over
   html.rd-gl-ok   WebGL2 exists (set in <head>; removed if three.js never arrives)
   .is-gl          on a section: its scene has drawn, so its CSS stand-ins hide
   ========================================================================== */
.rd-gl {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--rd-ease);
}
.rd-gl.is-on { opacity: 1; }
/* Behind the copy the lines stay quiet: they converge at the card */
.rd-gl--hero {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) calc(var(--rd-sx, 58%) - 26rem), rgba(0, 0, 0, .55) calc(var(--rd-sx, 58%) - 12rem), #000 calc(var(--rd-sx, 58%) - 2rem));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) calc(var(--rd-sx, 58%) - 26rem), rgba(0, 0, 0, .55) calc(var(--rd-sx, 58%) - 12rem), #000 calc(var(--rd-sx, 58%) - 2rem));
}
@media (max-width: 991px) {
  .rd-gl--hero {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .16) calc(var(--rd-sy, 50%) - 10rem), #000 calc(var(--rd-sy, 50%) - 1rem));
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .16) calc(var(--rd-sy, 50%) - 10rem), #000 calc(var(--rd-sy, 50%) - 1rem));
  }
}
/* The horizon's light starts below the map's dark: no edge where the canvas begins */
.rd-gl--final {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10rem);
  mask-image: linear-gradient(180deg, transparent 0, #000 10rem);
}
.rd-final.is-gl .rd-final__questions { visibility: hidden; }
.rd-final.is-gl .rd-final__glow { opacity: .5; transition: opacity 1.5s; }

@media (prefers-reduced-motion: reduce) {
  .rd *,
  .rd *::before,
  .rd *::after { transition-duration: .01ms !important; animation: none !important; }
}
