/* ============================================================
   style.css — armandogarza.build
   Shared stylesheet for index.html & workflow.html
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg-cream:        #F6F1E9;
  --bg-white:        #FFFFFF;
  --bg-card:         #FFFFFF;
  --bg-footer:       #F5A623;
  --bg-section-alt:  #FFFDF7;

  --text-primary:    #161616;
  --text-secondary:  #4A4A4A;
  --text-muted:      #767676;
  --text-white:      #FFFFFF;

  --color-ibm:       #0043CE;
  --color-cisco:     #049FD9;
  --color-accent:    #F5A623;
  --color-border:    #E2DDD5;
  --color-tag-bg:    #EEE9E0;

  --font-display:    'Roboto', sans-serif;
  --font-body:       'Roboto', sans-serif;

  --nav-height:      64px;
  --max-width:       1100px;
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;

  --shadow-card:     0 2px 12px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12);

  --transition:      0.25s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
h5 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 48px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.6; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--text-primary);
  transition: width var(--transition);
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--bg-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 99;
}
.nav__mobile-menu.is-open { display: flex; }
.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.nav__mobile-menu a:hover { opacity: 0.5; }

/* ── Hero (Home) ──────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  max-width: 620px;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.hero__subline {
  font-size: 1.61rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero__cta-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__cta-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: opacity var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__cta-links a:hover { opacity: 0.55; }

.hero__photo {
  position: relative;
}
.hero__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
  display: block;
}

/* ── Section: Work ────────────────────────────────────────── */
.work-section {
  padding: 72px 0;
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
}

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

.work-card {
  position: relative;
  background: #F0F0F0;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.work-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.work-card__link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  padding: 20px 20px 16px;
  margin: 0;
}

.work-card__image {
  position: relative;
  overflow: hidden;
  background: #F0F0F0;
  aspect-ratio: 16/10;
}
.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card--workflow .work-card__image,
.work-card--task-dashboard .work-card__image {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: auto;
  min-height: auto;
}
.work-card--workflow .work-card__image img,
.work-card--task-dashboard .work-card__image img {
  width: 350px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Product Sign Up: center image between title and footer */
.work-card--product-signup .work-card__image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  aspect-ratio: auto;
  min-height: 120px;
}
.work-card--product-signup .work-card__image img {
  width: 375px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Marketing Website: center image between title and footer */
.work-card--marketing-website .work-card__image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  aspect-ratio: auto;
  min-height: 120px;
}
.work-card--marketing-website .work-card__image img {
  width: 350px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.work-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 100px;
  margin-top: auto;
  padding: 16px 24px 0 0;
  margin-left: 0;
  margin-bottom: 0;
}

.work-card__logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

.work-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0;
}

/* ── Photo Banner ─────────────────────────────────────────── */
.photo-banner {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}
.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ── Section: About ───────────────────────────────────────── */
.about-section {
  padding: 88px 0;
  background: var(--bg-section-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 52px;
}

.about__summary-text {
  margin-bottom: 28px;
}
.about__summary-text p {
  margin-bottom: 14px;
}

.about__summary-text h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.expertise-tag {
  background: var(--color-tag-bg);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

.edu-badges {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.edu-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.edu-badge img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.edu-badge--duke img {
  width: 70px;
  height: 70px;
}
.edu-badge__copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 140px;
}

.stack-section {
  grid-column: 1 / -1;
  margin-top: 48px;
}
.stack-section h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 700;
}
.stack-icons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex: 0 0 auto;
}
.stack-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
}
.stack-item span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 140px;
  line-height: 1.3;
}

/* ── Experience Timeline ──────────────────────────────────── */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.exp-item {
  border-left: 2px solid var(--color-border);
  padding-left: 20px;
  position: relative;
}
.exp-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-primary);
}

.exp-item__role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.exp-item__company {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 3px;
}
.exp-item__period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.exp-item__desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Acknowledgements ─────────────────────────────────────── */
.ack-section {
  padding: 88px 0;
  text-align: center;
}

.ack-quote {
  max-width: 680px;
  margin: 40px auto 0;
  height: 250px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.75;
  color: #000000;
}
.ack-quote blockquote p:first-of-type::before {
  content: '"';
}
.ack-quote blockquote p:last-of-type::after {
  content: '"';
}

.ack-quote p { margin-bottom: 12px; }

.ack-attribution {
  margin-top: 20px;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}

