:root {
  --black: #070909;
  --charcoal: #111716;
  --graphite: #161a1d;
  --cream: #f4efe5;
  --muted: #aeb7b3;
  --text: #f8f4ec;
  --ink: #141716;
  --copper: #b88746;
  --copper-2: #d5a65f;
  --blue: #3197ff;
  --blue-soft: #63c7ff;
  --green: #7bbf91;
  --line: rgba(255,255,255,.14);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  min-height: 76px;
  background: rgba(7, 9, 9, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--copper);
  color: var(--copper-2);
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: .95rem;
  letter-spacing: .09em;
}

.brand-text em {
  font-style: normal;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .16em;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.nav a:hover { color: var(--copper-2); }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.nav-cta,
.button.primary {
  background: linear-gradient(135deg, var(--copper), var(--copper-2));
  color: #17110a;
  box-shadow: 0 12px 30px rgba(184,135,70,.23);
}

.button.secondary {
  border: 1px solid rgba(255,255,255,.38);
  color: var(--text);
}

.button.dark { color: #17110a; }

/* HERO V6: rebuilt above-the-fold */
.hero-v6 {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: #121618;
}

.hero-v6-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,9,9,.98) 0%, rgba(7,9,9,.86) 46%, rgba(7,9,9,.42) 100%),
    url("assets/csc-hero-ai-systems-graphite.jpg");
  background-size: cover;
  background-position: center;
}

.hero-v6::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .75;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.32));
}

.hero-v6-inner {
  width: min(1220px, 90vw);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

.hero-v6 h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 6.9vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-v6-text {
  max-width: 720px;
  color: #dce5e1;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions.center { justify-content: center; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(99,199,255,.34);
  background: rgba(49,151,255,.075);
  color: #eaf7ff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-command-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(99,199,255,.45);
  background:
    linear-gradient(145deg, rgba(12, 16, 18, .78), rgba(9, 12, 13, .46));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 36px rgba(49,151,255,.16),
    0 28px 90px rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
}

.hero-command-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background:
    linear-gradient(90deg, transparent, rgba(99,199,255,.82), transparent) border-box;
  opacity: .65;
  pointer-events: none;
}

.command-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 900;
  margin-bottom: 26px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(123,191,145,.85);
}

.command-headline {
  display: grid;
  gap: 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fffaf0;
}

.signal-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0;
}

.signal-line i {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--copper-2), var(--blue-soft));
  box-shadow: 0 0 18px rgba(49,151,255,.28);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-grid div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
}

