/* ===========================
   Jared Chesnut — Portfolio
   Theme: Blue / Gold
=========================== */

:root {
  --navy: #0b1f3a;
  --blue-900: #0f2b52;
  --blue-700: #1e3a5f;
  --blue-600: #2c4a72;
  --blue-500: #3d5a80;
  --blue-50: #eaf0f6;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;

  /* Accent system: blue = primary interaction, green = measurable results,
     teal = Suspecting / supporting diagrams only. Not equal-weight. */
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-teal: #14b8a6;
  --accent-green: #16a34a;
  --accent-amber: #b45309;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.10);
  --container-width: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

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

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-secondary {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--navy);
}
.btn-secondary:hover {
  border-color: var(--blue-500);
  background: var(--gray-50);
}
.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--blue-700);
  letter-spacing: 0.5px;
}
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--blue-700); }

.nav-cta { flex-shrink: 0; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-900) 55%, var(--blue-700) 100%);
  color: var(--white);
  padding: clamp(72px, 10vw, 120px) 0;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-inner {
  text-align: left;
  max-width: 680px;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 22px;
}
.hero-proof {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 36px;
}
.hero-proof span {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  margin: 0 10px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-tagline {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}


/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  margin-bottom: 20px;
  max-width: 720px;
}
.section-intro {
  color: var(--gray-600);
  font-size: 16px;
  max-width: 900px;
  margin-bottom: 40px;
}
.section-intro-wide {
  max-width: none;
}

/* ---------- Prospecting / Suspecting ---------- */
.suspecting-wrap {
  display: flow-root;
  margin-top: 8px;
}
.prospecting-icon {
  float: right;
  width: 240px;
  margin: 4px 0 24px 32px;
}
.prospecting-icon img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.prospecting-copy p {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0 0 18px;
}
.prospecting-copy strong {
  color: var(--navy);
  font-weight: 700;
}
.prospecting-callout {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  font-size: 18px;
}
.prospecting-proof {
  clear: both;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.proof-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.proof-row-1 .proof-main {
  flex: 1 1 0;
}
.proof-row-1 .proof-stack {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proof-row-2 > div {
  flex: 1 1 0;
}
.prospecting-proof img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* ---------- About ---------- */
.about-wrap {
  display: flow-root;
  margin-top: 24px;
}
#about .section-title {
  max-width: none;
}
.about-copy {
  font-size: 17px;
  color: var(--gray-700);
  text-align: justify;
}
.about-copy-personal {
  margin-top: 18px;
}
.inline-link {
  color: #1a73e8;
  text-decoration: underline;
  text-decoration-color: rgba(26, 115, 232, 0.35);
  text-underline-offset: 2px;
}
.inline-link:hover {
  text-decoration-color: #1a73e8;
}
.stat-grid {
  float: right;
  width: 240px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 20px 32px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
}
.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 4px;
  line-height: 1.1;
}
.stat-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- Assessments ---------- */
.assess-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}
.assess-report {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.assess-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.assess-report-head h3 {
  font-size: 20px;
}
.assess-report-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.assess-report-grid > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.assess-shot {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.assess-shot-compact {
  max-width: 260px;
  margin: 0 auto;
  border: none;
}

/* ---------- DISC quadrant reveal ---------- */
.disc-reveal {
  position: relative;
  max-width: 260px;
  width: 100%;
  aspect-ratio: 280 / 255;
  margin: 0 auto;
}
.disc-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Boundaries sit exactly at 12/3/6/9 o'clock, so a simple corner-to-corner
   quadrant clip lines up perfectly with the chart's own quadrants. */
.disc-layer-s { clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%); } /* S: smallest */
.disc-layer-i { clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 50%); }     /* I: 2nd smallest */
.disc-layer-c { clip-path: polygon(50% 50%, 50% 100%, 0% 100%, 0% 50%); }     /* C: 2nd largest */
.disc-layer-d { clip-path: polygon(50% 50%, 0% 50%, 0% 0%, 50% 0%); }         /* D: largest */
.disc-reveal.pending .disc-layer {
  opacity: 0;
  transform: scale(0.45);
  transform-origin: 50% 50%;
}
.disc-reveal.pending.reveal .disc-layer-s { animation: discGrow 0.8s cubic-bezier(.25,.85,.35,1) 0s both; }
.disc-reveal.pending.reveal .disc-layer-i { animation: discGrow 0.8s cubic-bezier(.25,.85,.35,1) 0.35s both; }
.disc-reveal.pending.reveal .disc-layer-c { animation: discGrow 0.8s cubic-bezier(.25,.85,.35,1) 0.7s both; }
.disc-reveal.pending.reveal .disc-layer-d { animation: discGrow 0.8s cubic-bezier(.25,.85,.35,1) 1.05s both; }
@keyframes discGrow {
  from { opacity: 0; transform: scale(0.45); }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .disc-reveal.pending .disc-layer {
    opacity: 1;
    transform: scale(1);
    animation: none;
  }
}

