/* ============================================================
   Process page styles.
   Source: /docs/mockups/process.html.

   Patterns shared with homepage/About already live in tokens,
   base, components/sections.css, and components/cta-section.css.
   Patterns here that may move to shared when a second page uses
   them:
   - .section-tinted (tinted light background, used twice on this
     page — likely reused on Pricing/Strategy when those land)
   - .arc-grid + .arc-step + connector line (3-step horizontal
     arc with gradient line — could be reused on service pages)
   - .timeline (vertical phase timeline, dark — could be reused
     for Data Migration's 8-step pipeline)
   - .split-wrap (2-col text split — could be reused on Strategy)
   ============================================================ */

/* === HERO === */

.process-hero {
  background:
    radial-gradient(ellipse 700px 450px at 88% 10%, rgba(220, 115, 76, 0.10), transparent 65%),
    radial-gradient(ellipse 600px 420px at 5% 95%, rgba(22, 93, 148, 0.12), transparent 65%),
    linear-gradient(180deg, #100f0e 0%, #15130f 50%, #121110 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  /* Pull under the transparent nav-wrap--over-hero (driven by --nav-h). */
  margin-top: calc(var(--nav-h) * -1);
  padding-top: var(--nav-h);
}

.process-hero-inner {
  position: relative;
  padding: 80px 0 88px;
  z-index: 2;
}

.process-hero-content {
  max-width: 760px;
  position: relative;
  z-index: 3;
}

.process-hero .eyebrow {
  color: var(--orange-bright);
  margin-bottom: 24px;
  display: block;
}

.process-hero h1 {
  font-size: 56px;
  line-height: 1.05;
  color: var(--text-light);
  margin-bottom: 24px;
}

.process-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-light-2);
  max-width: 640px;
}

/* .section-tinted is now in components/sections.css (lifted when
   the services hub became the second use). */

/* === ENGAGEMENT ARC (3 steps with connector) === */

.arc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.arc-grid::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(91, 168, 220, 0.35) 20%,
    rgba(91, 168, 220, 0.45) 45%,
    rgba(232, 129, 96, 0.45) 55%,
    rgba(232, 129, 96, 0.35) 80%,
    transparent 100%
  );
  z-index: 0;
}

.arc-step {
  background: var(--bg-light);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-card-lg);
  padding: 32px 28px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  border-top: 2px solid var(--blue);
}
.arc-step--orange { border-top-color: var(--orange); }

.arc-step:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong-on-light);
}

.arc-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--blue);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.arc-step--orange .arc-num { color: var(--orange); }
.arc-num::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.arc-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: var(--tracking-h3);
}
.arc-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark-2);
}
.arc-step .arc-detail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-on-light);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dark-3);
}

/* === WHAT WE ASK (2-col split, tinted light) === */

.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.ask-text h2 {
  font-size: 36px;
  line-height: 1.15;
  margin-top: 14px;
  margin-bottom: 18px;
}
.ask-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark-2);
  margin-bottom: 18px;
}
.ask-text p:last-child { margin-bottom: 0; }

.ask-list {
  display: grid;
  gap: 2px;
  background: var(--border-on-light);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
}
.ask-item {
  background: var(--bg-light);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
  transition: background 0.2s ease;
}
.ask-item:hover { background: var(--bg-light-2); }
.ask-icon {
  width: 32px;
  height: 32px;
  color: var(--orange);
  flex-shrink: 0;
}
.ask-icon svg { width: 100%; height: 100%; }
.ask-item:nth-child(even) .ask-icon { color: var(--blue); }
.ask-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.ask-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dark-2);
}

/* === DELIVERY TIMELINE (vertical, dark) === */

.timeline-intro {
  max-width: 720px;
  margin-bottom: 64px;
}
.timeline-intro h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-top: 14px;
  margin-bottom: 16px;
}
.timeline-intro .lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-light-2);
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(91, 168, 220, 0.5) 0%,
    rgba(91, 168, 220, 0.5) 30%,
    rgba(232, 129, 96, 0.5) 70%,
    rgba(232, 129, 96, 0.5) 100%
  );
}

.phase {
  position: relative;
  padding-left: 76px;
  padding-bottom: 40px;
}
.phase:last-child { padding-bottom: 0; }

