/* =========================================================
   Campbell Web Systems
   Public Homepage Refinement v1.3.97
   Scope: index.html only
   Palette: deep ink, muted blue, ivory, champagne, white

   This stylesheet is intentionally page-scoped. It modernizes the
   homepage without replacing the long-established shared stylesheet,
   video hero structure, navigation, content, links, or JavaScript.
   ========================================================= */

:root {
  --cws-home-ink: #101c31;
  --cws-home-navy: #172743;
  --cws-home-navy-2: #1e3a5f;
  --cws-home-blue: #2f7dd3;
  --cws-home-blue-dark: #1f5fa8;
  --cws-home-blue-soft: #e8f2ff;
  --cws-home-ivory: #f8f7f2;
  --cws-home-champagne: #e8d6a8;
  --cws-home-champagne-soft: #fbf6e8;
  --cws-home-line: #dfe4ea;
  --cws-home-muted: #5f6673;
  --cws-home-white: #ffffff;
  --cws-home-shadow-sm: 0 14px 34px rgba(16, 28, 49, 0.08);
  --cws-home-shadow-md: 0 24px 60px rgba(16, 28, 49, 0.12);
  --cws-home-shadow-lg: 0 36px 92px rgba(16, 28, 49, 0.17);
  --cws-home-radius-sm: 16px;
  --cws-home-radius-md: 24px;
  --cws-home-radius-lg: 34px;
}

body.cws-public-home-refined {
  color: var(--cws-home-ink);
  background:
    radial-gradient(circle at 0 0, rgba(47, 125, 211, 0.075), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--cws-home-ivory) 54%, #ffffff 100%);
}

/* The shared stylesheet uses content-visibility for long pages. The homepage
   remains modest in length, so force its primary sections to render reliably
   during scrolling, accessibility review, printing, and full-page capture. */
.cws-public-home-refined main > section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.cws-public-home-refined .container {
  width: min(calc(100% - 36px), 1220px);
}

.cws-public-home-refined h1,
.cws-public-home-refined h2,
.cws-public-home-refined h3,
.cws-public-home-refined h4 {
  color: var(--cws-home-ink);
}

.cws-public-home-refined p {
  color: var(--cws-home-muted);
}

.cws-public-home-refined .eyebrow {
  color: var(--cws-home-blue-dark);
  font-weight: 800;
  letter-spacing: 0.13em;
}

/* =========================================================
   Shared homepage chrome
   ========================================================= */

.cws-public-home-refined .site-header {
  border-bottom-color: rgba(223, 228, 234, 0.82);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(16, 28, 49, 0.05);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.cws-public-home-refined .site-nav a[aria-current="page"] {
  color: var(--cws-home-blue-dark);
}

.cws-public-home-refined .build-bar {
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(90deg, #101c31 0%, #172743 50%, #1e3a5f 100%);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08);
}

.cws-public-home-refined .build-bar span:not(:last-child)::after {
  background: rgba(232, 214, 168, 0.65);
}

.cws-public-home-refined .btn {
  min-height: 48px;
  border-radius: 999px;
  box-shadow: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.cws-public-home-refined .btn:hover,
.cws-public-home-refined .btn:focus-visible {
  transform: translateY(-2px);
}

.cws-public-home-refined .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #172743, #234d7d);
  box-shadow: 0 14px 32px rgba(23, 39, 67, 0.22);
}

.cws-public-home-refined .btn-primary:hover,
.cws-public-home-refined .btn-primary:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #101c31, #1f5fa8);
  box-shadow: 0 18px 40px rgba(23, 39, 67, 0.28);
}

.cws-public-home-refined .btn-secondary {
  color: var(--cws-home-navy);
  border-color: rgba(23, 39, 67, 0.2);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(16, 28, 49, 0.07);
}

.cws-public-home-refined .btn-secondary:hover,
.cws-public-home-refined .btn-secondary:focus-visible {
  color: var(--cws-home-navy);
  border-color: rgba(47, 125, 211, 0.4);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 28, 49, 0.11);
}

