/* Content pages: About, Privacy Policy and Terms & Conditions */
.content-page { background: #fff; color: var(--ink); }
.content-page main { overflow: clip; }
.content-page .navbar-brand { text-decoration: none; }
.content-page .nav-link.active { color: var(--brand); }

.cp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 82px 0;
  background:
    radial-gradient(circle at 84% 28%, rgba(239,126,34,.16), transparent 34%),
    linear-gradient(135deg, #181519 0%, #221b1c 58%, #161318 100%);
  color: #fff;
}
.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 88%);
}
.cp-hero-copy { position: relative; z-index: 2; max-width: 690px; }
.cp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #ffad67;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.cp-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.cp-hero h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; margin: 0 0 1.2rem; }
.cp-hero h1 span { color: #f79a4d; }
.cp-hero-lead { max-width: 720px; font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.75; color: rgba(255,255,255,.78); margin: 0; }
.cp-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.cp-hero-actions .btn { border: 1px solid rgba(255,255,255,.72) !important; }

.cp-hero-art { position: relative; min-height: 420px; }
.cp-photo-shell {
  position: absolute;
  inset: 18px 0 0 24px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 28px 70px rgba(0,0,0,.36);
  transform: rotate(1.2deg);
}
.cp-photo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,10,12,.04), rgba(12,10,12,.34));
}
.cp-photo-shell img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.cp-photo-frame {
  position: absolute;
  width: 72%;
  height: 76%;
  right: -18px;
  top: -18px;
  border: 2px solid rgba(239,126,34,.62);
  border-radius: 30px;
  z-index: -1;
}
.cp-float-card {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: 18px;
  width: min(300px, 78%);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(22,19,24,.88);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
}
.cp-float-card strong { display: block; color: #fff; font-size: .95rem; }
.cp-float-card span { color: rgba(255,255,255,.62); font-size: .78rem; }

.cp-section { padding: 90px 0; }
.cp-section-alt { background: var(--warm); }
.cp-section-dark { background: #161318; color: #fff; }
.cp-section-head { max-width: 760px; margin-bottom: 2rem; }
.cp-kicker { color: var(--brand); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 800; margin-bottom: .7rem; }
.cp-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; margin: 0; }
.cp-title span { color: var(--brand); }
.cp-copy { font-size: 1.02rem; line-height: 1.82; color: #5f5960; }
.cp-section-dark .cp-copy { color: rgba(255,255,255,.72); }

.cp-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 3rem; align-items: center; }
.cp-intro-image {
  position: relative;
  min-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(22,19,24,.18);
}
.cp-intro-image img { width: 100%; height: 115%; object-fit: cover; position: absolute; top: -7%; left: 0; will-change: transform; }
.cp-intro-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,13,16,.42)); }

.cp-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.cp-step {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid #e7e3e5;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,17,20,.06);
}
.cp-step::after { content: ""; position: absolute; right: -26px; bottom: -28px; width: 92px; height: 92px; border-radius: 50%; background: rgba(239,126,34,.08); }
.cp-step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #161318; color: #fff; font-size: .78rem; font-weight: 800; margin-bottom: 1rem; }
.cp-step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .65rem; }
.cp-step p { margin: 0; color: #6b656c; font-size: .9rem; line-height: 1.7; }

.cp-service-cloud { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin-top: 1.8rem; }
.cp-service-pill { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; border: 1px solid #e5e0e3; border-radius: 14px; background: #fff; font-size: .9rem; font-weight: 700; color: #3e3940; }
.cp-service-pill i { color: var(--brand); }

.cp-parallax-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #161318;
  color: #fff;
}
.cp-parallax-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.cp-parallax-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.cp-parallax-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22,19,24,.95) 0%, rgba(22,19,24,.82) 48%, rgba(22,19,24,.42) 100%); }
.cp-parallax-content { position: relative; z-index: 2; max-width: 690px; padding: 90px 0; }
.cp-parallax-content p { color: rgba(255,255,255,.76); font-size: 1.04rem; line-height: 1.8; }