.metric-grid b {
  display: block;
  color: var(--copper-2);
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.metric-grid span {
  color: #dbe5e1;
  font-weight: 800;
  font-size: .9rem;
}

/* Shared sections */
.section-inner {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 96px 0;
}

.section-inner.narrow {
  width: min(880px, 88vw);
  text-align: center;
}

.section-lead {
  max-width: 880px;
  color: #cbd4d0;
  font-size: 1.08rem;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-light {
  background: var(--cream);
  color: var(--ink);
}

.section-light p {
  color: #3f4542;
  font-size: 1.08rem;
}

.section-dark {
  background: linear-gradient(180deg, var(--charcoal), var(--black));
  color: var(--text);
}

.services-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(49,151,255,.10), transparent 28%),
    linear-gradient(180deg, var(--charcoal), var(--black));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.service-box {
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  box-shadow: 0 14px 50px rgba(0,0,0,.16);
}

.service-box[open] {
  border-color: rgba(49,151,255,.48);
  box-shadow: 0 0 28px rgba(49,151,255,.12), 0 20px 60px rgba(0,0,0,.22);
}

.service-box summary {
  min-height: 250px;
  padding: 28px;
  cursor: pointer;
  list-style: none;
}

.service-box summary::-webkit-details-marker { display: none; }

.service-box summary span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-soft);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.service-box summary h3 { color: #fffaf0; }
.service-box summary p { color: #c4ccc8; margin-bottom: 0; }

.service-box summary::after {
  content: "Open details +";
  display: inline-block;
  margin-top: 24px;
  color: var(--copper-2);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-box[open] summary::after {
  content: "Close details −";
  color: var(--blue-soft);
}

.service-detail {
  padding: 0 28px 30px;
  color: #d7dfdc;
}

.service-detail p { color: #d7dfdc; }
.service-detail strong { display: block; margin-top: 18px; color: #fffaf0; }
.service-detail ul { margin: 10px 0 0; padding-left: 20px; }
.service-detail li { margin: 6px 0; color: #cbd4d0; }

.credibility-section {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 110px 6vw;
  background:
    radial-gradient(circle at 50% 18%, rgba(49,151,255,.12), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(184,135,70,.10), transparent 32%),
    linear-gradient(135deg, #161a1d 0%, #101415 42%, #080a0b 100%);
}

.credibility-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: .20;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.16) 46.2%, transparent 46.8%),
    linear-gradient(35deg, transparent 0 52%, rgba(49,151,255,.18) 52.2%, transparent 52.8%),
    linear-gradient(155deg, transparent 0 61%, rgba(255,255,255,.10) 61.2%, transparent 61.7%);
  background-size: 360px 360px, 420px 420px, 520px 520px;
  transform: perspective(900px) rotateX(58deg) rotateZ(-16deg) translateY(-80px);
}

.geometry-field {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 35% 40%, rgba(49,151,255,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 69% 56%, rgba(213,166,95,.18) 0 2px, transparent 3px);
  background-size: 72px 72px, 72px 72px, 220px 220px, 260px 260px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,.9), rgba(0,0,0,.2) 70%, transparent 100%);
}

.credibility-card {
  position: relative;
  z-index: 2;
  width: min(980px, 92vw);
  padding: clamp(34px, 5vw, 72px);
  color: var(--text);
  text-align: center;
  background: linear-gradient(145deg, rgba(18, 22, 24, .96), rgba(8, 11, 12, .92));
  border: 1px solid rgba(49, 151, 255, .85);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 24px rgba(49,151,255,.36), 0 0 72px rgba(49,151,255,.18), 0 28px 90px rgba(0,0,0,.55);
}

.credibility-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(49,151,255,1) 9%, transparent 13% 37%, rgba(213,166,95,.85) 42%, transparent 48% 71%, rgba(49,151,255,1) 76%, transparent 82%),
    linear-gradient(180deg, transparent 0 12%, rgba(49,151,255,.92) 18%, transparent 24% 66%, rgba(49,151,255,.95) 72%, transparent 82%);
  filter: blur(8px);
  opacity: .78;
}

.credibility-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.credibility-card .eyebrow { color: var(--blue-soft); }

.credibility-card h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.4rem, 4.6vw, 5.1rem);
  color: #fffaf0;
}

.credibility-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #d4ddd9;
  font-size: 1.08rem;
}

.quote.electric {
  margin-top: 34px;
  padding: 22px 26px;
  border-top: 1px solid rgba(49,151,255,.55);
  border-bottom: 1px solid rgba(49,151,255,.55);
  color: #ffffff !important;
  background: rgba(49,151,255,.06);
  box-shadow: 0 0 28px rgba(49,151,255,.14) inset;
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}

.process-grid div {
  padding: 28px 20px;
  background: var(--charcoal);
}

.process-grid span {
  color: var(--copper-2);
  font-weight: 900;
  letter-spacing: .12em;
}

.process-grid p { color: #c4ccc8; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 60px;
  align-items: start;
}

.deliverables {
  padding: 34px;
  background: #fffaf0;
  border: 1px solid #d8cbb6;
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
}

.deliverables ul { margin: 0; padding-left: 20px; }
.deliverables li { margin: 10px 0; font-weight: 700; }

.elite-close {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(49,151,255,.14), transparent 30%),
    radial-gradient(circle at 22% 80%, rgba(184,135,70,.15), transparent 34%),
    linear-gradient(180deg, #0d1112 0%, #070909 100%);
  color: var(--text);
}