/* =========================================================
   Video hero
   The existing video, copy placement, calls to action, proof stack,
   poster, and mobile behavior are preserved and carefully refined.
   ========================================================= */

.cws-public-home-refined .hero-video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 82px;
  background: var(--cws-home-navy);
}

.cws-public-home-refined .hero-video-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -235px;
  top: -250px;
  border: 1px solid rgba(232, 214, 168, 0.16);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 70px rgba(232, 214, 168, 0.025),
    0 0 0 140px rgba(47, 125, 211, 0.022);
  filter: none;
  pointer-events: none;
}

.cws-public-home-refined .hero-video-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(66%, 940px);
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 42%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3) 36%, transparent 70%);
}

.cws-public-home-refined .hero-background-video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(0.92) contrast(1.07);
}

.cws-public-home-refined .hero-background-overlay {
  background:
    radial-gradient(circle at 77% 40%, rgba(47, 125, 211, 0.16), transparent 27rem),
    linear-gradient(
      90deg,
      rgba(248, 247, 242, 0.985) 0%,
      rgba(248, 247, 242, 0.94) 31%,
      rgba(248, 247, 242, 0.54) 54%,
      rgba(16, 28, 49, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(248, 247, 242, 0.48) 47%,
      rgba(16, 28, 49, 0.3) 100%
    ) !important;
}

.cws-public-home-refined .hero-video-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.54fr) !important;
  gap: clamp(46px, 6vw, 82px) !important;
  align-items: start !important;
}

.cws-public-home-refined .hero-copy-panel {
  max-width: 670px;
  padding-top: 12px;
}

.cws-public-home-refined .hero-video-hero .hero-copy h1 {
  max-width: 670px;
  color: var(--cws-home-ink);
  font-size: clamp(2.75rem, 5.2vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
  text-wrap: balance;
  text-shadow:
    0 2px 18px rgba(255, 255, 255, 0.76),
    0 1px 0 rgba(255, 255, 255, 0.45);
}

.cws-public-home-refined .hero-video-hero .eyebrow {
  max-width: 620px;
  margin-bottom: 19px;
  color: var(--cws-home-blue-dark);
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.72);
}

.cws-public-home-refined .hero-video-hero .hero-lede {
  max-width: 650px;
  margin-top: 25px;
  color: #334155;
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.76;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.64);
}

.cws-public-home-refined .hero-video-hero .hero-actions {
  gap: 13px;
  margin-top: 29px;
}

.cws-public-home-refined .hero-video-hero .btn-primary {
  box-shadow: 0 16px 36px rgba(16, 28, 49, 0.25);
}

.cws-public-home-refined .hero-video-hero .btn-secondary {
  color: var(--cws-home-navy);
  border-color: rgba(23, 39, 67, 0.18);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cws-public-home-refined .hero-video-hero .trust-row {
  gap: 9px;
  margin-top: 23px;
}

.cws-public-home-refined .hero-video-hero .trust-row span {
  min-height: 34px;
  padding: 8px 12px;
  border-color: rgba(23, 39, 67, 0.12);
  color: var(--cws-home-navy);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(16, 28, 49, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 760;
}

.cws-public-home-refined .hero-proof-stack {
  position: relative;
  justify-self: end;
  width: min(100%, 435px);
  padding: clamp(8px, 2vw, 18px) 0 0 clamp(22px, 3vw, 38px);
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.cws-public-home-refined .hero-proof-stack::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 11px;
  width: 7px;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cws-home-champagne), rgba(47, 125, 211, 0.85));
  box-shadow: 0 0 24px rgba(47, 125, 211, 0.28);
}

