/* ===========================================================
   myRevenuePath — redesign
   Palette & type system referenced from copperruncap.com:
   navy #284157, copper/bronze #C87D37, Open Sans
=========================================================== */

:root {
  --navy: #1f3650;
  --navy-deep: #16283b;
  --navy-soft: #3f5873;
  --copper: #c87d37;
  --copper-dark: #a8652a;
  --copper-light: #e3a567;
  --cream: #f7f5f2;
  --panel: #f3f1ed;
  --white: #ffffff;
  --text: #22303f;
  --text-muted: #5b6b7c;
  --border: #e3e0da;

  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(31, 54, 80, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 54, 80, 0.10);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--copper);
  color: var(--white);
}
.btn--primary:hover { background: var(--copper-dark); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Eyebrow / pill ---------- */
.eyebrow {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 10px;
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.pill--sm { font-size: 0.72rem; padding: 5px 12px; background: var(--copper); color: var(--white); border-color: var(--copper); }

.section__h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section__lead {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 760px;
  margin: 0 0 40px;
}

/* =================== NAV =================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #11131f;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 84px; width: auto; display: block; }
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #c9d2dc;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--copper-light); }
.nav__cta { flex-shrink: 0; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav__mobile a { padding: 12px 0; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }
.nav__mobile .btn { margin-top: 12px; width: 100%; }
.nav__mobile[data-open="true"] { display: flex; }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: 140px 0 110px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 40, 59, 0.88) 0%, rgba(22, 40, 59, 0.80) 45%, rgba(22, 40, 59, 0.94) 100%);
  z-index: -1;
}
.hero__inner { max-width: 760px; margin: 0 auto; }
.pill--on-photo {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.hero__sub {
  font-size: 1.1rem;
  color: #d7e2ec;
  margin: 0 0 32px;
}
.hero__fineprint {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #a9bdd0;
}

/* =================== ABOUT + CASE STUDY CAROUSEL =================== */
.about { padding: 88px 0 0; position: relative; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}
.about__copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0 0 28px;
}
.btn--uppercase {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 14px 24px;
}

.carousel {
  position: relative;
  background: var(--navy);
  border-left: 4px solid var(--copper);
  border-radius: 4px;
  padding: 32px 36px;
  min-height: 240px;
  box-shadow: var(--shadow-md);
}
.carousel__slide { display: none; }
.carousel__slide.is-active { display: block; }
.carousel__quote {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 20px;
}
.carousel__client {
  color: var(--copper-light);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.carousel__niche {
  color: #a9bdd0;
  font-size: 0.88rem;
  margin-top: 2px;
}
.carousel__casetitle {
  color: #7d93a8;
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.carousel__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.carousel__arrow:hover { background: var(--copper); color: var(--white); border-color: var(--copper); }
.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 220px;
}
.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.carousel__dot.is-active { background: var(--copper); transform: scale(1.3); }

.about__divider { height: 3px; background: var(--copper); width: 100%; }

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* =================== STATS BAND =================== */
.stats {
  background: var(--navy);
  padding: 48px 0;
}
.stats__overline {
  text-align: center;
  color: #bcd0e4;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 32px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--copper-light);
}
.stat__label {
  color: #d7e2ec;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* =================== SERVICES / COMPARE =================== */
.services { padding: 88px 0; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.compare__card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.compare__card--bad { background: var(--panel); }
.compare__card--good {
  background: var(--white);
  border: 1px solid var(--copper);
  box-shadow: var(--shadow-md);
}
.compare__h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 4px 0 14px;
}
.compare__quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--border);
  padding-left: 14px;
  margin-bottom: 18px;
}
.compare__card--good .compare__quote { border-left-color: var(--copper); }
.compare__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.compare__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}
.compare__card--good .compare__list li::before { background: var(--copper); }

/* =================== CASE STUDIES =================== */
.cases { padding: 88px 0; background: var(--cream); }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.case-card__num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 6px;
}
.case-card__h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 700;
}
.case-card__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
}
.case-card__stats {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.badge { flex: 1; }
.badge__num {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.badge__label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =================== INDUSTRIES =================== */
.industries { padding: 88px 0; background: var(--cream); }
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.industry {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.industry__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--panel);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.industry__h3 { font-size: 1rem; color: var(--navy); margin: 0 0 8px; }
.industry p { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 16px; }
.industry__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .industries__grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================== BENEFITS =================== */
.benefits { padding: 88px 0; }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.benefit__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--panel);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit__h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.benefit p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* =================== PHOTO BAND =================== */
.photoband { padding: 0 0 88px; background: var(--cream); }
.photoband__img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* =================== HOW IT WORKS =================== */
.how { padding: 88px 0; background: var(--cream); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.how-card__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 10px;
}
.how-card__h3 { font-size: 1.02rem; color: var(--navy); margin: 0 0 10px; }
.how-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* =================== NEW WAY TO SCALE =================== */
.newway { padding: 88px 0; }
.newway__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.newway p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 18px; }

/* =================== FAQ =================== */
.faq { padding: 88px 0; background: var(--cream); }
.faq__list { max-width: 760px; margin-top: 16px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 4px 24px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq__item[open] .faq__chev { transform: rotate(-135deg); }
.faq__body { padding: 0 0 20px; color: var(--text-muted); font-size: 0.94rem; }
.faq__body p { margin: 0; }

/* =================== FINAL CTA =================== */
.finalcta {
  background: var(--navy);
  padding: 88px 0;
  text-align: center;
}
.finalcta__h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 10px;
}
.finalcta__sub { color: #bcd0e4; margin: 0 0 28px; }

/* =================== FOOTER =================== */
.footer { background: var(--navy-deep); padding: 56px 0 24px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}
.footer__logo span { color: var(--copper-light); }
.footer__tagline { color: #9fb2c4; font-size: 0.88rem; max-width: 320px; margin: 0; }
.footer__h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__link--placeholder { color: #9fb2c4; font-size: 0.88rem; cursor: default; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  color: #7c93a8;
  font-size: 0.82rem;
}

/* =================== Scroll reveal =================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in, .is-in { opacity: 1; transform: none; }

/* =================== Responsive =================== */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .compare, .cases__grid, .benefits__grid, .how__grid { grid-template-columns: 1fr; }
  .stats__grid { gap: 16px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav__inner { height: 72px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat__num { font-size: 1.3rem; }
  .case-card__stats { flex-direction: column; gap: 10px; }
}

/* ========== CONTACT ========== */
.contact { padding: 88px 0; background: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact__intro .section__lead { margin-bottom: 0; }
.contact__form { background: var(--cream); border: 1px solid #e3dfd7; border-radius: 10px; padding: 28px; }
.contact__form .field { margin-bottom: 18px; }
.contact__form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.contact__form input, .contact__form textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--white);
  padding: 12px 14px; border: 1px solid #8fa0b1; border-radius: 6px;
}
.contact__form input:focus-visible, .contact__form textarea:focus-visible, .contact__form button:focus-visible {
  outline: 3px solid var(--copper-light); outline-offset: 2px;
}
.contact__form .req { color: var(--copper-dark); }
.contact__form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact__form .cf-turnstile { margin: 4px 0 18px; }
.contact__status { margin: 14px 0 0; font-weight: 700; color: var(--navy); min-height: 1.4em; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; gap: 28px; } }
a.footer__link { color: #9fb2c4; font-size: 0.88rem; text-decoration: none; }
a.footer__link:hover, a.footer__link:focus-visible { color: #ffffff; text-decoration: underline; }