/* ---------- PI Guardian scales ---------- */
.pi-scales-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 4px;
}
.pi-scales-sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 22px;
}
.pi-scales {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.pi-scale {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pi-scale-label-top,
.pi-scale-label-bottom {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.pi-scale-track {
  position: relative;
  width: 4px;
  height: 160px;
  background: var(--gray-200);
  border-radius: 2px;
  margin: 10px 0;
}
.pi-scale-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--gray-500);
  transform: translate(-50%, -50%);
}
.pi-scale-dot {
  position: absolute;
  left: 50%;
  top: var(--target);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0073cc;
  box-shadow: 0 0 0 4px rgba(0, 115, 204, 0.18);
  transform: translate(-50%, -50%);
}
.pi-scale-caption {
  font-size: 10px;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 4px;
}
.gauge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gauge-grid-stacked {
  grid-template-columns: 1fr;
  gap: 18px;
}
.gauge-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px;
}
.gauge-visual {
  flex: 0 0 150px;
}
.gauge-outer {
  position: relative;
  width: 150px;
  height: 75px;
  overflow: hidden;
}
.gauge-dial {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg at 50% 100%,
    #b7cbe8 0%, #b7cbe8 9%,
    transparent 9%, transparent 10%,
    #8fabda 10%, #8fabda 19%,
    transparent 19%, transparent 20%,
    #6690cb 20%, #6690cb 29%,
    transparent 29%, transparent 30%,
    #3f70b5 30%, #3f70b5 39%,
    transparent 39%, transparent 40%,
    #1e4a8c 40%, #1e4a8c 50%,
    transparent 50%
  );
}
.gauge-hole {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gray-50);
}
.gauge-needle {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 58px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 3px 3px 0 0;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-90deg);
  --target-rot: -90deg;
}
.gauge-needle.needle-settle {
  animation: needleSettle 2.6s cubic-bezier(.3, .7, .3, 1) both;
}
@keyframes needleSettle {
  0%   { transform: translateX(-50%) rotate(-90deg); }
  14%  { transform: translateX(-50%) rotate(6deg); }
  30%  { transform: translateX(-50%) rotate(calc(var(--target-rot) + 22deg)); }
  46%  { transform: translateX(-50%) rotate(calc(var(--target-rot) - 13deg)); }
  60%  { transform: translateX(-50%) rotate(calc(var(--target-rot) + 8deg)); }
  74%  { transform: translateX(-50%) rotate(calc(var(--target-rot) - 4deg)); }
  87%  { transform: translateX(-50%) rotate(calc(var(--target-rot) + 2deg)); }
  100% { transform: translateX(-50%) rotate(var(--target-rot)); }
}
@media (prefers-reduced-motion: reduce) {
  .gauge-needle.needle-settle {
    animation: none;
    transform: translateX(-50%) rotate(var(--target-rot));
  }
}
.gauge-pivot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--gray-50);
}
.gauge-endlabels {
  display: flex;
  justify-content: space-between;
  width: 150px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
}
.gauge-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.gauge-info p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.45;
}
.pill {
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.bar-stat { display: flex; flex-direction: column; gap: 6px; }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}
.bar-track {
  height: 8px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--blue-600), var(--gold));
  border-radius: 999px;
}
.assess-copy {
  font-size: 14.5px;
  color: var(--gray-600);
  flex-grow: 1;
}
.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
}
.link-arrow:hover { color: var(--gold); }

/* ---------- Experience ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.tl-item {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.exp-logo {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  padding: 6px;
  overflow: hidden;
}
.exp-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Swap in real logos: replace the text inside .exp-logo with
   <img src="assets/logos/adp.png" alt="ADP"> — same pattern used in Notable Accounts. */
.exp-body h3 { font-size: 18px; margin-bottom: 4px; }
.exp-meta {
  font-size: 13px;
  color: var(--blue-700);
  font-weight: 700;
  margin-bottom: 10px;
}
.exp-desc {
  font-size: 14.5px;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.exp-body ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.exp-body li {
  font-size: 14px;
  color: var(--gray-700);
}
/* ---------- Notable Accounts ---------- */
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cloud-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 22px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.cloud-tile-img {
  padding: 16px;
}
.cloud-tile-img img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}
.cloud-tile[hidden] {
  display: none;
}