.cws-public-home-refined .hero-proof-kicker {
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(16, 28, 49, 0.36);
  box-shadow: 0 16px 36px rgba(16, 28, 49, 0.18);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.cws-public-home-refined .hero-proof-kicker .status-dot {
  width: 9px;
  height: 9px;
  background: var(--cws-home-champagne);
  box-shadow: 0 0 0 6px rgba(232, 214, 168, 0.13);
}

.cws-public-home-refined .hero-proof-kicker span:last-child {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.115em;
}

.cws-public-home-refined .hero-proof-stack h2 {
  max-width: 420px;
  color: #ffffff;
  font-size: clamp(2.15rem, 3.3vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.cws-public-home-refined .hero-proof-stack p {
  max-width: 410px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.72;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.cws-public-home-refined .hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.cws-public-home-refined .hero-proof-list span {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(16, 28, 49, 0.36);
  box-shadow: 0 12px 28px rgba(16, 28, 49, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Preserve the carefully established desktop lift. */
@media (min-width: 901px) {
  .cws-public-home-refined .hero-copy-panel {
    transform: translateY(-52px) !important;
  }

  .cws-public-home-refined .hero-proof-stack {
    transform: translateY(-27px) !important;
  }
}

/* =========================================================
   Intro
   ========================================================= */

.cws-public-home-refined .home-intro {
  position: relative;
  overflow: hidden;
  padding-top: clamp(60px, 7vw, 88px);
  padding-bottom: clamp(60px, 7vw, 88px);
  border-top: 0;
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  background:
    radial-gradient(circle at 88% 20%, rgba(47, 125, 211, 0.08), transparent 25rem),
    linear-gradient(180deg, #ffffff, var(--cws-home-ivory));
}

.cws-public-home-refined .home-intro::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -230px;
  bottom: -250px;
  border: 1px solid rgba(232, 214, 168, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(232, 214, 168, 0.045);
}

.cws-public-home-refined .home-intro .split-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
}

.cws-public-home-refined .home-intro h2 {
  max-width: 580px;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cws-public-home-refined .home-intro .split-grid > div:last-child {
  position: relative;
  padding: 7px 0 7px clamp(24px, 3vw, 42px);
  border-left: 2px solid rgba(47, 125, 211, 0.23);
}

.cws-public-home-refined .home-intro .split-grid > div:last-child::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 8px;
  height: 68px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cws-home-blue), var(--cws-home-champagne));
}

.cws-public-home-refined .home-intro p {
  max-width: 690px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.82;
}

.cws-public-home-refined .home-intro p + p {
  margin-top: 19px;
}

/* =========================================================
   Why CWS
   ========================================================= */

.cws-public-home-refined .why-cws {
  position: relative;
  isolation: isolate;
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: clamp(78px, 9vw, 120px);
  background:
    radial-gradient(circle at 50% -14%, rgba(47, 125, 211, 0.09), transparent 31rem),
    #ffffff;
}

.cws-public-home-refined .why-cws .center-heading {
  max-width: 790px;
}

.cws-public-home-refined .why-cws .center-heading h2,
.cws-public-home-refined .home-services .center-heading h2,
.cws-public-home-refined .home-portfolio .center-heading h2 {
  font-size: clamp(2.05rem, 3.8vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.046em;
  text-wrap: balance;
}

.cws-public-home-refined .why-cws .center-heading > p:last-child,
.cws-public-home-refined .home-portfolio .center-heading > p:last-child {
  max-width: 700px;
  margin-top: 20px;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.74;
}

.cws-public-home-refined .why-cws .card-grid {
  gap: 18px;
  margin-top: clamp(38px, 5vw, 58px);
}

.cws-public-home-refined .why-cws .summary-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: grid;
  align-content: start;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(30, 58, 95, 0.11);
  border-radius: var(--cws-home-radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.92));
  box-shadow: var(--cws-home-shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cws-public-home-refined .why-cws .summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cws-home-blue), var(--cws-home-champagne));
  opacity: 0.72;
}

.cws-public-home-refined .why-cws .summary-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -94px;
  bottom: -102px;
  border: 1px solid rgba(47, 125, 211, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(47, 125, 211, 0.024);
}

.cws-public-home-refined .why-cws .summary-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 125, 211, 0.22);
  box-shadow: var(--cws-home-shadow-md);
}