.cp-chip-grid { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.45rem; }
.cp-chip { padding: .68rem .9rem; border-radius: 999px; background: #fff; border: 1px solid #e3dfe1; font-size: .86rem; font-weight: 700; color: #403a41; box-shadow: 0 8px 20px rgba(0,0,0,.035); }
.cp-choice-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .9rem; margin-top: 1.8rem; }
.cp-choice { padding: 1.25rem; border-radius: 17px; background: #1f1b20; border: 1px solid rgba(255,255,255,.08); }
.cp-choice i { color: #f59a50; font-size: 1.3rem; }
.cp-choice h3 { font-size: 1rem; margin: .8rem 0 .5rem; font-weight: 800; }
.cp-choice p { color: rgba(255,255,255,.62); font-size: .84rem; line-height: 1.65; margin: 0; }

.cp-mission-card { position: relative; overflow: hidden; border-radius: 26px; padding: 2.6rem; background: linear-gradient(135deg, #f7f4f5, #fff); border: 1px solid #e7e1e4; box-shadow: 0 20px 60px rgba(24,20,24,.08); }
.cp-mission-card::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -100px; top: -120px; background: rgba(239,126,34,.10); }
.cp-final-cta { padding: 80px 0; background: #161318; color: #fff; text-align: center; }
.cp-final-cta .cp-title { max-width: 800px; margin: 0 auto; }
.cp-final-cta p { max-width: 680px; margin: 1rem auto 1.5rem; color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.75; }
.cp-final-cta .btn { border: 1px solid rgba(255,255,255,.72) !important; }

/* Legal pages */
.legal-page { background: #f7f8f9; }
.legal-hero { min-height: 390px; padding: 68px 0; }
.legal-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.65rem); }
.legal-hero-art { min-height: 280px; }
.legal-hero .cp-photo-shell { inset: 10px 0 0 40px; border-radius: 22px; }
.legal-hero .cp-photo-frame { width: 70%; height: 72%; top: -12px; right: -12px; }
.legal-meta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.15rem; color: rgba(255,255,255,.66); font-size: .78rem; }
.legal-wrap { padding: 70px 0 90px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.legal-toc { position: sticky; top: 120px; padding: 1.2rem; border-radius: 16px; background: #fff; border: 1px solid #e6e3e5; box-shadow: 0 10px 30px rgba(20,17,20,.05); }
.legal-toc strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .11em; color: #302b30; margin-bottom: .7rem; }
.legal-toc a { display: block; padding: .38rem 0; color: #777078; text-decoration: none; font-size: .78rem; line-height: 1.4; }
.legal-toc a:hover { color: var(--brand); }
.legal-article { background: #fff; border: 1px solid #e6e3e5; border-radius: 22px; padding: clamp(1.5rem, 4vw, 3.25rem); box-shadow: 0 16px 45px rgba(20,17,20,.055); }
.legal-intro { padding-bottom: 1.4rem; border-bottom: 1px solid #ece8ea; margin-bottom: 1.7rem; }
.legal-article p { color: #615b62; font-size: .96rem; line-height: 1.78; margin-bottom: 1rem; }
.legal-section { scroll-margin-top: 120px; padding: 1.15rem 0 1.45rem; border-bottom: 1px solid #efedef; }
.legal-section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-section h2 { display: flex; align-items: flex-start; gap: .72rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; font-weight: 800; letter-spacing: -.025em; margin: 0 0 .85rem; color: #252126; }
.legal-section h2 .legal-num { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #fff1e6; color: #d96813; font-size: .75rem; font-weight: 800; }
.legal-list { margin: .5rem 0 1rem; padding-left: 1.15rem; color: #615b62; }
.legal-list li { margin: .38rem 0; padding-left: .15rem; font-size: .93rem; line-height: 1.65; }
.legal-list li::marker { color: var(--brand); }
.legal-contact { display: grid; gap: .45rem; margin-top: .9rem; padding: 1rem 1.05rem; border-radius: 14px; background: #f8f7f8; border: 1px solid #ebe7e9; }
.legal-contact a { color: #403a41; text-decoration: none; font-weight: 700; }
.legal-contact a:hover { color: var(--brand); }

@media (max-width: 1199.98px) {
  .cp-choice-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cp-step-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 991.98px) {
  .cp-hero { min-height: auto; padding: 66px 0; }
  .cp-hero-art { min-height: 360px; margin-top: 1rem; }
  .cp-intro-grid { grid-template-columns: 1fr; }
  .cp-intro-image { min-height: 340px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .25rem 1rem; }
  .legal-toc strong { grid-column: 1 / -1; }
  .legal-hero-art { min-height: 300px; }
}
@media (max-width: 767.98px) {
  .cp-section { padding: 68px 0; }
  .cp-service-cloud { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cp-choice-grid { grid-template-columns: 1fr; }
  .cp-parallax-banner { min-height: 470px; }
  .cp-parallax-banner::after { background: rgba(22,19,24,.78); }
  .cp-mission-card { padding: 1.6rem; }
  .legal-wrap { padding: 48px 0 68px; }
  .legal-article { border-radius: 18px; }
  .legal-toc { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .cp-hero h1 { font-size: 2.15rem; }
  .cp-hero-art { min-height: 310px; }
  .cp-photo-shell { inset: 10px 8px 0 8px; }
  .cp-float-card { left: 0; bottom: 0; }
  .cp-step-grid, .cp-service-cloud { grid-template-columns: 1fr; }
  .cp-intro-image { min-height: 290px; }
  .legal-hero .cp-photo-shell { inset: 6px 8px 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-photo-shell img, .cp-intro-image img, .cp-parallax-media { transform: none !important; }
}


/* Owned About-page imagery */
.about-page .cp-inline-owned-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(22, 19, 24, .12);
  background: #fff;
}
.about-page .cp-inline-owned-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
