/* ============================================================
   RICH ANGERMILLER PORTFOLIO v6
   Font: Barlow (close to Helvetica Neue / Univers)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;800&display=swap');

:root {
  --blue:       #3A6BC4;
  --blue-dark:  #2A509A;
  --dark:       #0F1114;
  --dark-2:     #181B20;
  --dark-3:     #21252C;
  --mid:        #555E70;
  --light:      #EAEDF4;
  --white:      #F7F9FC;
  --font-display: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
  --font-body:    'Barlow', Arial, sans-serif;
  --max-width: 1400px;
  --body-width: 760px;
  --transition: 0.26s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: var(--blue); text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,17,20,0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58,107,196,0.15);
  padding: 0 48px; display: flex; align-items: center;
  justify-content: space-between; height: 58px;
}
.nav-logo { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; }
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.5); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transition: color var(--transition); }
.nav-links a:hover { color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; background: var(--dark);
  display: flex; align-items: center;
  padding: 100px 48px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(58,107,196,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--blue); }
.hero-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 7.2vw, 6rem);
  color: var(--white); line-height: 0.92; margin-bottom: 16px;
  letter-spacing: -0.01em; text-transform: uppercase;
  animation: fadeUp 0.7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title {
  font-size: 0.95rem; font-weight: 600; color: var(--blue);
  margin-bottom: 22px; letter-spacing: 0.05em; text-transform: uppercase;
  animation: fadeUp 0.7s 0.12s ease both;
}
.hero-bio {
  font-size: 0.98rem; color: rgba(255,255,255,0.52);
  max-width: 520px; line-height: 1.8; margin-bottom: 32px;
  animation: fadeUp 0.7s 0.22s ease both;
}
.hero-bio strong { color: rgba(255,255,255,0.88); font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; animation: fadeUp 0.7s 0.32s ease both; }
.hero-contact {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; gap: 24px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-contact a { font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.35); transition: color var(--transition); letter-spacing: 0.04em; }
.hero-contact a:hover { color: var(--blue); }

/* Portrait */
.hero-portrait {
  width: 155px; height: 155px; border-radius: 50%;
  overflow: hidden; border: 2px solid rgba(58,107,196,0.3);
  flex-shrink: 0; opacity: 0.78;
  animation: fadeUp 0.7s 0.18s ease both;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; transition: all var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(58,107,196,0.28); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ============================================================
   VALUE PROPS
   ============================================================ */
.value-props { background: var(--dark-2); padding: 68px 48px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.value-props-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.05); }
.value-prop { background: var(--dark-2); padding: 40px 34px; }
.value-prop-number { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: rgba(58,107,196,0.14); margin-bottom: 14px; line-height: 1; }
.value-prop h3 { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: 0.03em; text-transform: uppercase; }
.value-prop p { font-size: 0.84rem; color: rgba(255,255,255,0.38); line-height: 1.75; }

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-section { padding: 88px 48px; background: var(--white); }
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: block; width: 22px; height: 1px; background: var(--blue); }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 48px; }
.section-header { max-width: var(--max-width); margin: 0 auto; }

.portfolio-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2,1fr); gap: 18px;
}

/* Portfolio items — contain images at natural size, no stretch */
.portfolio-item {
  background: var(--dark-3); position: relative;
  overflow: hidden; display: block;
  height: 312px; /* 20% taller */
  border-radius: 2px; transition: transform var(--transition);
}
.portfolio-item:hover { transform: translateY(-3px); }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.04); }

/* Portfolio label — strong dark base, large readable text */
.portfolio-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,10,13,0.97) 0%, rgba(8,10,13,0.65) 55%, transparent 100%);
  padding: 52px 20px 18px;
}
.portfolio-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 5px;
}
.portfolio-item-client {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 4px;
}
.portfolio-item-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  color: #fff; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.02em;
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands-section { padding: 60px 48px; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,0.04); }
.brands-inner { max-width: var(--max-width); margin: 0 auto; }
.brands-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.2); text-align: center; margin-bottom: 36px; }
.brands-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.brand-name { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.22); transition: color var(--transition); }
.brand-name:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 88px 48px; background: var(--dark); }
.about-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-text h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.02em; }
.about-text p { font-size: 0.94rem; color: rgba(255,255,255,0.48); line-height: 1.85; margin-bottom: 14px; }
.about-text p strong { color: rgba(255,255,255,0.88); font-weight: 700; }
.about-text .btn { margin-top: 10px; }

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact-section { padding: 88px 48px; background: var(--blue); text-align: center; }
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-section h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.contact-section p { font-size: 0.95rem; color: rgba(255,255,255,0.72); margin-bottom: 28px; line-height: 1.7; }
.contact-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.contact-links a { font-size: 0.82rem; font-weight: 700; color: #fff; padding: 10px 20px; border: 1px solid rgba(255,255,255,0.3); border-radius: 2px; transition: all var(--transition); letter-spacing: 0.05em; text-transform: uppercase; }
.contact-links a:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

footer { background: var(--dark); padding: 24px 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; color: rgba(255,255,255,0.28); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-tagline { font-size: 0.72rem; color: rgba(255,255,255,0.16); letter-spacing: 0.05em; }

/* ============================================================
   CASE STUDY — HERO
   ============================================================ */
.case-hero { min-height: 60vh; background: var(--dark); display: flex; align-items: flex-end; padding: 106px 48px 56px; position: relative; overflow: hidden; }
.case-hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; max-width: none; }
.case-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,17,20,0.92) 0%, rgba(15,17,20,0.55) 40%, rgba(15,17,20,0.1) 100%); }
.case-hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; width: 100%; }