.cws-public-home-refined .why-cws .card-number {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(47, 125, 211, 0.2);
  border-radius: 16px;
  color: var(--cws-home-blue-dark);
  background: var(--cws-home-blue-soft);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.cws-public-home-refined .why-cws .summary-card h3 {
  position: relative;
  z-index: 1;
  max-width: 300px;
  color: var(--cws-home-ink);
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.cws-public-home-refined .why-cws .summary-card p {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--cws-home-muted);
  font-size: 0.97rem;
  line-height: 1.72;
}

/* =========================================================
   Services preview
   ========================================================= */

.cws-public-home-refined .home-services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(78px, 9vw, 120px);
  padding-bottom: clamp(80px, 9vw, 124px);
  border-top: 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(47, 125, 211, 0.38), transparent 22rem),
    radial-gradient(circle at 0 100%, rgba(232, 214, 168, 0.11), transparent 24rem),
    linear-gradient(145deg, #101c31, #172743 50%, #1e3a5f);
}

.cws-public-home-refined .home-services::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -270px;
  top: -290px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, 0.02),
    0 0 0 144px rgba(232, 214, 168, 0.018);
}

.cws-public-home-refined .home-services .eyebrow {
  color: var(--cws-home-champagne);
}

.cws-public-home-refined .home-services .center-heading h2 {
  color: #ffffff;
}

.cws-public-home-refined .home-services .center-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.cws-public-home-refined .home-service-list {
  gap: 12px;
  margin-top: clamp(38px, 5vw, 58px);
}

.cws-public-home-refined .home-service-row {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(250px, 0.82fr) minmax(320px, 1.15fr) auto;
  gap: clamp(22px, 3.5vw, 46px);
  min-height: 132px;
  padding: 25px 27px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.cws-public-home-refined .home-service-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cws-home-blue), var(--cws-home-champagne));
  opacity: 0;
  transition: opacity 180ms ease;
}

.cws-public-home-refined .home-service-row:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 214, 168, 0.26);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 22px 48px rgba(4, 12, 24, 0.2);
}

.cws-public-home-refined .home-service-row:hover::before {
  opacity: 1;
}

.cws-public-home-refined .home-service-row > div {
  min-width: 0;
}

.cws-public-home-refined .home-service-row div span {
  margin-bottom: 9px;
  color: var(--cws-home-champagne);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.cws-public-home-refined .home-service-row h3 {
  color: #ffffff;
  font-size: clamp(1.16rem, 1.75vw, 1.48rem);
  line-height: 1.2;
}

.cws-public-home-refined .home-service-row p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.68;
}