.elite-close::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .65;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.elite-close .section-inner {
  position: relative;
  z-index: 2;
  padding-top: 104px;
  padding-bottom: 92px;
}

.closing-intro { max-width: 1050px; margin-bottom: 42px; }
.closing-intro h2 { max-width: 1080px; }
.closing-intro p { max-width: 900px; color: #cbd4d0; font-size: 1.1rem; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.benefit-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.benefit-grid article span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--copper-2);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.benefit-grid article h3 { font-size: 1.38rem; line-height: 1.22; color: #fffaf0; }
.benefit-grid article p { color: #c4ccc8; margin-bottom: 0; }

.time-value-panel {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(320px, 1fr);
  gap: 38px;
  align-items: center;
  margin-top: 48px;
  padding: 42px;
  border: 1px solid rgba(49,151,255,.42);
  background: linear-gradient(145deg, rgba(49,151,255,.08), rgba(184,135,70,.07)), rgba(255,255,255,.035);
  box-shadow: 0 0 42px rgba(49,151,255,.10), 0 22px 70px rgba(0,0,0,.26);
}

.time-value-panel h2 { font-size: clamp(2rem, 3vw, 3.5rem); margin-bottom: 0; }
.time-value-panel p { color: #d4ddd9; font-size: 1.1rem; margin-bottom: 0; }

.final-cta {
  background:
    linear-gradient(rgba(7,9,9,.86), rgba(7,9,9,.92)),
    radial-gradient(circle at 50% 0%, rgba(184,135,70,.35), transparent 38%),
    var(--black);
  text-align: center;
  color: var(--text);
}

.final-cta .section-inner { padding: 110px 0; }
.final-cta p { color: #d4ddd9; font-size: 1.1rem; }

.final-cta.upgraded {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 50% 8%, rgba(213,166,95,.24), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(49,151,255,.16), transparent 38%),
    linear-gradient(180deg, #090c0d 0%, #040505 100%);
}

.final-cta.upgraded::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213,166,95,.85), rgba(49,151,255,.7), transparent);
}

.final-cta.upgraded h2 { font-size: clamp(2.6rem, 4.8vw, 5.2rem); }
.final-cta.upgraded p { max-width: 900px; margin-left: auto; margin-right: auto; }

footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 36px 6vw;
  background: #050606;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}

footer strong { color: var(--text); text-transform: uppercase; letter-spacing: .1em; }

/* Tablet-first */
@media (max-width: 1060px) {
  .nav { display: none; }

  .site-header {
    min-height: 70px;
  }

  .hero-v6,
  .hero-v6-inner {
    min-height: auto;
  }

  .hero-v6-inner {
    grid-template-columns: 1fr;
    padding: 64px 0 70px;
  }

  .hero-v6 h1 {
    max-width: 900px;
    font-size: clamp(3.4rem, 9vw, 6.2rem);
  }

  .hero-command-card {
    max-width: 760px;
  }

  .service-grid,
  .benefit-grid,
  .time-value-panel,
  .two-column {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 700px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand { min-width: auto; }
  .brand-text em { display: none; }
  .nav-cta { display: none; }

  .hero-v6-inner {
    width: min(100% - 36px, 1220px);
    padding: 46px 0 52px;
    gap: 34px;
  }

  .hero-v6 h1 {
    font-size: clamp(2.85rem, 13vw, 4.35rem);
    line-height: .9;
  }

  .hero-v6-text {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row span {
    font-size: .68rem;
  }

  .hero-command-card {
    padding: 22px;
  }

  .command-headline {
    font-size: 1.55rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 36px, 1180px);
    padding: 72px 0;
  }

  .credibility-section {
    padding: 78px 18px;
    min-height: auto;
  }

  .credibility-card {
    text-align: left;
    padding: 34px 24px;
  }

  .credibility-card h2 {
    font-size: 2.5rem;
  }

  .credibility-card::after {
    inset: 10px;
  }

  .time-value-panel {
    padding: 30px;
  }
}