.case-tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.case-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--blue); }

/* Case title — client name separate from project name */
.case-client-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.case-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: #fff; line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase;
  margin-bottom: 18px; max-width: 820px;
}
.case-subtitle { font-size: 0.98rem; color: rgba(255,255,255,0.48); max-width: 560px; line-height: 1.65; }

/* ============================================================
   CASE STUDY — ROLE STRIP
   ============================================================ */
.case-role-strip { background: var(--dark-2); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px 48px; }
.case-role-inner { max-width: var(--max-width); margin: 0 auto; display: flex; gap: 0; flex-wrap: wrap; }
.case-role-item { padding-right: 32px; margin-right: 32px; border-right: 1px solid rgba(255,255,255,0.07); padding-top: 2px; padding-bottom: 2px; }
.case-role-item:last-child { border-right: none; }
.case-role-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 3px; }
.case-role-value { font-size: 0.86rem; color: rgba(255,255,255,0.72); font-weight: 500; }

/* ============================================================
   CASE STUDY — BODY
   ============================================================ */
.case-body { max-width: var(--body-width); margin: 0 auto; padding: 68px 48px 88px; }
.case-section { margin-bottom: 72px; padding-bottom: 0; }

/* Big section headers — scroll anchors */
.case-section-big-label {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800; color: var(--dark); letter-spacing: -0.005em; text-transform: uppercase;
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 3px solid var(--blue); line-height: 1.1;
}
.case-section-sublabel {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.case-section-sublabel::before { content: ''; display: block; width: 14px; height: 1px; background: var(--blue); }

.case-section p { font-size: 1.11rem; color: var(--mid); line-height: 1.88; margin-bottom: 14px; }

/* ============================================================
   BRIEF ITEMS — label on one line, text below. No table.
   ============================================================ */
.brief-item { margin-bottom: 28px; }
.brief-item-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
}
.brief-item-text { font-size: 0.96rem; color: var(--mid); line-height: 1.75; }

/* Bullets — tight, • not dash */
.case-bullets { list-style: none; margin: 14px 0 0; }
.case-bullets li {
  display: flex; gap: 11px; font-size: 1.08rem; color: var(--mid);
  line-height: 1.65; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  align-items: flex-start;
}
.case-bullets li::before { content: '•'; color: var(--blue); flex-shrink: 0; font-size: 1rem; line-height: 1.65; }
.case-bullets li strong { color: var(--dark); font-weight: 700; }

/* Outcome */
.case-outcome { background: var(--dark); padding: 40px 44px; margin: 52px 0; border-left: 3px solid var(--blue); }
.case-outcome p { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1.5; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; }
.case-outcome p span { color: var(--blue); }

/* ============================================================
   IMAGES — natural size, no stretching
   ============================================================ */