.cws-public-home-refined .home-service-row > a {
  position: relative;
  justify-self: end;
  min-width: 158px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(232, 214, 168, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(232, 214, 168, 0.11);
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.cws-public-home-refined .home-service-row > a::after {
  content: "→";
  color: var(--cws-home-champagne);
  transition: transform 180ms ease;
}

.cws-public-home-refined .home-service-row > a:hover,
.cws-public-home-refined .home-service-row > a:focus-visible {
  color: #ffffff;
  border-color: rgba(232, 214, 168, 0.55);
  background: rgba(232, 214, 168, 0.18);
  transform: translateY(-1px);
}

.cws-public-home-refined .home-service-row > a:hover::after,
.cws-public-home-refined .home-service-row > a:focus-visible::after {
  transform: translateX(3px);
}

.cws-public-home-refined .home-services-action {
  margin-top: 34px;
}

.cws-public-home-refined .home-services-action .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: none;
}

.cws-public-home-refined .home-services-action .btn-secondary:hover,
.cws-public-home-refined .home-services-action .btn-secondary:focus-visible {
  color: var(--cws-home-navy);
  border-color: #ffffff;
  background: #ffffff;
}

/* =========================================================
   Workflow
   ========================================================= */

.cws-public-home-refined .home-workflow {
  position: relative;
  overflow: hidden;
  padding-top: clamp(78px, 9vw, 120px);
  padding-bottom: clamp(80px, 9vw, 124px);
  background:
    radial-gradient(circle at 4% 8%, rgba(47, 125, 211, 0.075), transparent 27rem),
    linear-gradient(180deg, #ffffff, var(--cws-home-ivory));
}

.cws-public-home-refined .home-workflow .readiness-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.cws-public-home-refined .home-workflow h2 {
  max-width: 620px;
  font-size: clamp(2.05rem, 3.8vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.047em;
  text-wrap: balance;
}

.cws-public-home-refined .home-workflow .readiness-grid > div:first-child > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: var(--cws-home-muted);
  font-size: clamp(0.99rem, 1.2vw, 1.08rem);
  line-height: 1.76;
}

.cws-public-home-refined .home-workflow .hero-actions {
  gap: 13px;
  margin-top: 29px;
}

.cws-public-home-refined .home-workflow .readiness-list {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0;
  padding: clamp(18px, 2.8vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--cws-home-radius-lg);
  background:
    radial-gradient(circle at 92% 7%, rgba(47, 125, 211, 0.34), transparent 16rem),
    linear-gradient(145deg, #101c31, #172743 54%, #1f416b);
  box-shadow: var(--cws-home-shadow-lg);
}

.cws-public-home-refined .home-workflow .readiness-list::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -118px;
  bottom: -130px;
  border: 1px solid rgba(232, 214, 168, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(232, 214, 168, 0.04);
}

.cws-public-home-refined .home-workflow .readiness-list > div {
  position: relative;
  z-index: 1;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  padding: 20px 5px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
  background: transparent;
}

.cws-public-home-refined .home-workflow .readiness-list > div:last-child {
  border-bottom: 0;
}

.cws-public-home-refined .home-workflow .readiness-list strong {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 214, 168, 0.26);
  border-radius: 15px;
  color: var(--cws-home-champagne);
  background: rgba(232, 214, 168, 0.08);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.075em;
}

.cws-public-home-refined .home-workflow .readiness-list span {
  padding-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 620;
  line-height: 1.62;
}

/* =========================================================
   Portfolio preview
   ========================================================= */

.cws-public-home-refined .home-portfolio {
  position: relative;
  overflow: hidden;
  padding-top: clamp(80px, 9vw, 124px);
  padding-bottom: clamp(80px, 9vw, 124px);
  border-top: 1px solid rgba(223, 228, 234, 0.84);
  border-bottom: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 125, 211, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--cws-home-blue-soft), #ffffff 78%);
}

.cws-public-home-refined .home-portfolio .center-heading {
  max-width: 800px;
}

.cws-public-home-refined .home-portfolio .card-grid {
  gap: 18px;
  margin-top: clamp(40px, 5vw, 60px);
}

.cws-public-home-refined .home-portfolio .portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(27px, 3vw, 37px);
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: var(--cws-home-radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--cws-home-shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.cws-public-home-refined .home-portfolio .portfolio-card::before {
  content: "";
  width: 54px;
  height: 4px;
  margin-bottom: 31px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cws-home-blue), var(--cws-home-champagne));
}

.cws-public-home-refined .home-portfolio .portfolio-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -112px;
  bottom: -118px;
  border: 1px solid rgba(47, 125, 211, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(47, 125, 211, 0.025);
}

.cws-public-home-refined .home-portfolio .portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 125, 211, 0.24);
  box-shadow: var(--cws-home-shadow-md);
}

.cws-public-home-refined .home-portfolio .portfolio-card h3 {
  position: relative;
  z-index: 1;
  color: var(--cws-home-ink);
  font-size: clamp(1.32rem, 1.9vw, 1.65rem);
  line-height: 1.16;
}