.ack-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.ack-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.ack-dot.active { background: var(--text-primary); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-footer);
  padding: 56px 0;
  text-align: center;
}
.site-footer h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-style: normal;
}
.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: opacity var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact a:hover { opacity: 0.65; }

/* ── Back to top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 14px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.back-to-top span {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   WORKFLOW CASE STUDY PAGE
   ════════════════════════════════════════════════════════════ */

/* White background for hero + impact area (removes tan bar) */
.page-workflow main {
  background-color: var(--bg-white);
}

/* ── Case Study Hero ──────────────────────────────────────── */
.cs-hero-wrap {
  background-color: var(--bg-white);
}
.cs-hero {
  padding: 72px 0 24px;
  border-bottom: none;
}

.cs-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.cs-hero__back:hover { color: var(--text-primary); }
.cs-hero__back svg { width: 14px; height: 14px; }

.cs-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cs-hero__subtitle {
  font-size: 1rem;
  color: var(--text-primary);
  max-width: 680px;
  margin-bottom: 20px;
  line-height: 1.65;
}

.cs-hero__award {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.cs-hero__award-icon {
  font-size: 1.4rem;
}

/* Hero image */
.cs-hero-image {
  margin: 24px 0 28px;
}
.cs-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Hero image at actual size — no upscaling (prevents pixelation) */
.cs-hero-image--actual-size {
  display: flex;
  justify-content: center;
}
.cs-hero-image--actual-size img {
  width: auto;
  max-width: 679px; /* 80% of 849px (20% smaller) */
  height: auto;
}

/* Dashboard impact: Solved a top industry pain point — matches workflow impact font/spacing */
.dashboard-impact {
  background-color: var(--bg-white);
}
.dashboard-impact .container {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}
.dashboard-impact__heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.3;
}
.dashboard-impact__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.dashboard-impact__stat {
  text-align: center;
  padding: 28px 24px;
  margin-left: 60px;
}
.dashboard-impact__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: #000000;
  line-height: 1;
  margin-bottom: 6px;
}
.dashboard-impact__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #000000;
  margin: 0;
  line-height: 1.4;
}
.dashboard-impact__divider {
  width: 1px;
  min-height: auto;
  background: #000000;
  align-self: stretch;
}
.dashboard-impact__benefits {
  margin: 0;
  padding: 28px 24px 28px 2em;
  list-style: disc;
}
.dashboard-impact__benefits li {
  font-size: 0.75rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 6px;
  line-height: 1.4;
}
.dashboard-impact__benefits li:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .dashboard-impact__content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dashboard-impact__stat,
  .dashboard-impact__benefits {
    padding: 20px 0;
  }
  .dashboard-impact__stat {
    margin-left: 0;
  }
  .dashboard-impact__divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }
}

/* Impact section (hero) */
.cs-impact-section {
  background-color: var(--bg-white);
}
.cs-impact-wrap {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}
.cs-impact-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.cs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}

/* Workflow Impact: no rectangle container */
.cs-impact-wrap .cs-stats {
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.cs-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--color-border);
  text-align: center;
}
.cs-stat:last-child { border-right: none; }
/* Impact: divider lines between metrics, all text black */
.cs-impact-wrap .cs-stat:not(:last-child) {
  border-right: 1px solid #000000;
}
.cs-impact-wrap .cs-impact-heading,
.cs-impact-wrap .cs-stat__num,
.cs-impact-wrap .cs-stat__label {
  color: #000000;
}
.cs-impact-wrap .cs-stat__num {
  font-weight: 300;
}

.cs-stat__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.cs-stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Context section (Business Imperative, Design Lead, Competitive Pressure) ── */
.cs-context-section {
  background-color: #FFF6EC;
}
.cs-context-section .cs-section {
  padding-top: 36px;
}

/* ── Process Tabs (sticky) ──────────────────────────────────── */
.process-tabs-sticky {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  margin-bottom: 0;
}

.process-tabs {
  background: #F0F0F0;
  height: 70px;
  display: flex;
  flex-direction: column;
}

.process-tabs__header {
  background: #CE7F1F;
  color: #F5F0E6;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 6px 20px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.process-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0;
  background: #F0F0F0;
  flex: 1;
  min-height: 0;
}

