/* ============================================================
   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;
  border-radius: 0;
}

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;
}

/* Desktop: reclaim a sliver of space for the headline (photo column stays 340px). */
@media (min-width: 901px) {
  .hero {
    padding-bottom: calc(72px - 80px); /* 0 — flush portrait to section bottom on wide desktop */
  }
  .hero__text {
    padding-bottom: 50px;
  }
  .hero__inner {
    gap: 36px;
  }
}

.hero__text h1 {
  /* Fill the text grid track so wrapping uses full width; cap size so ~3 lines at max container. */
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  max-width: none;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.hero__subline {
  font-size: 1.3rem;
  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: 0;
  object-fit: contain;
  display: block;
}

.blog-promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  max-height: 40px;
  padding: 0 16px;
  box-sizing: border-box;
  background: #f5a623;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity var(--transition);
}
.blog-promo-banner:hover {
  opacity: 0.85;
}

@media (max-width: 399px) {
  .blog-promo-banner {
    max-height: none;
    min-height: 0;
    padding: 12px 20px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
    overflow-wrap: break-word;
  }
}

/* ── 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-top: 40px;
  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: 0;
}
.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: 0;
  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; }

.footer-credit {
  margin-top: 45px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  opacity: 0.85;
}

/* ── 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);
}
.page-workflow .cs-step-title {
  color: #1863FF;
}

/* ── 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;
}
.cs-award-desc {
  font-weight: 400;
  color: var(--text-secondary);
}

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

/* ── Blog post header (blog-aiworkflows.html) ─────────────── */
.blog-post-header {
  background-color: var(--bg-white);
}

.blog-post-header__hero-wrap {
  padding-top: 32px;
}

.blog-post-header__hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: min(52vh, 440px);
}

.blog-post-header__sheet {
  background-color: var(--bg-white);
  padding: 28px 0 8px;
}

.blog-post-header__back {
  margin-bottom: 24px;
}

.blog-post-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  max-width: 900px;
}

.blog-post-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.blog-post-header__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-post-header__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-post-header__author-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-post-header__author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.blog-post-header__date {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.blog-post-header__social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-post-header__social > li {
  display: flex;
  flex-shrink: 0;
}

.blog-post-header__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eaed;
  color: #0f172a;
  transition: background var(--transition), opacity var(--transition);
}

.blog-post-header__social-btn:hover {
  background: #dce0e6;
}