.cws-public-home-refined .home-portfolio .portfolio-card p {
  position: relative;
  z-index: 1;
  margin-top: 17px;
  color: var(--cws-home-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.cws-public-home-refined .home-portfolio .portfolio-chip-link {
  position: relative;
  z-index: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 11px 17px;
  border: 1px solid rgba(23, 39, 67, 0.18);
  border-radius: 999px;
  color: var(--cws-home-navy);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 28, 49, 0.07);
  font-size: 0.84rem;
  font-weight: 780;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.cws-public-home-refined .home-portfolio .portfolio-chip-link::after {
  content: "→";
  color: var(--cws-home-blue-dark);
  transition: transform 180ms ease;
}

.cws-public-home-refined .home-portfolio .portfolio-chip-link:hover,
.cws-public-home-refined .home-portfolio .portfolio-chip-link:focus-visible {
  color: var(--cws-home-navy);
  border-color: rgba(47, 125, 211, 0.4);
  box-shadow: 0 14px 28px rgba(16, 28, 49, 0.11);
  transform: translateY(-2px);
}

.cws-public-home-refined .home-portfolio .portfolio-chip-link:hover::after,
.cws-public-home-refined .home-portfolio .portfolio-chip-link:focus-visible::after {
  transform: translateX(3px);
}

.cws-public-home-refined .home-portfolio .home-services-action {
  margin-top: 35px;
}

/* =========================================================
   Final call to action
   ========================================================= */

.cws-public-home-refined .page-cta {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 86px);
  padding-bottom: clamp(70px, 8vw, 102px);
  border-top: 0;
  background: linear-gradient(180deg, #ffffff, var(--cws-home-ivory));
}

.cws-public-home-refined .page-cta-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--cws-home-radius-lg);
  background:
    radial-gradient(circle at 92% 6%, rgba(47, 125, 211, 0.36), transparent 16rem),
    linear-gradient(145deg, #101c31, #172743 52%, #1f416b);
  box-shadow: var(--cws-home-shadow-lg);
}

.cws-public-home-refined .page-cta-inner::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.cws-public-home-refined .page-cta-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -135px;
  border: 1px solid rgba(232, 214, 168, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(232, 214, 168, 0.04);
}

.cws-public-home-refined .page-cta .eyebrow {
  color: var(--cws-home-champagne);
}

.cws-public-home-refined .page-cta h2 {
  max-width: 730px;
  color: #ffffff;
  font-size: clamp(1.95rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.043em;
  text-wrap: balance;
}

.cws-public-home-refined .page-cta p {
  max-width: 720px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  line-height: 1.72;
}

.cws-public-home-refined .page-cta .btn-primary {
  min-width: 210px;
  color: var(--cws-home-navy);
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(4, 12, 24, 0.24);
}

.cws-public-home-refined .page-cta .btn-primary:hover,
.cws-public-home-refined .page-cta .btn-primary:focus-visible {
  color: var(--cws-home-navy);
  border-color: var(--cws-home-champagne);
  background: var(--cws-home-champagne-soft);
  box-shadow: 0 20px 40px rgba(4, 12, 24, 0.3);
}

/* =========================================================
   Footer refinement
   ========================================================= */

.cws-public-home-refined .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 125, 211, 0.17), transparent 23rem),
    #101c31;
}

.cws-public-home-refined .site-footer h2,
.cws-public-home-refined .site-footer .brand-text strong,
.cws-public-home-refined .site-footer .brand-text span {
  color: #ffffff;
}

.cws-public-home-refined .site-footer p,
.cws-public-home-refined .site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.cws-public-home-refined .site-footer a:hover,
.cws-public-home-refined .site-footer a:focus-visible {
  color: #ffffff;
}

.cws-public-home-refined .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   Responsive behavior
   ========================================================= */

