/* CPR WordPress homepage — Mike's approved direction, built with real CPR media. */

.cpr {
  --ink: #101214;
  --ink-soft: #1c1f22;
  --paper: #fff;
  --cream: #f3f0e9;
  --cream-deep: #e5dfd5;
  --teal: #44c3d1;
  --teal-deep: #0b737f;
  --red: #d92320;
  --red-deep: #b51b1b;
  --muted: #5f6263;
  --line: #d7d3cc;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --shell: 1800px;
  --content: 1240px;
  --gut: clamp(22px, 4.2vw, 76px);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
}

.cpr *,
.cpr *::before,
.cpr *::after { box-sizing: border-box; }
.cpr img { display: block; width: 100%; height: auto; }
.cpr a { text-underline-offset: .18em; }
.cpr-wrap { width: 100%; max-width: calc(var(--content) + (2 * var(--gut))); margin-inline: auto; padding-inline: var(--gut); }

.cpr-kicker,
.cpr-eyebrow,
.cpr-proof-label {
  margin: 0 0 18px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.cpr-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.cpr-btn--red { border-color: var(--red); background: var(--red); color: #fff; }
.cpr-btn--red:hover,
.cpr-btn--red:focus-visible { border-color: var(--red-deep); background: var(--red-deep); color: #fff; }
.cpr-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.cpr-btn--ghost:hover,
.cpr-btn--ghost:focus-visible { border-color: #fff; background: #fff; color: var(--ink); }
.cpr-btn--dark { border-color: var(--ink); background: var(--ink); color: #fff; }
.cpr-btn--dark:hover,
.cpr-btn--dark:focus-visible { border-color: var(--red); background: var(--red); color: #fff; }

.cpr-textlink {
  display: inline-flex;
  width: fit-content;
  gap: 10px;
  align-items: center;
  margin-top: 32px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

/* A controlled four-image sequence establishes the production world. Its copy
   remains fixed on the company footer's content rail. */
.cpr-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: clamp(640px, 80svh, 1120px);
  align-items: flex-end;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.cpr-hero__media,
.cpr-hero__image,
.cpr-hero__shade { position: absolute; inset: 0; }
.cpr-hero__media { overflow: hidden; }
.cpr .cpr-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 46%;
  opacity: 0;
  transition: opacity 3s ease;
}
.cpr .cpr-hero__image.is-active { opacity: 1; }
.cpr-hero__shade {
  background:
    linear-gradient(90deg, rgba(8,10,12,.9) 0%, rgba(8,10,12,.65) 40%, rgba(8,10,12,.1) 76%),
    linear-gradient(0deg, rgba(8,10,12,.72), transparent 55%);
}
.cpr-hero__inner { position: relative; padding-top: 100px; padding-bottom: clamp(62px, 7vw, 104px); transform: translateY(-15%); }
.cpr-eyebrow { color: var(--teal); }
.cpr-hero__title {
  max-width: 9em;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(58px, 7.1vw, 112px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .88;
  text-transform: uppercase;
  text-wrap: balance;
}
.cpr-hero__title em { color: var(--teal); font-style: normal; }
.cpr-hero__lead { max-width: 55ch; margin: 30px 0 0; color: rgba(255,255,255,.9); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.65; }
.cpr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* The approved marks move as one continuous proof band. A quiet control keeps
   the motion user-controlled; reduced-motion visitors receive one static set. */
.cpr-logos { position: relative; padding: 28px 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.cpr-logos__viewport { width: calc(100% - 64px); overflow: hidden; }
.cpr-logos__track { display: flex; width: max-content; animation: cpr-logo-scroll 40s linear infinite; }
.cpr-logos__track.is-paused { animation-play-state: paused; }
.cpr-logos__group { --cpr-logo-gap: clamp(24px, 2.7vw, 40px); display: flex; width: max-content; padding: 0 var(--cpr-logo-gap) 0 0; flex: 0 0 auto; gap: var(--cpr-logo-gap); align-items: center; }
.cpr-logos__group img { width: clamp(110px, 10vw, 143px); max-width: 100%; height: 47px; object-fit: contain; opacity: .76; }
.cpr-logos__toggle { position: absolute; z-index: 2; top: 50%; right: 10px; display: inline-flex; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(16,18,20,.18); border-radius: 50%; align-items: center; justify-content: center; transform: translateY(-50%); background: #fff; color: var(--ink); font-family: Arial, sans-serif; font-size: 15px; line-height: 1; cursor: pointer; }
.cpr-logos__toggle:hover { border-color: var(--ink); }
.cpr-logos__toggle:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }

@keyframes cpr-logo-scroll {
  to { transform: translateX(-50%); }
}

/* Why CPR */
.cpr-partner { padding: clamp(96px, 10vw, 156px) 0 clamp(58px, 6vw, 88px); background: var(--cream); }
.cpr-partner__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(58px, 6vw, 92px); align-items: start; }
.cpr-partner__heading h2,
.cpr-section-head h2,
.cpr-numbers h2,
.cpr-reviews h2,
.cpr-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 70px);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}
.cpr-partner__heading h2 em,
.cpr-section-head h2 em,
.cpr-numbers h2 em,
.cpr-reviews h2 em,
.cpr-cta h2 em { color: var(--red); font-style: normal; }
.cpr-partner__heading h2 { max-width: 8em; font-size: clamp(56px, 5.3vw, 84px); line-height: .9; }
.cpr-partner__heading > p { margin: 30px 0 0; color: var(--ink); font-family: var(--display); font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.cpr-partner__points { display: grid; gap: 30px; }
.cpr-partner__points article { padding: 0 0 0 28px; border-left: 3px solid var(--teal); }
.cpr-partner__points h3 { margin: 0; color: var(--teal-deep); font-family: var(--display); font-size: clamp(23px, 2vw, 30px); font-weight: 600; line-height: 1.06; text-transform: uppercase; }
.cpr-partner__points p { max-width: 48ch; margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Services */
.cpr-services { padding: clamp(96px, 10vw, 156px) 0; background: #fff; }
.cpr-section-head { display: grid; max-width: 880px; margin-bottom: clamp(48px, 5vw, 76px); }
.cpr-section-head > p:last-child { max-width: 64ch; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.cpr-services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cpr-service { position: relative; min-height: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); color: #fff; text-decoration: none; }
.cpr-service::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,8,.86), rgba(5,7,8,0) 65%); content: ""; }
.cpr-service img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); }
.cpr-service span { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; font-family: var(--display); font-size: clamp(24px, 2.05vw, 34px); font-weight: 600; line-height: 1; text-transform: uppercase; }
.cpr-services__related { max-width: 78ch; margin: 34px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.cpr-services__related a { color: var(--ink); font-weight: 600; }

/* Event experience is proof, not navigation to pages that do not exist. */
.cpr-events { padding: clamp(96px, 10vw, 156px) 0; background: var(--ink); }
.cpr-section-head--dark h2 { color: #fff; }
.cpr-section-head--dark > p:last-child { color: rgba(255,255,255,.7); }
.cpr-section-head--dark .cpr-kicker { color: var(--teal); }
.cpr-events__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cpr-event { position: relative; margin: 0; overflow: hidden; aspect-ratio: 2.09 / 1; background: #050708; }
.cpr-event::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,8,.88), rgba(5,7,8,0) 62%); content: ""; }
.cpr-event img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.08); }
.cpr-event figcaption { position: absolute; z-index: 1; right: 28px; bottom: 24px; left: 28px; color: #fff; font-family: var(--display); font-size: clamp(24px, 2.4vw, 40px); font-weight: 600; line-height: .98; text-transform: uppercase; }
.cpr-events__close { margin: 50px 0 0; color: #fff; font-family: var(--display); font-size: clamp(30px, 3vw, 48px); font-weight: 600; text-align: center; text-transform: uppercase; }

/* Client-supplied scale claims in the compact horizontal treatment. */
.cpr-numbers { padding: 0 0 clamp(72px, 7vw, 112px); background: var(--cream); }
.cpr-numbers__grid { display: grid; grid-template-columns: minmax(260px, 1.05fr) minmax(0, 3fr); gap: 0; align-items: center; }
.cpr-numbers header { padding: 4px 34px 4px 24px; border-left: 4px solid var(--teal); }
.cpr-numbers h2 { font-size: clamp(36px, 3vw, 48px); line-height: .94; }
.cpr-numbers header p { margin: 10px 0 0; color: var(--ink); font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cpr-stats { display: grid; margin: 0; grid-template-columns: repeat(3, 1fr); }
.cpr-stats div { padding: 4px 26px 4px 34px; border-left: 1px solid #aeb2c3; }
.cpr-stats dt { color: var(--teal-deep); font-family: var(--display); font-size: clamp(42px, 4vw, 62px); font-weight: 600; letter-spacing: -.03em; line-height: .9; }
.cpr-stats dd { margin: 12px 0 0; color: var(--ink); font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.1; text-transform: uppercase; }

/* Verified, static Google reviews. */
.cpr-reviews { padding: clamp(96px, 10vw, 156px) 0; background: var(--cream); }
.cpr-reviews__head { display: flex; margin-bottom: clamp(46px, 5vw, 74px); gap: 40px; align-items: flex-end; justify-content: space-between; }
.cpr-rating { display: inline-grid; width: fit-content; margin-top: 0; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.cpr-rating:hover,
.cpr-rating:focus-visible { color: var(--ink); text-decoration: none !important; box-shadow: inset 0 -3px var(--teal-deep); }
.cpr-rating:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 5px; }
.cpr-rating strong { grid-row: 1 / 3; font-family: var(--display); font-size: 56px; font-weight: 600; line-height: .9; }
.cpr-rating span { color: #745100; font-size: 15px; letter-spacing: .06em; }
.cpr-rating small { color: var(--muted); font-size: 14px; }
.cpr-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cpr-review { position: relative; display: flex; min-height: 320px; padding: 32px clamp(24px, 2.5vw, 38px); flex-direction: column; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.cpr-review::after { position: absolute; top: 24px; right: 24px; color: var(--teal-deep); content: "↗"; font-size: 18px; }
.cpr-review:hover,
.cpr-review:focus-visible { border-color: var(--ink); background: var(--ink); text-decoration: none !important; }
.cpr-review:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; }
.cpr-review:hover blockquote,
.cpr-review:focus-visible blockquote { color: #fff; }
.cpr-review:hover::after,
.cpr-review:focus-visible::after { color: var(--teal); }
.cpr-review__stars { display: flex; margin: 0; gap: 9px; align-items: center; color: #745100; font-size: 14px; letter-spacing: .08em; }
.cpr-review__stars strong { color: var(--ink); font-size: 14px; letter-spacing: 0; line-height: 1; }
.cpr-review:hover .cpr-review__stars,
.cpr-review:focus-visible .cpr-review__stars { color: #e9ad00; }
.cpr-review:hover .cpr-review__stars strong,
.cpr-review:focus-visible .cpr-review__stars strong { color: #fff; }
.cpr-review blockquote { margin: 22px 0 0; color: var(--ink); font-family: var(--display); font-size: clamp(20px, 1.5vw, 24px); font-style: normal; font-weight: 500; line-height: 1.24; }
.cpr-review__byline { display: flex; margin-top: auto; padding-top: 24px; gap: 14px; align-items: center; }
.cpr-review__byline img { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; object-fit: cover; }
.cpr-review__byline span { display: grid; gap: 4px; }
.cpr-review__byline strong { color: var(--teal-deep); font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.cpr-review__byline small { color: var(--muted); font-size: 14px; }
.cpr-review:hover .cpr-review__byline strong,
.cpr-review:focus-visible .cpr-review__byline strong { color: var(--teal); }
.cpr-review:hover .cpr-review__byline small,
.cpr-review:focus-visible .cpr-review__byline small { color: rgba(255,255,255,.64); }

/* Conversion */
.cpr-cta { padding: clamp(72px, 7vw, 104px) 0; background: var(--teal); }
.cpr-cta__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(58px, 8vw, 124px); align-items: center; }
.cpr-cta h2 { max-width: 12em; color: var(--ink); font-size: clamp(52px, 5.3vw, 82px); line-height: .94; }
.cpr-cta .cpr-kicker { color: var(--ink); }
.cpr-cta > .cpr-wrap > div:first-child > p:last-child { max-width: 56ch; margin: 24px 0 0; color: #14383c; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; }
.cpr-cta__action { min-width: 0; padding-bottom: 4px; }
.cpr-home-form .fl-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cpr-home-form .fl-input-group { position: relative; margin: 0; }
.cpr-home-form .fl-phone,
.cpr-home-form .fl-message,
.cpr-home-form .fl-button-wrap,
.cpr-home-form .fl-send-error,
.cpr-home-form .fl-success-msg,
.cpr-home-form .fl-success-none { grid-column: 1 / -1; }
.cpr-home-form input[type="text"],
.cpr-home-form input[type="email"],
.cpr-home-form input[type="tel"],
.cpr-home-form textarea { width: 100%; border: 1px solid rgba(5,7,8,.28); border-radius: 0; background: rgba(255,255,255,.96); color: var(--ink); font-family: var(--body); font-size: 16px; }
.cpr-home-form input[type="text"],
.cpr-home-form input[type="email"],
.cpr-home-form input[type="tel"] { min-height: 50px; padding: 0 15px; }
.cpr-home-form textarea { min-height: 118px; padding: 14px 15px; resize: vertical; }
.cpr-home-form input:focus,
.cpr-home-form textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.cpr-home-form .fl-contact-error { display: none; margin: 0 0 5px; color: #57200f; font-size: 14px; font-weight: 700; }
.cpr-home-form .fl-error .fl-contact-error { display: block; }
.cpr-home-form .fl-button { display: inline-flex; min-height: 50px; padding: 0 24px; border: 0; border-radius: 0; align-items: center; justify-content: center; background: var(--red); color: #fff; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.cpr-home-form .fl-button:hover { background: var(--ink); color: #fff; text-decoration: none; }
.cpr-home-form .fl-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Wide displays get a larger rail without turning reading content into a
   full-width layout. The intermediate expression softens the breakpoint. */
@media (min-width: 1600px) {
  .cpr { --content: clamp(1240px, calc(100vw - 320px), 1440px); }
}

@media (max-width: 1080px) {
  .cpr .cpr-partner__grid { grid-template-columns: 1fr; }
  .cpr .cpr-partner__heading { max-width: 720px; }
  .cpr .cpr-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpr .cpr-numbers__grid,
  .cpr .cpr-cta__inner { grid-template-columns: 1fr; }
  .cpr .cpr-stats { max-width: 760px; }
}

@media (max-width: 720px) {
  .cpr .cpr-hero { width: 100%; min-height: 690px; margin-top: 0; }
  .cpr .cpr-hero__inner { padding-top: 90px; padding-bottom: 50px; }
  .cpr .cpr-hero__title { font-size: clamp(54px, 17vw, 72px); }
  .cpr .cpr-hero__lead { margin-top: 24px; font-size: 16.5px; line-height: 1.58; }
  .cpr .cpr-hero__actions { margin-top: 28px; }
  .cpr .cpr-hero__actions .cpr-btn { width: 100%; }
  .cpr .cpr-hero__shade { background: linear-gradient(0deg, rgba(8,10,12,.94) 0%, rgba(8,10,12,.7) 62%, rgba(8,10,12,.2) 100%); }
  .cpr .cpr-hero__image { object-position: 57% center; }
  .cpr .cpr-logos { padding-block: 24px; }
  .cpr .cpr-logos__group { --cpr-logo-gap: 24px; }
  .cpr .cpr-logos__group img { width: 70px; max-width: 100%; height: 36px; }
  .cpr .cpr-partner__points article { padding-left: 20px; }
  .cpr .cpr-numbers { padding: 0 0 64px; }
  .cpr .cpr-numbers__grid { gap: 36px; }
  .cpr .cpr-numbers header { padding: 0 0 18px 18px; }
  .cpr .cpr-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cpr .cpr-service span { right: 14px; bottom: 14px; left: 14px; font-size: clamp(18px, 5vw, 24px); }
  .cpr .cpr-events__grid { grid-template-columns: 1fr; }
  .cpr .cpr-event { aspect-ratio: 1.88 / 1; }
  .cpr .cpr-stats { grid-template-columns: 1fr; }
  .cpr .cpr-stats div { display: grid; padding: 20px 0; border-top: 1px solid rgba(4,52,58,.28); border-left: 0; grid-template-columns: 150px 1fr; align-items: center; }
  .cpr .cpr-stats dd { margin: 0; }
  .cpr .cpr-reviews__grid { grid-template-columns: 1fr; }
  .cpr .cpr-reviews__head { display: block; }
  .cpr .cpr-rating { margin-top: 28px; }
  .cpr .cpr-review { min-height: 0; }
  .cpr .cpr-home-form .fl-contact-form { grid-template-columns: 1fr; }
  .cpr .cpr-home-form .fl-input-group,
  .cpr .cpr-home-form .fl-button-wrap { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cpr .cpr-hero__image { transition: none; }
  .cpr .cpr-logos__track { display: block; width: 100%; animation: none; }
  .cpr .cpr-logos__viewport { width: 100%; }
  .cpr .cpr-logos__group { display: grid; width: min(100% - (2 * var(--gut)), var(--shell)); margin-inline: auto; padding-inline: 0; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); }
  .cpr .cpr-logos__group[aria-hidden="true"] { display: none; }
  .cpr .cpr-logos__toggle { display: none; }
}
