:root {
  --bg: #0a0a0b;
  --bg-card: #111113;
  --bg-card-2: #161618;
  --border: rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --accent: #5C68D8;
  --accent-rgb: 92, 104, 216;
  --accent-dim: rgba(var(--accent-rgb), 0.12);
  --text-primary: #f0ede8;
  --text-secondary: #8a8880;
  --text-muted: #666360;
  --heading: 'Rubik', sans-serif;
  --body: 'Satoshi', sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text-primary);
  font-family: var(--body); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Horizontal overflow guard lives here (not on .page-wrap) so that no
     ancestor of a `position: sticky` section creates a clip container —
     that combination causes Safari to vibrate sticky descendants during
     scroll. body is the root scroller, so clipping here is safe. */
  overflow-x: clip;
}

/* ── NAV ── */
nav {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; align-items: center;
  background: rgba(10,10,11,0.75); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 12px 24px; white-space: nowrap;
}
nav .logo { font-family: var(--heading); font-size: 18px; color: var(--text-primary); text-decoration: none; letter-spacing: 0.02em; margin-right: 24px; }
nav .nav-links { display: flex; gap: 24px; list-style: none; }
nav .nav-links a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.3s var(--ease); }
nav .nav-links a:hover { color: var(--text-primary); }
nav .nav-cta { font-size: 12px; color: var(--accent); text-decoration: none; border: 1px solid rgba(var(--accent-rgb),0.3); border-radius: 100px; padding: 6px 16px; transition: all 0.3s var(--ease); }
nav .nav-cta:hover { background: var(--accent-dim); border-color: rgba(var(--accent-rgb),0.5); }
nav .nav-scroll-top { display: flex; align-items: center; justify-content: center; width: 0; height: 28px; overflow: hidden; flex-shrink: 0; background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 0; margin-right: 0; opacity: 0; pointer-events: none; transition: width 0.4s var(--ease), margin-right 0.4s var(--ease), opacity 0.35s var(--ease), color 0.2s; }
nav .nav-scroll-top.visible { width: 20px; margin-right: 24px; opacity: 1; pointer-events: auto; }
nav .nav-scroll-top:hover { color: var(--text-primary); }