@media (max-width: 1100px) {
  .cws-public-home-refined .hero-video-hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .cws-public-home-refined .hero-video-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 42px !important;
  }

  .cws-public-home-refined .hero-copy-panel,
  .cws-public-home-refined .hero-proof-stack {
    justify-self: start;
    width: min(100%, 720px);
    max-width: 720px;
    transform: none !important;
  }

  .cws-public-home-refined .hero-proof-stack {
    padding-left: 32px;
  }

  .cws-public-home-refined .hero-background-video {
    object-position: 62% center;
  }

  .cws-public-home-refined .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.98) 0%,
        rgba(248, 247, 242, 0.91) 46%,
        rgba(16, 28, 49, 0.58) 100%
      ) !important;
  }

  .cws-public-home-refined .hero-video-hero::after {
    width: 100%;
    background:
      radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46) 42%, transparent 78%);
  }

  .cws-public-home-refined .home-service-row {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  }

  .cws-public-home-refined .home-service-row > a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cws-public-home-refined .home-workflow .readiness-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.92fr);
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .cws-public-home-refined .home-intro .split-grid,
  .cws-public-home-refined .home-workflow .readiness-grid,
  .cws-public-home-refined .card-grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .cws-public-home-refined .home-intro .split-grid {
    gap: 34px;
  }

  .cws-public-home-refined .home-intro .split-grid > div:last-child {
    padding-left: 28px;
  }

  .cws-public-home-refined .why-cws .summary-card,
  .cws-public-home-refined .home-portfolio .portfolio-card {
    min-height: 0;
  }

  .cws-public-home-refined .home-workflow .readiness-grid {
    gap: 42px;
  }
}