.process-tabs__tab {
  flex: 1;
  min-width: 100px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  text-decoration: none;
  background: #F0F0F0;
  transition: background var(--transition), color var(--transition);
}
.process-tabs__tab:hover {
  background: #E8E8E8;
  color: var(--text-primary);
}
.process-tabs__tab.active {
  background: #FAD284;
  color: var(--text-primary);
}

/* Show short label when inactive, full "Step [#]:" label when active */
.process-tabs__tab .process-tabs__label--full {
  display: none;
}
.process-tabs__tab .process-tabs__label--short {
  display: inline;
}
.process-tabs__tab.active .process-tabs__label--full {
  display: inline;
}
.process-tabs__tab.active .process-tabs__label--short {
  display: none;
}

/* ── Case Study Sections ──────────────────────────────────── */
.cs-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}
.cs-section:last-of-type { border-bottom: none; }

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.cs-two-col--align-center {
  align-items: center;
}

.cs-section__heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* Strategic Leadership tag (pill) */
.cs-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cs-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 32px;
  font-family: 'Roboto', var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
  background: var(--text-primary);
  border-radius: 24px;
  margin-bottom: 20px;
}

.cs-section__lead {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 720px;
}
.cs-section__lead--no-margin {
  margin-bottom: 0;
}

.cs-section__subheading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 32px;
  letter-spacing: -0.02em;
}
.cs-section__subheading--spaced {
  margin-top: 40px;
}

.cs-workflow-diagram {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cs-persona-diagram {
  margin-top: 40px;
}
.cs-persona-diagram img {
  width: 100%;
  height: auto;
  display: block;
}
.cs-workflow-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-section p:not(.cs-tag) {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.cs-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-section ul li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.75;
}
.cs-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.cs-list--bullets {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 24px;
  display: block;
}
.cs-section ul.cs-list--bullets {
  list-style-type: disc;
  display: block;
}
.cs-list--bullets li::before {
  content: none !important;
}
.cs-list--bullets li {
  padding-left: 0;
  font-size: 0.93rem;
}
.cs-results-trophy {
  margin-right: 6px;
}

/* Impactful Results: two-column layout with quote */
.cs-results-grid {
  align-items: start;
  margin-top: 0;
}
.cs-results-quote {
  width: 290px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 100px;
  background: #E8E6E3;
  border-radius: 0;
  padding: 28px 32px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.75;
  color: #000000;
}
.cs-results-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
}
.cs-results-quote blockquote p {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.75;
  color: #000000;
  font-style: italic;
  margin: 0;
}
.cs-results-quote__attribution {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}
.cs-results-quote__attribution cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
}

/* IBM Products integration graphic (CSS-only) */
.cs-products-graphic {
  margin-top: 48px;
  padding: 24px 0;
}
.cs-products-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 24px;
}
.cs-products-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.cs-product-block {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
}
.cs-product-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 12px;
  margin: 0 auto;
  background: var(--text-primary);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  box-sizing: border-box;
}
.cs-product-brand {
  font-weight: 700;
  font-size: 0.9rem;
}
.cs-product-name {
  font-weight: 500;
}
.cs-product-desc {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 400;
}
.cs-product-desc br {
  display: block;
}
.cs-products-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  padding: 0 4px;
  align-self: center;
}

/* Numbered list with pink circles (Design Strategy) */
.cs-list--numbered {
  list-style: none;
  counter-reset: story;
  padding-left: 0;
}
.cs-list--numbered li {
  counter-increment: story;
  padding-left: 36px;
  position: relative;
  margin-bottom: 12px;
}
.cs-list--numbered li::before {
  content: counter(story);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E91E8C;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  font-family: var(--font-display);
}

/* Design Execution: Divide and Conquer + Staying Aligned */
.cs-execution-mockups {
  align-items: start;
}
.cs-execution-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-execution-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  margin-top: 0;
}
.cs-execution-col .cs-mockup {
  margin-top: 0;
}
.cs-mockup-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cs-mockup-stack .cs-mockup { margin-top: 0; }
.cs-mockup-stack .cs-mockup + .cs-mockup { margin-top: 0; }
.cs-mockup-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}
.cs-artifacts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.cs-artifacts-row .cs-mockup {
  margin-top: 0;
}