.blog-post-header__social-btn svg {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.blog-post-header__rule {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 26px 0 22px;
}

.blog-post-header__lede {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
}

@media (max-width: 520px) {
  .blog-post-header__hero-wrap {
    padding-top: 16px;
  }

  .blog-post-header__social {
    width: 100%;
    justify-content: flex-start;
  }

  /* blog-aiworkflows: keep author + LinkedIn on one row under ~510px */
  .blog-aiworkflows .blog-post-header__meta {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .blog-aiworkflows .blog-post-header__author {
    min-width: 0;
    flex: 1 1 auto;
  }

  .blog-aiworkflows .blog-post-header__social {
    width: auto;
    flex-shrink: 0;
    margin-left: auto;
    justify-content: flex-end;
  }
}

.blog-aiworkflows .blog-post-header__sheet {
  background-color: #f2f4f8;
  padding-bottom: 24px;
}

.blog-aiworkflows .blog-post-header .expertise-tag {
  display: inline-block;
  margin-bottom: 24px;
  background: #000000;
  color: var(--text-white);
}

.blog-aiworkflows .blog-aiworkflows-aha-img img {
  max-width: 598px;
  width: 100%;
  height: auto;
}

.blog-aiworkflows .blog-aiworkflows-aha-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  row-gap: 28px;
  align-items: start;
  margin-top: 12px;
}

.blog-aiworkflows .blog-aiworkflows-aha-row__media {
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.blog-aiworkflows .blog-aiworkflows-aha-row .cs-mockup {
  margin-top: 0;
}

.blog-aiworkflows .blog-aiworkflows-aha-row__text {
  margin-left: -60px;
  max-width: 300px;
  width: 100%;
  min-width: 0;
}

.blog-aiworkflows .blog-aiworkflows-aha-row__text .cs-section__lead {
  margin-top: 0;
}

.blog-aiworkflows .blog-aiworkflows-aha-row + .cs-research-insights {
  margin-top: 40px;
}

.blog-aiworkflows .blog-aiworkflows-aha-row--repeat {
  margin-top: 32px;
}

.blog-aiworkflows .blog-aiworkflows-rules-img {
  margin-top: 12px;
  max-width: 640px;
  padding-bottom: 30px;
}

.blog-aiworkflows .blog-aiworkflows-rules-img img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 720px) {
  .blog-aiworkflows .blog-aiworkflows-aha-row {
    grid-template-columns: 1fr;
  }

  .blog-aiworkflows .blog-aiworkflows-aha-row__text {
    margin-left: 0;
    max-width: none;
  }
}

.blog-aiworkflows .blog-post-header__hero-wrap {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

.blog-aiworkflows .blog-post-header__hero {
  margin: 0;
  padding: 0;
  width: 100%;
}

.blog-aiworkflows .blog-post-header__hero img {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 450px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* 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: right;
  padding: 28px 80px 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;
}

/* Center impact stats when only 2 items (e.g. Product Sign Up) */
.cs-impact-wrap--centered .cs-stats {
  grid-template-columns: repeat(2, 1fr);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.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);
}
.page-workflow .process-tabs__tab.active {
  background: #1863FF;
  color: #fff;
}
.page-workflow .process-tabs__tab:not(.active) {
  background: #f2f4f8;
}
.page-workflow .process-tabs__header {
  background: #2c2c2c;
}
.page-workflow .cs-context-section {
  background-color: #e5f6ff;
}

/* Show short label when inactive, full phase 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; }
/* Dashboard: remove rounded corners from all images */
.page-dashboard .cs-mockup,
.page-dashboard .cs-full-mockup,
.page-dashboard .cs-workflow-diagram,
.page-dashboard .cs-persona-diagram {
  border-radius: 0;
}
.page-dashboard img {
  border-radius: 0;
}

/* Remove border above Dashboard Capabilities (results section) */
#framework.cs-section {
  border-bottom: none;
}
.page-dashboard #framework.cs-section {
  padding-bottom: 12px; /* 72px − 60px: less space before Dashboard Capabilities */
}
.page-workflow #framework.cs-section {
  padding-top: 36px; /* 50% of default 72px */
}
/* Remove border above product blocks in workflow Implement section; reduce spacing between bullets and Embedded Workflows heading by 40% */
#framework-inner {
  border-bottom: none;
  padding-bottom: 43px; /* 72px × 0.6 */
}
/* Increase spacing between "Drove Adoption Across Products" and award line by 30% */
#framework-inner > .cs-section__heading:first-of-type {
  margin-bottom: 21px; /* 16px × 1.3 */
}

.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: 0;
  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;
}
/* Align quote box top with paragraph (Design + Impactful Results headings offset) */
.cs-results-quote--align-top {
  margin-top: 5.75rem;
}
.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: -27px; /* 48px - 75px: reduced spacing by 75px */
  padding: 24px 0;
}
/* Spacing between "Embedded Workflows" heading and product boxes */
.cs-products-title {
  margin-top: 75px;
  margin-bottom: 52px; /* 22px + 30px */
}
.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;
}
/* IBM WatsonX: gradient matching watsonx brand */
.cs-product-box--watsonx {
  background: linear-gradient(to right, #5662f6, #a64dff);
  color: #FFFFFF;
}
.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: 0;
}
.cs-research-insights .cs-section__subheading {
  margin-top: 0;
  margin-bottom: 16px;
}

.cs-research-insights--full-width {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
}

#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;
  padding-top: 36px; /* 50% of default 72px */
}
#personas.cs-section {
  padding-top: 14px;
}
#strategy.cs-section {
  padding-top: 36px; /* 50% of default 72px */
}
.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: 0;
  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;
}

/* Thumbnail flows image: 30% smaller (70% of original size) */
.cs-thumbnail-flows img {
  width: 70%;
  max-width: 770px;
}

/* Interviews/maps image: no rounded corners, 80% size, no background */
.cs-interviews-maps {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.cs-interviews-maps img {
  width: 80%;
  max-width: 800px;
  margin: 0;
}

/* Roles mocks image: 30% smaller (70% of original size) */
.cs-roles-mocks {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.page-dashboard .cs-roles-mocks,
.page-dashboard .cs-roles-mocks p {
  background: none;
}
.cs-roles-mocks img {
  width: 70%;
  max-width: 700px;
  margin: 0;
}

/* ── 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: 0;
  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: 0;
  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: 0; }
  .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; }
}

@media (max-width: 480px) {
  .ack-dots { padding-top: 50px; }
}
