/* Couvertier consultation invitation. Quiet until opened. */
.cpa-float {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  width: 196px;
  margin: 0;
  padding: 15px 16px 14px;
  border: 0;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  color: #083344;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 246, 241, 0.94));
  box-shadow: 0 16px 36px rgba(8, 51, 68, 0.16);
  font-family: Lato, var(--font-lato), sans-serif;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cpa-float::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #f5b301;
}
.cpa-float::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -12px;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(8, 51, 68, 0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.cpa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(8, 51, 68, 0.2);
}
.cpa-float-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a6b00;
}
.cpa-float-title {
  display: block;
  margin-top: 4px;
  font-family: Merriweather, var(--font-merriweather), Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
  color: #0e7490;
}
.cpa-float-note {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #083344;
}

.cpa-modal[hidden] { display: none; }
.cpa-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}
.cpa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 51, 68, 0.46);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.cpa-modal.is-open .cpa-modal-backdrop { opacity: 1; }
.cpa-modal-panel {
  position: relative;
  width: min(704px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border-radius: 28px;
  background: #ffffff;
  padding: 48px 40px 36px;
  box-shadow: 0 28px 70px rgba(8, 51, 68, 0.22);
  color: #083344;
  font-family: Lato, var(--font-lato), sans-serif;
  overflow: auto;
  transform-origin: var(--cpa-ox, 78%) var(--cpa-oy, 130%);
  transform: scale(var(--cpa-s, 0.28));
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.cpa-modal.is-open .cpa-modal-panel { transform: scale(1); }
.cpa-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #f8f6f1;
  color: #0e7490;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.cpa-close:hover { background: #ecfbfe; }
.cpa-invite {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a6b00;
}
.cpa-q {
  margin: 14px 0 10px;
  font-family: Merriweather, var(--font-merriweather), Georgia, serif;
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 700;
  color: #0891b2;
}
.cpa-quiet {
  margin: 0 0 22px;
  font-size: 1.45rem;
  line-height: 1.45;
  color: #083344;
}
.cpa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cpa-stack { display: grid; gap: 16px; }
.cpa-choice {
  width: 100%;
  min-height: 104px;
  padding: 18px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8f6f1;
  color: #083344;
  font-family: Lato, var(--font-lato), sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cpa-choice:hover,
.cpa-choice:focus-visible {
  background: #fff3c4;
  border-color: #f5b301;
  transform: translateY(-1px);
  outline: none;
}
.cpa-back {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #0e7490;
  font-family: Lato, var(--font-lato), sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.cpa-done {
  margin-top: 22px;
  border: 0;
  border-radius: 16px;
  background: #f5b301;
  color: #083344;
  min-height: 72px;
  padding: 0 28px;
  font-family: Lato, var(--font-lato), sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
@media (max-height: 640px) {
  .cpa-modal-panel { padding: 32px 22px 22px; }
  .cpa-invite { font-size: 0.95rem; }
  .cpa-q { margin: 10px 0 8px; font-size: 2rem; }
  .cpa-quiet { margin-bottom: 14px; font-size: 1.05rem; }
  .cpa-grid, .cpa-stack { gap: 12px; }
  .cpa-choice { min-height: 72px; padding: 14px 16px; font-size: 1.15rem; }
  .cpa-close { width: 44px; height: 44px; font-size: 1.5rem; }
}
.cpa-done:hover { background: #ffc933; }

video.cpa-hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
}
/* Headings are painted teal by an unlayered rule. On a photo or video, force the color the section already asked for. */
.hero-copy h1,
.hero-copy h2,
.hero-copy h3 { color: #ffffff; }
.cpa-office { background-color: #083344; }
.cpa-read-panel {
  position: relative;
  z-index: 1;
  background: #ffffff;
  color: #083344;
  border-radius: 22px;
  padding: 28px 28px 24px;
  box-shadow: 0 22px 50px rgba(8, 51, 68, 0.28);
  border-top: 4px solid #f5b301;
}
.cpa-read-panel .eyebrow { color: #9a6b00; }
.cpa-read-panel h2 {
  color: #083344;
  font-family: Merriweather, Georgia, serif;
}
.cpa-read-panel p,
.cpa-read-panel li { color: #083344; }
.cpa-read-panel a {
  color: #0e7490;
  text-decoration: underline;
  text-decoration-color: #f5b301;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.cpa-read-panel a:hover { color: #083344; }
@media (prefers-reduced-motion: reduce) {
  .cpa-float, .cpa-choice { transition: none; }
  .cpa-modal-panel,
  .cpa-modal.is-open .cpa-modal-panel,
  .cpa-modal-backdrop,
  .cpa-modal.is-open .cpa-modal-backdrop {
    transition: none;
    transform: none;
  }
}