/* ── Process Steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}
.process-step {
  padding: 24px 20px;
  border-right: 1px solid var(--color-border);
  text-align: center;
}
.process-step:last-child { border-right: none; }
.process-step__icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.process-step__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.process-step__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Mockup Showcase ──────────────────────────────────────── */
.cs-mockup {
  margin-top: 40px;
  border-radius: var(--radius-md);
}
.cs-research-insights .cs-section__subheading {
  margin-top: 0;
  margin-bottom: 16px;
}

#research .cs-section__lead {
  margin-bottom: 20px;
}
#research .cs-two-col {
  margin-top: 20px;
}
#research .cs-mockup {
  border-radius: 0;
}
#research .cs-mockup img {
  width: 85%;
  max-width: 85%;
}
#research.cs-section {
  border-bottom: none;
  padding-bottom: 14px;
}
#personas.cs-section {
  padding-top: 14px;
}
.cs-mockup img {
  width: 100%;
  display: block;
}

.cs-mockup-caption {
  padding: 16px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--color-border);
}
.cs-mockup-caption p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Single full-width mockup */
.cs-full-mockup {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  background: #EDEAE3;
}
.cs-full-mockup img {
  width: 100%;
  display: block;
}

/* Admin/End-user touchpoints: no background, no rounded rectangle */
.cs-execution-touchpoints {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* ── Personas ─────────────────────────────────────────────── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.persona-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-tag-bg);
}
.persona-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.persona-card__role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.persona-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ── Results / Impact ─────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.result-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.result-card__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Testimonial pull-quote */
.cs-testimonial {
  background: var(--text-primary);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: 40px;
}
.cs-testimonial blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: #D4CFC8;
  margin-bottom: 16px;
}
.cs-testimonial cite {
  font-style: normal;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ── More Work (bottom nav) ───────────────────────────────── */
.more-work {
  padding: 72px 0;
}
.more-work h3 {
  margin-bottom: 28px;
}
.more-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.more-work-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.more-work-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.more-work-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.more-work-item__body {
  padding: 12px 14px 14px;
}
.more-work-item__title {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.more-work-item__tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding-inline: 28px; }

  /* Nav */
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero */
  .hero { padding: 56px 0 52px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__photo {
    order: -1;
    max-width: 280px;
    margin-inline: auto;
  }

  /* Work grid */
  .work-grid { grid-template-columns: 1fr; gap: 18px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Stack: vertical layout on mobile */
  .stack-section { margin-top: 40px; }
  .stack-icons {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }

  /* Photo banner */
  .photo-banner { height: 260px; }

  /* Hero image */
  .cs-hero-image {
    margin: 32px 0 40px;
  }

  /* Process tabs - allow height to grow when tabs wrap */
  .process-tabs {
    height: auto;
    min-height: 70px;
  }
  .process-tabs__nav {
    flex-wrap: wrap;
    gap: 0;
  }
  .process-tabs__tab {
    min-width: 33.33%;
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* CS stats */
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-stat:nth-child(2) { border-right: none; }
  .cs-stat:nth-child(3) { border-top: 1px solid var(--color-border); }
  .cs-stat:nth-child(4) { border-top: 1px solid var(--color-border); }

  /* CS two col */
  .cs-two-col { grid-template-columns: 1fr; gap: 28px; }

  /* Design Execution artifacts */
  .cs-artifacts-row { grid-template-columns: 1fr; }

  /* IBM Products graphic - 2–3 per row on tablet */
  .cs-product-block {
    flex: 1 1 140px;
    min-width: 120px;
    max-width: none;
  }

  /* Process steps */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid var(--color-border); }
  .process-step:nth-child(4) { border-top: 1px solid var(--color-border); }

  /* Personas */
  .persona-grid { grid-template-columns: 1fr; }

  /* Results grid */
  .results-grid { grid-template-columns: 1fr; }

  /* More work */
  .more-work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .container { padding-inline: 20px; }

  h1 { font-size: 1.75rem; }

  .hero { padding: 40px 0; }
  .hero__cta-links { flex-direction: column; gap: 14px; }
  .hero__photo { max-width: 200px; }

  .cs-stats { grid-template-columns: repeat(2, 1fr); }

  .more-work-grid { grid-template-columns: 1fr; }

  .cs-testimonial { padding: 24px 20px; }

  /* IBM Products graphic - stack on small screens */
  .cs-products-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .cs-product-block {
    min-width: 200px;
    max-width: 240px;
  }
  .cs-products-plus {
    margin-top: 0;
    margin: 4px 0;
  }

  .site-footer { padding: 44px 20px; }
}