@media (max-width: 700px) {
  .cws-public-home-refined .container {
    width: min(calc(100% - 24px), 1220px);
  }

  .cws-public-home-refined .hero-video-hero {
    min-height: auto;
    padding-top: 51px;
    padding-bottom: 58px;
  }

  .cws-public-home-refined .hero-video-layout {
    display: block !important;
  }

  .cws-public-home-refined .hero-copy-panel {
    max-width: 100%;
    padding-top: 0;
    transform: none !important;
  }

  .cws-public-home-refined .hero-video-hero .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 3.7rem);
    line-height: 1.01;
  }

  .cws-public-home-refined .hero-video-hero .eyebrow {
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .cws-public-home-refined .hero-video-hero .hero-lede {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .cws-public-home-refined .hero-video-hero .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .cws-public-home-refined .hero-video-hero .hero-actions .btn {
    width: 100%;
  }

  .cws-public-home-refined .hero-video-hero .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .cws-public-home-refined .hero-video-hero .trust-row span {
    justify-content: center;
    text-align: center;
  }

  .cws-public-home-refined .hero-proof-stack {
    display: none !important;
  }

  .cws-public-home-refined .hero-background-video {
    object-position: 65% center;
    opacity: 0.46;
  }

  .cws-public-home-refined .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.985) 0%,
        rgba(248, 247, 242, 0.94) 45%,
        rgba(248, 247, 242, 0.84) 76%,
        rgba(16, 28, 49, 0.31) 100%
      ) !important;
  }

  .cws-public-home-refined .home-intro,
  .cws-public-home-refined .why-cws,
  .cws-public-home-refined .home-services,
  .cws-public-home-refined .home-workflow,
  .cws-public-home-refined .home-portfolio {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .cws-public-home-refined .home-intro .split-grid > div:last-child {
    padding-left: 24px;
  }

  .cws-public-home-refined .home-service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 23px;
    border-radius: 20px;
  }

  .cws-public-home-refined .home-service-row > a {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .cws-public-home-refined .home-workflow .readiness-list {
    padding: 16px 20px;
    border-radius: 25px;
  }

  .cws-public-home-refined .home-workflow .readiness-list > div {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .cws-public-home-refined .home-workflow .readiness-list strong {
    width: 42px;
    height: 42px;
  }

  .cws-public-home-refined .why-cws .summary-card,
  .cws-public-home-refined .home-portfolio .portfolio-card {
    padding: 25px;
    border-radius: 22px;
  }

  .cws-public-home-refined .page-cta {
    padding-top: 52px;
    padding-bottom: 72px;
  }

  .cws-public-home-refined .page-cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 28px;
    border-radius: 25px;
  }

  .cws-public-home-refined .page-cta .btn-primary {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .cws-public-home-refined .hero-video-hero {
    padding-top: 45px;
    padding-bottom: 51px;
  }

  .cws-public-home-refined .hero-video-hero .trust-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cws-public-home-refined .hero-background-video {
    object-position: 68% center;
    opacity: 0.36;
  }

  .cws-public-home-refined .home-intro,
  .cws-public-home-refined .why-cws,
  .cws-public-home-refined .home-services,
  .cws-public-home-refined .home-workflow,
  .cws-public-home-refined .home-portfolio {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .cws-public-home-refined .home-intro .split-grid > div:last-child {
    padding-left: 20px;
  }

  .cws-public-home-refined .home-workflow .readiness-list {
    padding: 13px 17px;
  }

  .cws-public-home-refined .page-cta-inner {
    padding: 24px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cws-public-home-refined .why-cws .summary-card:hover,
  .cws-public-home-refined .home-service-row:hover,
  .cws-public-home-refined .home-portfolio .portfolio-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cws-public-home-refined .hero-background-video {
    animation: none;
  }

  .cws-public-home-refined .reveal {
    opacity: 1;
    transform: none;
  }

  .cws-public-home-refined .btn,
  .cws-public-home-refined .summary-card,
  .cws-public-home-refined .home-service-row,
  .cws-public-home-refined .portfolio-card,
  .cws-public-home-refined .portfolio-chip-link {
    transition: none;
  }
}

@media print {
  .cws-public-home-refined .hero-background-video,
  .cws-public-home-refined .hero-background-overlay,
  .cws-public-home-refined .hero-proof-stack {
    display: none !important;
  }

  .cws-public-home-refined .hero-video-hero,
  .cws-public-home-refined .home-services,
  .cws-public-home-refined .home-workflow .readiness-list,
  .cws-public-home-refined .page-cta-inner {
    color: #000000;
    background: #ffffff;
    box-shadow: none;
  }

  .cws-public-home-refined .home-services h2,
  .cws-public-home-refined .home-services h3,
  .cws-public-home-refined .home-services p,
  .cws-public-home-refined .home-service-row a,
  .cws-public-home-refined .home-workflow .readiness-list span,
  .cws-public-home-refined .page-cta h2,
  .cws-public-home-refined .page-cta p {
    color: #000000;
  }
}


/* v1.3.98 — Ultimate Website Partner package */
.cws-public-home-refined .home-service-row--ultimate {
  border-color: rgba(232, 214, 168, 0.38);
  background:
    linear-gradient(115deg, rgba(232, 214, 168, 0.14), rgba(255, 255, 255, 0.09) 48%, rgba(47, 125, 211, 0.12));
  box-shadow: 0 24px 58px rgba(4, 12, 24, 0.22), inset 0 1px rgba(255, 255, 255, 0.08);
}

.cws-public-home-refined .home-service-row--ultimate::before {
  width: 5px;
  opacity: 1;
}

.cws-public-home-refined .home-service-row--ultimate h3::after {
  content: "Managed hosting included";
  display: block;
  width: fit-content;
  margin-top: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(232, 214, 168, 0.34);
  border-radius: 999px;
  color: var(--cws-home-champagne);
  background: rgba(232, 214, 168, 0.08);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cws-public-home-refined .home-service-row--ultimate > a {
  border-color: rgba(232, 214, 168, 0.5);
  background: rgba(232, 214, 168, 0.16);
}