.phase-marker {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(91, 168, 220, 0.12);
  border: 1.5px solid rgba(91, 168, 220, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}
.phase-marker::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: 0.9;
}
.phase--orange .phase-marker {
  background: rgba(232, 129, 96, 0.12);
  border-color: rgba(232, 129, 96, 0.4);
}
.phase--orange .phase-marker::after {
  background: var(--orange-bright);
}
.phase:hover .phase-marker { transform: scale(1.1); }

.phase-card {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-card-lg);
  padding: 24px 28px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.phase:hover .phase-card {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong-on-dark);
}

.phase-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--blue-bright);
  letter-spacing: var(--tracking-strip);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.phase--orange .phase-num { color: var(--orange-bright); }

.phase h3 {
  font-size: 22px;
  color: var(--text-light);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.phase p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light-2);
}

.timeline-note {
  margin-top: 56px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-card);
  border-left: 2px solid var(--orange);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light-2);
}
.timeline-note strong {
  font-weight: var(--weight-medium);
  color: var(--text-light);
}

/* === DAY-TO-DAY (3-up cards on light) === */

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ops-card {
  background: var(--bg-light);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-card-lg);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  border-top: 2px solid var(--orange);
}
.ops-card:nth-child(2) { border-top-color: var(--blue); }
.ops-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong-on-light);
}

.ops-icon {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--orange);
  margin-bottom: 18px;
}
.ops-icon svg { width: 100%; height: 100%; }
.ops-card:nth-child(2) .ops-icon { color: var(--blue); }

.ops-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: var(--tracking-h3);
}
.ops-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark-2);
}

.team-callout {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-light-2);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-card);
  border-left: 2px solid var(--blue);
}
.team-callout-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.team-callout p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark-2);
}

/* === TESTING + BILLING (2-col split, tinted light) === */

.split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split-col h2 {
  font-size: 32px;
  line-height: 1.18;
  margin-top: 14px;
  margin-bottom: 18px;
}
.split-col p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark-2);
  margin-bottom: 16px;
}
.split-col p:last-child { margin-bottom: 0; }
.split-col .key-line {
  color: var(--text-dark);
  font-weight: var(--weight-medium);
}

.billing-callout {
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(22, 93, 148, 0.05);
  border: 1px solid rgba(22, 93, 148, 0.15);
  border-left: 2px solid var(--blue);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark);
}
.billing-callout strong { font-weight: var(--weight-medium); }

/* === CONFIDENTIALITY + IP (dark, compact) === */

.conf-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.conf-section .container {
  position: relative;
  z-index: 2;
}

.conf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.conf-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-card-lg);
  padding: 32px 32px 28px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.conf-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong-on-dark);
}

.conf-icon-inline {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-card);
  background: rgba(91, 168, 220, 0.12);
  border: 1px solid rgba(91, 168, 220, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.conf-icon-inline--orange {
  background: rgba(232, 129, 96, 0.12);
  border-color: rgba(232, 129, 96, 0.3);
  color: var(--orange-bright);
}
.conf-icon-inline svg { width: 20px; height: 20px; }

.conf-card h3 {
  font-size: 22px;
  color: var(--text-light);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.conf-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light-2);
}

/* === RESPONSIVE === */

@media (max-width: 980px) {
  .arc-grid,
  .ops-grid { grid-template-columns: 1fr; gap: 18px; }
  .arc-grid::before { display: none; }
  .ask-grid,
  .split-wrap { grid-template-columns: 1fr; gap: 40px; }
  .process-hero h1 { font-size: 40px; }
  .timeline-intro h2 { font-size: 30px; }
  .ask-text h2,
  .split-col h2 { font-size: 26px; }
  .conf-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .process-hero-inner { padding: 56px 0 64px; }
  .process-hero h1 { font-size: 32px; line-height: 1.1; }
  .process-hero-sub { font-size: 16px; }
  .timeline::before { left: 19px; }
  .phase { padding-left: 60px; padding-bottom: 32px; }
  .phase-marker { left: 4px; width: 28px; height: 28px; }
  .phase-card { padding: 20px 22px; }
  .phase h3 { font-size: 19px; }
  .arc-step { padding: 28px 24px; }
  .ops-card { padding: 24px 22px; }
  .conf-section { padding: 64px 0; }
}