/* ── HERO ── */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 80px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(var(--accent-rgb),0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(var(--accent-rgb),0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.hero-tag { font-size: 11px; font-family: var(--body); font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(var(--accent-rgb),0.25); border-radius: 100px; padding: 5px 14px; }
.hero-dot { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }
.hero-discipline { font-size: 13px; color: var(--text-secondary); letter-spacing: 0.04em; }
.hero h1 { font-family: var(--heading); font-size: clamp(56px, 8vw, 104px); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; color: var(--text-primary); max-width: 900px; }
.hero h1 .accent-word { color: var(--accent); }
.hero-desc { font-size: 16px; color: var(--text-secondary); max-width: 520px; line-height: 1.7; margin-top: 40px; }
.scroll-hint { position: absolute; bottom: 80px; right: 80px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint span { font-size: 11px; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; writing-mode: vertical-lr; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--border-mid), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ── DIVIDER ── */
.section-divider { height: 1px; background: var(--border); margin: 0 80px; }

/* ── SECTIONS ── */
section { padding: 96px 80px; }
.section-label { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 48px; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; height: 1px; width: 40px; background: rgba(var(--accent-rgb),0.3); }

/* ── OVERVIEW ── */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border-radius: 20px; overflow: hidden; }
.overview-cell { background: var(--bg-card); padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.overview-cell h2 { font-family: var(--heading); font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 20px; }
.overview-cell p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.overview-cell p + p { margin-top: 16px; }
.deliverables-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.deliverables-list li { font-size: 12px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 100px; padding: 5px 14px; background: var(--bg-card-2); letter-spacing: 0.03em; }

/* ── PHASE HEADER ── */
.phase-header { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 56px; align-items: start; }
.phase-num { font-family: var(--heading); font-size: 96px; font-weight: 600; color: var(--border); line-height: 1; letter-spacing: -0.04em; }
.phase-title { font-family: var(--heading); font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.phase-body { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 580px; }
.phase-body p + p { margin-top: 16px; }

/* ── CAROUSEL ── */
.carousel-wrap { border-radius: 20px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); user-select: none; }
.carousel-track-outer { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s var(--ease); will-change: transform; }
.carousel-slide { min-width: 100%; padding: 56px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.carousel-slide img { max-width: 100%; max-height: 600px; object-fit: contain; border-radius: 10px; display: block; pointer-events: none; }
.carousel-caption { font-size: 13px; color: var(--text-secondary); letter-spacing: 0.03em; text-align: center; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; border-top: 1px solid var(--border); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); cursor: pointer; transition: background 0.3s var(--ease), transform 0.3s var(--ease); border: none; padding: 0; }
.carousel-dot.active { background: var(--accent); transform: scale(1.3); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-mid); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.3s var(--ease); }
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.carousel-counter { font-size: 12px; color: var(--text-muted); letter-spacing: 0.06em; }

/* ────────────────────────────────────────────────
   TAB-PANEL LAYOUT
   Left: sticky media panel  |  Right: clickable list
   (Used for Phase 2 wireframes and Phase 4 videos)
──────────────────────────────────────────────── */
.tabpanel-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

/* LEFT — sticky media */
.tabpanel-media {
  position: sticky;
  top: 0;
  height: 100vh; height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px 48px 0;
}

/* Image variant */
.tabpanel-media-img {
  position: relative;
  width: 100%;
}
.tabpanel-media-img img {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.tabpanel-media-img img.active { opacity: 1; position: relative; }

/* Phone/video variant */
.tabpanel-media-phone {
  position: relative;
  width: 280px;
  height: calc(280px * 19 / 9);
}
.phone-slot {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg-card-2);
  border: 1px solid var(--border-mid);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.phone-slot.active { opacity: 1; pointer-events: auto; }
.phone-slot video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* RIGHT — list of items */
.tabpanel-list {
  padding: 64px 0 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tabpanel-item {
  border-radius: 16px;
  padding: 22px 24px;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid transparent;
  position: relative;
}
.tabpanel-item:hover {
  background: var(--bg-card);
  border-color: var(--border);
}
.tabpanel-item.active {
  background: var(--bg-card);
  border-color: rgba(var(--accent-rgb), 0.14);
  box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.07);
}

.tabpanel-item-index {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.25s var(--ease);
}
.tabpanel-item.active .tabpanel-item-index { color: var(--accent); }

.tabpanel-item h4 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  margin-bottom: 0;
  transition: color 0.25s var(--ease);
  line-height: 1.2;
}
.tabpanel-item.active h4 { color: var(--text-primary); }

.tabpanel-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.tabpanel-item.active p {
  max-height: 200px;
  opacity: 1;
  color: var(--text-secondary);
}

.tabpanel-item::before { display: none; }

/* ── SCROLLYTELLING ── */
.scrolly-outer {
  position: relative;
  /* height set dynamically by JS based on step count */
}

/* Pin the section inside a scrolly-outer to the viewport */
.scrolly-outer > section {
  position: sticky;
  top: 0;
  height: 100vh; height: 100svh;
  /* `overflow: clip` instead of `hidden`: still clips children, but doesn't
     force Safari to repaint the sticky element each scroll frame (which was
     showing up as a sub-pixel "vibration" while scrolling). */
  overflow: clip;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* tabpanel-block fills the full sticky section; left column wider than right */
.scrolly-outer .tabpanel-block {
  height: 100%;
  align-items: stretch;
  grid-template-columns: 3fr 2fr;
}

/* Media column: no longer needs its own sticky — parent handles it */
.scrolly-outer .tabpanel-media {
  position: relative;
  top: auto;
  height: 100%;
  padding: 40px 32px 40px 0;
}

/* Phone: 20% bigger than base 280px */
.scrolly-outer .tabpanel-media-phone {
  width: 336px;
  height: calc(336px * 19 / 9);
}

/* Videos already contain a phone frame — remove the fake shell */
.scrolly-outer .phone-slot {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}
.scrolly-outer .phone-slot video {
  object-fit: contain;
}

/* Image: let it fill the wider column instead of capping at 420px */
.scrolly-outer .tabpanel-media-img {
  max-width: none !important;
}
.scrolly-outer .tabpanel-media-img img {
  max-height: 80svh;
}

/* List column: fills height, vertically centred, no overflow */
.scrolly-outer .tabpanel-list {
  height: 100%;
  overflow: hidden;
  justify-content: flex-start;  /* spacers below handle centering */
  padding-top: 32px;
  padding-bottom: 32px;
  padding-left: 36px;
  gap: 2px;
}
/* Flex spacers above and below items — absorb height changes without shifting items */
.scrolly-outer .tabpanel-list::before,
.scrolly-outer .tabpanel-list::after {
  content: '';
  flex: 1;
}

/* Smoother paragraph expansion — tighter max-height reduces non-linear snapping */
.scrolly-outer .tabpanel-item p {
  max-height: 0;
  transition: max-height 0.35s ease-in-out, opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.scrolly-outer .tabpanel-item.active p {
  max-height: 120px;
}

/* Slightly smaller right-side text to complement the larger visuals */
.scrolly-outer .tabpanel-item {
  padding: 14px 18px;
}
.scrolly-outer .tabpanel-item h4 {
  font-size: 17px;
}
.scrolly-outer .tabpanel-item p {
  font-size: 14px;
}

/* ── PHASE 3 GAMIFICATION ── */
.highlight-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 56px; }
.highlight-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.highlight-left h3 { font-family: var(--heading); font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 20px; }
.highlight-left p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.highlight-left p + p { margin-top: 14px; }
.points-grid { display: flex; flex-direction: column; gap: 12px; }
.point-card { background: var(--bg-card-2); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; display: flex; align-items: center; gap: 18px; }
.point-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--heading); flex-shrink: 0; }
.point-icon.xp { background: rgba(var(--accent-rgb),0.15); color: var(--accent); font-size: 15px; }
.point-icon.fp  { background: rgba(120,180,255,0.1); color: #78b4ff; font-size: 15px; }
.point-icon.coin { background: rgba(255,200,80,0.1); color: #ffc850; font-size: 22px; }
.point-info h5 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.point-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.gamification-img-row { display: flex; justify-content: center; border-top: 1px solid var(--border); padding-top: 40px; }
.gamification-img-row img { max-width: 70%; border-radius: 12px; border: 1px solid var(--border); display: block; }

/* ── OUTCOMES ── */
.outcomes-img-wrap { display: flex; justify-content: center; }
.outcomes-img-wrap img { max-width: 65%; border-radius: 20px; display: block; }

/* ── CONTACT ── */
.contact-section { padding: 96px 80px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.contact-section h2 { font-family: var(--heading); font-size: clamp(40px, 5vw, 72px); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; max-width: 500px; }
.contact-section h2 .accent-word { color: var(--accent); }
.contact-action { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; flex-shrink: 0; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-primary); text-decoration: none; border: 1px solid var(--border-mid); border-radius: 100px; padding: 12px 20px; transition: all 0.4s var(--ease); }
.contact-link .icon-wrap { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease); }
.contact-link:hover { border-color: rgba(var(--accent-rgb),0.4); background: rgba(var(--accent-rgb),0.05); }
.contact-link:hover .icon-wrap { transform: translate(2px, -2px) scale(1.1); }
.next-projects { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.next-proj-link { font-size: 13px; color: var(--text-primary); text-decoration: none; border: 1px solid var(--border-mid); border-radius: 100px; padding: 6px 16px; transition: all 0.3s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.next-proj-link[href="/project/vennio"]            { --link-accent-rgb: 201, 168, 78; }
.next-proj-link[href="/project/bleach"]            { --link-accent-rgb: 250, 170, 181; }
.next-proj-link[href="/project/hero"]              { --link-accent-rgb: 195, 156, 229; }
.next-proj-link[href="/project/simmonsandsimmons"] { --link-accent-rgb: 252, 87, 96; }
.next-proj-link[href="/project/airbnb"]            { --link-accent-rgb: 230, 29, 79; }
.next-proj-link:hover { color: var(--text-primary); border-color: rgba(var(--link-accent-rgb, var(--accent-rgb)),0.4); background: rgba(var(--link-accent-rgb, var(--accent-rgb)),0.05); box-shadow: 0 0 20px rgba(var(--link-accent-rgb, var(--accent-rgb)),0.08); }

footer { padding: 24px 80px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
footer p { font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; }

/* ── LIGHTBOX ── */
.page-wrap img.glightbox { cursor: zoom-in; pointer-events: auto; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ── PAGE TRANSITIONS ── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.32s var(--ease) both fade-and-slide-out; }
::view-transition-new(root) { animation: 0.45s var(--ease) both fade-and-slide-in; }
@keyframes fade-and-slide-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}
@keyframes fade-and-slide-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.page-wrap { animation: page-in 0.55s var(--ease) both; }
.page-wrap.page-exit {
  animation: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  pointer-events: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav .nav-links { display: none; }
  .hero, section { padding-left: 24px; padding-right: 24px; }
  .section-divider { margin: 0 24px; }
  .overview-grid, .phase-header, .highlight-top { grid-template-columns: 1fr; }
  .phase-num { font-size: 48px; }
  .hero h1 { font-size: 52px; }

  /* Overview card + gamification card: 24px padding on mobile */
  .overview-cell { padding: 24px; }
  .highlight-block { padding: 24px; }

  /* Carousel: no card background, arrows flanking dots */
  .carousel-wrap { background: transparent; border: none; border-radius: 0; }
  .carousel-slide { padding: 0; }
  .carousel-slide img { border-radius: 10px; }
  .carousel-counter { display: none; }
  .carousel-controls { border-top: none; padding: 16px 0; position: static; justify-content: center; gap: 16px; }
  .carousel-arrows { display: contents; }
  .carousel-prev { order: -1; }
  .carousel-next { order: 1; }
  .carousel-dots { order: 0; }
  .carousel-btn:focus { color: var(--text-secondary); border-color: var(--border-mid); background: transparent; }

  /* Disable scrollytelling on mobile — revert to normal flow */
  .scrolly-outer { height: auto !important; }
  .scrolly-outer > section {
    position: relative;
    height: auto;
    overflow: visible;
  }

  /* Phase 2 / Phase 4 mobile: hide original media panel,
     show injected media+text pairs as a linear scroll */
  .tabpanel-block { grid-template-columns: 1fr; }
  .tabpanel-media { display: none; }

  /* Fix scrolly-outer tabpanel grid — higher specificity needed to beat desktop rule */
  .scrolly-outer .tabpanel-block {
    grid-template-columns: 1fr;
    height: auto;
    align-items: start;
  }

  /* Override the higher-specificity scrolly rule that adds 36px left indent */
  .scrolly-outer .tabpanel-list,
  .tabpanel-list { padding: 0; gap: 0; height: auto; overflow: visible; }

  /* Override .scrolly-outer .tabpanel-item { padding: 14px 18px } desktop rule */
  .scrolly-outer .tabpanel-item,
  .tabpanel-item {
    padding: 0 0 56px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: default;
  }
  .tabpanel-item h4 { color: var(--text-primary) !important; }
  .tabpanel-item p,
  .scrolly-outer .tabpanel-item p,
  .scrolly-outer .tabpanel-item.active p {
    max-height: none !important;
    opacity: 1 !important;
    color: var(--text-secondary) !important;
    font-size: 15px !important;
  }
  .tabpanel-item-index { color: var(--accent); }

  /* Injected media wrappers */
  .mobile-panel-media { margin-bottom: 32px; }

  .mobile-panel-media img {
    width: 100%;
    display: block;
    border-radius: 12px;
    position: relative;
    opacity: 1;
  }

  .mobile-panel-media .phone-slot {
    position: relative;
    opacity: 1;
    width: 72%;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    background: var(--bg-card-2);
    border: 1px solid var(--border-mid);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    aspect-ratio: 9 / 19.5;
  }
  .mobile-panel-media .phone-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .contact-section { flex-direction: column; align-items: flex-start; padding: 64px 24px; }
  .contact-action { align-items: flex-start; }
  footer { flex-direction: column; gap: 12px; padding: 24px; }
  .scroll-hint { display: none; }
  .gamification-img-row img, .outcomes-img-wrap img { max-width: 100%; }
}