/* ---------- Chips (certs / tools) ---------- */
.chip-block { clear: both; margin-top: 28px; }
.chip-block-full { margin-top: 48px; }
.chip-block-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.chip-line {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1.8;
}
.chip-sep {
  color: var(--gray-200);
  font-weight: 400;
  margin: 0 2px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.tool-tile {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  perspective: 400px;
}
.tool-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tool-tile img.spin-x {
  animation: spinX 4s cubic-bezier(.08, .82, .17, 1) both;
}
.tool-tile img.spin-y {
  animation: spinY 4s cubic-bezier(.08, .82, .17, 1) both;
}
@keyframes spinX {
  from { transform: rotateX(0deg); }
  to { transform: rotateX(360deg); }
}
@keyframes spinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tool-tile img.spin-x, .tool-tile img.spin-y {
    animation: none;
  }
}

/* ---------- AI Certifications ---------- */
.cert-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cert-group-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--blue-700);
  margin-bottom: 16px;
}
.cert-group-title span {
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--gray-500);
  margin-left: 8px;
}
.cert-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.cert-row:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}
.cert-row-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.cert-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.cert-row-title small {
  font-weight: 400;
  color: var(--gray-500);
}

/* ---------- Nav resume button (visually distinct) ---------- */
.btn-resume {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--navy);
}
.btn-resume:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* ---------- Performance Snapshot ---------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.metric-number {
  display: block;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-600);
}
.metric-context {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---------- Suspecting: 5-step process ---------- */
.suspecting-scan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 20px 0 32px;
}
.suspecting-scan span {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-teal);
}
.suspecting-scan .sep {
  color: var(--gray-200);
  font-weight: 400;
}
.suspecting-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.suspecting-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px 16px;
  position: relative;
}
.suspecting-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-teal);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}
.suspecting-step p {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.4;
}

/* ---------- Experience: category pill ---------- */
.exp-category {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ---------- Enterprise Accounts: monochrome-by-default logos ---------- */
.cloud-tile-img img {
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.18s ease;
}
.cloud-tile-img:hover img {
  filter: grayscale(0) opacity(1);
}
.accounts-note {
  color: var(--gray-600);
  font-size: 15px;
  max-width: 640px;
  margin: -8px 0 28px;
}
.accounts-more {
  margin-top: 20px;
  text-align: center;
}

/* ---------- Certifications: compressed summary ---------- */
.cert-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 28px;
}
.cert-summary-count {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-green);
  flex-shrink: 0;
}
.cert-summary-text p:first-child {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.cert-summary-text p {
  font-size: 14px;
  color: var(--gray-600);
}
.cert-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cert-more-toggle {
  margin-top: 20px;
  text-align: center;
}
.cert-groups[hidden],
.stack-categories[hidden] {
  display: none;
}

/* ---------- Sales technology: categorized ---------- */
.stack-primary {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.stack-categories {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.stack-category-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.stack-more-toggle {
  margin-top: 20px;
  text-align: center;
}
.view-all-btn {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.view-all-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.view-all-btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ---------- How I Work: condensed cards ---------- */
.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.work-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}
.work-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 14px;
}
.work-card .link-arrow {
  display: inline-block;
}

/* ---------- Footer / Contact ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 32px;
}
.footer-main h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 12px;
}
.footer-main p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-light);
}
.footer-links a:hover { color: var(--white); }
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 860px) {
  .main-nav, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .stat-grid { float: none; width: 100%; margin: 0 0 20px; }
  .assess-report-grid { grid-template-columns: 1fr; }
  .gauge-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(5, 1fr); }
  .cert-list { grid-template-columns: repeat(2, 1fr); }
  .prospecting-icon { float: none; width: 180px; margin: 0 0 20px; }

  .suspecting-steps { grid-template-columns: repeat(2, 1fr); }
  .stack-primary { grid-template-columns: repeat(4, 1fr); }
  .work-cards { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero { min-height: 0; padding: 56px 0 48px; }
  .hero-inner { max-width: none; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; height: 52px; }
  .section { padding: 64px 0; }
  .tl-item { flex-direction: column; }
  .exp-logo { width: 100%; height: 64px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-list { grid-template-columns: 1fr; }
  .gauge-grid { grid-template-columns: 1fr; }
  .gauge-item { flex-direction: column; align-items: flex-start; }
  .proof-row { flex-direction: column; }
  .proof-row-1 .proof-stack { flex-direction: row; flex: 1 1 auto; width: 100%; }
  .pi-scales { flex-wrap: wrap; row-gap: 20px; }
  .pi-scale { flex: 0 0 45%; }

  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .metric-card { padding: 20px 16px; }
  .suspecting-steps { grid-template-columns: 1fr; }
  .stack-primary { grid-template-columns: repeat(3, 1fr); }
  .cert-preview { grid-template-columns: 1fr; }
  .cert-summary { flex-direction: column; align-items: flex-start; }
}