/* Standard: image at natural width, centered, max 100% */
.case-image { 
  margin: 48px -10%; /* 20% wider than column */
}
.case-image img {
  /* Never scale beyond actual pixel size */
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
@media (max-width: 880px) {
  .case-image { margin: 40px 0; }
}

/* GIF treatment — contain, dark bg */
.case-image img[src*=".gif"] {
  background: var(--dark-2);
  max-width: 100%;
  width: auto;
}

/* Full-bleed: explicitly for images that need full column width */
.case-image.bleed img {
  width: 100%;
  max-width: none;
}

/* Caption — readable with blue left border */
.case-image-caption {
  font-size: 0.84rem; font-style: italic; color: rgba(0,0,0,0.48);
  margin-top: 14px; margin-bottom: 0; padding-left: 12px; 
  border-left: 2px solid var(--blue);
  line-height: 1.55;
}

/* Case nav */
.case-nav { background: var(--dark-2); padding: 52px 48px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.case-nav-link { display: flex; flex-direction: column; gap: 4px; max-width: 280px; }
.case-nav-direction { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.22); }
.case-nav-title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: #fff; transition: color var(--transition); text-transform: uppercase; letter-spacing: 0.02em; }
.case-nav-link:hover .case-nav-title { color: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  nav { padding: 0 24px; }
  .hero { padding: 90px 24px 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { display: none; }
  .value-props { padding: 52px 24px; }
  .value-props-inner { grid-template-columns: 1fr; }
  .portfolio-section { padding: 60px 24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-section, .brands-section, .contact-section { padding: 60px 24px; }
  .case-hero { padding: 88px 24px 44px; }
  .case-role-strip { padding: 16px 24px; }
  .case-role-inner { flex-wrap: wrap; }
  .case-role-item { margin-bottom: 10px; }
  .case-body { padding: 44px 24px 68px; }
  .case-nav { flex-direction: column; padding: 36px 24px; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 20px 24px; }
}
@media (max-width: 560px) {
  .hero-name { font-size: 3.5rem; }
  .nav-links { display: none; }
  .case-section-big-label { font-size: 1.7rem; }
  .portfolio-item { height: 200px; }
}

/* Break out of body column — for hero-scale images like animated prototypes */
.case-image-breakout {
  margin-top: 52px;
  margin-bottom: 52px;
  /* Only break out if image is wide enough to warrant it */
  text-align: center;
}
.case-image-breakout img {
  /* Natural size — never upscale past actual pixel dimensions */
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.case-image-breakout img[src*=".gif"] {
  background: var(--dark-2);
}
.case-image-breakout .case-image-caption {
  padding: 0 48px;
  margin-left: 0;
}

/* Section header image — full bleed dark bg, used for presentation slides */
.case-section-header-img {
  width: calc(100% + 96px);
  margin-left: -48px;
  margin-right: -48px;
  margin-bottom: 40px;
}
.case-section-header-img img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}

/* ============================================================
   PRESENTATION SLIDESHOW — fade between slides, 3s each
   ============================================================ */
.case-slideshow {
  position: relative;
  margin: 52px 0;
  background: var(--dark-3);
  overflow: hidden;
  /* Constrain to natural image aspect ratio — slides are 1200x800 = 3:2 */
  aspect-ratio: 3/2;
  max-width: 100%;
}

.case-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.case-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  max-width: none;
  box-shadow: none;
}

.case-slideshow .slide.active {
  opacity: 1;
}

/* Slide counter dots */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.slideshow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  transition: background 0.3s;
  cursor: pointer;
}
.slideshow-dot.active { background: var(--blue); }

.slideshow-caption {
  font-size: 0.84rem;
  font-style: italic;
  color: rgba(0,0,0,0.45);
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--blue);
  line-height: 1.5;
}

/* G Train header crossfade */
.case-hero-crossfade {
  position: absolute; inset: 0;
}
.case-hero-crossfade img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  max-width: none;
}
.case-hero-crossfade img.active {  }

/* XD Embed iframe */
.xd-embed-wrap {
  margin: 52px -10%;
  position: relative;
}
.xd-embed-wrap iframe {
  width: 100%;
  border: none;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.xd-embed-label {
  font-size: 0.78rem; font-weight: 600; color: rgba(0,0,0,0.4);
  text-align: center; margin-top: 10px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .xd-embed-wrap { margin: 40px 0; }
}

/* DJU video */
.case-video {
  margin: 52px -10%;
}
.case-video video {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
@media (max-width: 880px) {
  .case-video { margin: 40px 0; }
}

/* Small image — natural pixel size, centered, no stretch */
.case-image-small {
  margin: 40px auto;
  text-align: center;
}
.case-image-small img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Featured deliverable — full breakout, own section feel */
.case-image-featured {
  margin: 60px -15%;
  background: var(--dark-3);
  padding: 40px;
}
.case-image-featured img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 72px rgba(0,0,0,0.25);
}
.case-image-featured-label {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue);
}
@media (max-width: 880px) {
  .case-image-featured { margin: 40px 0; padding: 24px; }
}

/* Personal sign-off image */
.case-image-signoff {
  margin: 48px auto 0;
  text-align: center;
  max-width: 320px;
}
.case-image-signoff img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.case-image-signoff p {
  font-style: italic;
  font-size: 0.9rem !important;
  color: rgba(0,0,0,0.4) !important;
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Steps layout — image right of step text */
.case-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.case-step:last-child { border-bottom: none; }
.case-step-text {}
.case-step-img img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.case-step-num {
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.case-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  color: var(--dark); text-transform: uppercase;
  letter-spacing: 0.01em; margin-bottom: 14px;
  line-height: 1.2;
}
.case-step-text p { font-size: 1.05rem; color: var(--mid); line-height: 1.82; margin-bottom: 10px; }
@media (max-width: 700px) {
  .case-step { grid-template-columns: 1fr; }
}


/* ============================================================
   BODY COPY NORMALIZATION — all case study text same size
   ============================================================ */
.case-body p,
.case-body li,
.case-section p,
.case-section li,
.case-bullets li,
.brief-item-text,
.case-step-text p {
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: var(--mid);
}

/* Section sublabel — stays small */
.case-section-sublabel {
  font-size: 0.66rem !important;
}

/* Significant space before any section that follows content */
.case-section + .case-section,
.case-image + .case-section,
.case-image-small + .case-section,
.case-image-breakout + .case-section,
.case-image-featured + .case-section,
.case-step + .case-section {
  margin-top: 80px;
}

/* Extra breathing room before section big label when following image */
.case-section-big-label {
  margin-top: 8px;
}

/* Remove top tag line from case studies */
.case-hero .case-tag { display: none; }

/* Sublabel 30% larger, no em dash */
.case-section-sublabel {
  font-size: 0.86rem !important;
  letter-spacing: 0.16em !important;
}
ortant;
}
