/* ===================================
   CASE STUDY PAGE - REDESIGN
   Modern, spacious design with better hierarchy
   =================================== */

body.body {
  font-weight: 400;
  --text-size: 18px;
  --text-color: #2B2B2B;
  --link-color: #3C9342;
  --accent-color: #53af59;
  color: var(--text-color);
  padding: 2rem;
  position: relative;
}

#page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masthead {
  width: 100%;
  align-self: center;
}

.masthead a {
  border-bottom: none;
}

.breadcrumb-past, .breadcrumb-current {
  font-size: 1.4rem !important;
}

.breadcrumbs li {
  margin-bottom: 0 !important;
  line-height: 1.45 !important;
}


.top-nav a,
.breadcrumbs a {
  text-decoration: none !important;
}

.breadcrumbs a:hover {
  text-decoration: none !important;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article {
  position: relative;
  max-width: 72ch;
  align-self: center;
  padding: 0 2rem;
}

/* ===================================
   FULLWIDTH SECTIONS - Refined
   =================================== */

.fullwidth-section {
  width: 100vw;
  align-self: stretch;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding-top: 0px;
  padding-bottom: 32px;
  padding-left: 0px;
  padding-right: 0px;
  background: linear-gradient(135deg, #f9f3ed 0%, #fef8f3 50%, #f9f3ed 100%);
  border-top: 1px solid rgba(60, 147, 66, 0.1);
  border-bottom: 1px solid rgba(60, 147, 66, 0.1);
}

.content-wrapper {
  align-self: center;
  max-width: 95%;
  margin: 0 auto;
}

/* ===================================
   TYPOGRAPHY - Original hierarchy
   =================================== */

h1 {
  margin-top: 8rem;
  margin-bottom: 2rem;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.3;
}

h2 {
  margin-top: 5rem;
  margin-bottom: 1.5rem;
  font-size: 32px;
  font-weight: 700;
  scroll-margin-top: 2rem;
}

h3 {
  font-family: 'IBM Plex Sans Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-top: 3rem;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Make headings span across main column and sidenote margin */
@media screen and (min-width: 1080px) {
  .article h1,
  .article h2,
  .article h3 {
    margin-right: calc(-1 * (12rem + 4.8rem));
  }
}

/* ::selection {
  background-color: #f8acd8;
  color: #232323;
} */


::selection {
  background-color: #dfede0;
  color: #216d26;
}





a,
a:visited {
  font-style: normal;
  text-decoration: none;
  color: var(--link-color);
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(60, 147, 66, 0.3);
}

a:focus,
a:hover,
a:active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.masthead a, a:visited {
  text-decoration: none !important;
  color: var(--link-color);
  transition: all 0.2s ease;
}

.masthead a:focus,a:hover,a:active {
  text-decoration: none !important;
  color: var(--accent-color);
  border-bottom: none !important;
}

p {
  font-size: var(--text-size);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: #3a3a3a;
}

li {
  font-size: var(--text-size);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  color: #3a3a3a;
}

p.back-to-top {
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.back-to-top {
  color: var(--accent-color);
  text-align: right;
  text-transform: uppercase;
  font-family: 'Figtree Variable', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  display: inline-block;
  border: none;
  transition: transform 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

mark {
  margin: 0 -0.4em;
  padding: 0.1em 0.4em;
  border-radius: 0.8em 0.3em;
  background: transparent;
  background-image: linear-gradient(
    to right,
    rgba(83, 175, 89, 0.15),
    rgba(83, 175, 89, 0.25) 4%,
    rgba(83, 175, 89, 0.15)
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ===================================
   INFO GRID - More modern cards
   =================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 100%;
  margin: 3rem 0;
}

.info-box {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(60, 147, 66, 0.2);
}

.info-box h4 {
  font-family: 'IBM Plex Sans Condensed', sans-serif !important;
  font-size: 12pt !important;
  font-weight: 600 !important;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px !important;
}

.info-box p {
  font-family: 'Figtree Variable', sans-serif;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  color: #3a3a3a;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-box {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .info-box {
    padding: 24px;
  }
}

/* ===================================
   IMAGES WITH CAPTIONS - Better spacing
   =================================== */

.image-w-note figure {
  margin: 3rem 0;
}

.image-w-note img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.image-w-note figcaption {
  margin-top: 1.25rem;
  text-align: left;
  padding: 0;
  font-family: 'Figtree Variable', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}

.tagcaption {
  font-style: normal !important;
  width: auto;
  color: #53af59;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(83, 175, 89, 0.08);
  border: 1px solid rgba(83, 175, 89, 0.25);
  border-radius: 0;
  margin-bottom: 8px;
  padding: 6px 14px;
  font-family: 'Figtree Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.4;
  display: inline-block;
}

/* ===================================
   IMAGE ROWS - Improved layout
   =================================== */

.image-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.image-row figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 300px;
  max-width: 600px;
  min-width: 240px;
  margin: 0;
}

.image-row figure.figure-smaller {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 280px;
  max-width: 320px;
  min-width: 240px;
  margin: 0;
}

.image-row img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.image-row figcaption {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
  padding: 0;
  font-family: 'Figtree Variable', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
  min-height: auto;
}

.image-row figcaption .tagcaption {
  display: block;
  margin-bottom: 10px;
}

.image-row figcaption.notext {
  min-height: auto;
}

.image-row figcaption.shorter {
  min-height: auto;
}

@media (max-width: 800px) {
  .image-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .image-row figure {
    max-width: 90vw;
    width: 100%;
  }
}

/* ===================================
   THREE COLUMNS - More spacious
   =================================== */

.three-columns {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  margin: 3rem 0;
}

.column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.column:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(60, 147, 66, 0.2);
}

.step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.three-columns .column-title,
.column .column-title,
div.column-title {
  font-family: 'IBM Plex Sans Condensed', sans-serif !important;
  font-size: 18px !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 8px !important;
  font-weight: 400 !important;
}

.three-columns .column-heading,
.column .column-heading,
div.column-heading {
  font-family: 'Figtree Variable', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.three-columns .column-text,
.column .column-text,
div.column-text {
  font-family: 'Figtree Variable', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

@media (max-width: 900px) {
  .three-columns {
    flex-direction: column;
    gap: 24px;
  }
  .column {
    width: 100%;
    padding: 28px;
  }
}

/* ===================================
   CONTENT LISTS - Better styling
   =================================== */

.content-list {
  list-style: none;
  padding: 2rem;
  margin: 2rem 0;
  background: rgba(83, 175, 89, 0.04);
  border-left: 3px solid var(--accent-color);
}

.section-header {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2B2B2B;
}

.section-header:first-child {
  margin-top: 0;
}

.content-item {
  margin: 0.75rem 0;
  padding-left: 0;
}

.content-item a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.content-item a:hover {
  transform: translateX(4px);
}

.content-item.highlight {
  font-weight: 600;
}

/* ===================================
   SHADOW PROPERTIES
   =================================== */

:root {
  --shadow-color: 292deg 7% 73%;
  --shadow-elevation-low:
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.15),
    0.4px 0.7px 0.9px -1.1px hsl(var(--shadow-color) / 0.16),
    0.8px 1.5px 2px -2.2px hsl(var(--shadow-color) / 0.17);
  --shadow-elevation-medium:
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.15),
    0.7px 1.4px 1.8px -0.7px hsl(var(--shadow-color) / 0.16),
    1.6px 3.2px 4.2px -1.5px hsl(var(--shadow-color) / 0.18),
    3.8px 7.5px 9.8px -2.2px hsl(var(--shadow-color) / 0.19);
  --shadow-elevation-high:
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
    0.9px 1.8px 2.4px -0.3px hsl(var(--shadow-color) / 0.15),
    1.6px 3.2px 4.2px -0.6px hsl(var(--shadow-color) / 0.15),
    2.5px 4.9px 6.4px -0.9px hsl(var(--shadow-color) / 0.16),
    3.8px 7.6px 9.9px -1.3px hsl(var(--shadow-color) / 0.16),
    5.8px 11.5px 15.1px -1.6px hsl(var(--shadow-color) / 0.17),
    8.6px 17.2px 22.5px -1.9px hsl(var(--shadow-color) / 0.17),
    12.5px 25px 32.7px -2.2px hsl(var(--shadow-color) / 0.18);
}

/* ===================================
   ADDITIONAL REFINEMENTS
   =================================== */

/* Better link styling in sidenotes */
.sidenote-link {
  border-bottom: 1px solid rgba(60, 147, 66, 0.3);
}

/* Improve code/italic emphasis */
em, i {
  font-style: italic;
  color: #2a2a2a;
}

/* Add smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Better focus states */
a:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ===================================
   PROCESS CYCLE DIAGRAM
   =================================== */

.process-cycle {
  margin: 3rem 0;
  text-align: center;
}

.cycle-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 550px;
  margin: 0 auto;
}

.cycle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.cycle-count {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.25rem;
}

.cycle-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #999;
}

.cycle-arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cycle-bubble {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
}

.bubble-1 {
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #7B68EE 0%, #6A5ACD 100%);
}

.bubble-2 {
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
}

.bubble-3 {
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #87CEEB 0%, #4FC3F7 100%);
}

.bubble-4 {
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #90EE90 0%, #53af59 100%);
}

.bubble-number {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.bubble-title {
  font-size: 26px;
  font-weight: 700;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .cycle-container {
    max-width: 400px;
    height: 400px;
  }

  .cycle-bubble {
    width: 120px;
    height: 120px;
  }

  .bubble-number {
    font-size: 14px;
  }

  .bubble-title {
    font-size: 20px;
  }

  .cycle-count {
    font-size: 24px;
  }

  .cycle-label {
    font-size: 14px;
  }
}

/* ===================================
   PROCESS DIAGRAM
   =================================== */

/* Hide mobile arrows on desktop */
.mobile-arrow {
  display: none;
}

/* Desktop: scale proportionally using zoom */
@media screen and (min-width: 1025px) {
  .process-diagram-container {
    transform: scale(0.95);
    transform-origin: top center;
    zoom: 1;
  }

  /* Scale down on smaller desktop screens */
  @media screen and (max-width: 1400px) {
    .process-diagram-container {
      zoom: 0.85;
    }
  }

  @media screen and (max-width: 1200px) {
    .process-diagram-container {
      zoom: 0.7;
    }
  }

  @media screen and (max-width: 1100px) {
    .process-diagram-container {
      zoom: 0.6;
    }
  }
}

/* Mobile/Tablet: stack vertically */
@media screen and (max-width: 1024px) {
  .process-diagram-container {
    position: static !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .process-diagram-container > * {
    position: static !important;
    transform: none !important;
    max-width: 100% !important;
  }

  /* Limit width of text divs and bring headings closer to images */
  .process-diagram-container > div:not(.mobile-arrow) {
    max-width: 280px !important;
    margin-top: 0.5rem !important;
  }

  /* Hide all arrow images on mobile */
  .process-diagram-container img[src*="arrow"] {
    display: none !important;
  }

  /* Show simple mobile arrows between steps */
  .process-diagram-container .mobile-arrow {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    font-size: 32px;
    color: #009CFF;
    margin: 1.5rem 0;
    line-height: 1;
  }

  /* Hide the 3 ROUNDS text on mobile */
  .process-diagram-container > div[style*="translateX(-50%)"] {
    display: none !important;
  }

  /* Limit image and video sizes more strictly */
  .process-diagram-container img {
    max-width: 200px !important;
    height: auto;
    margin-bottom: 0 !important;
  }

  .process-diagram-container video {
    max-width: 250px !important;
    height: auto;
    margin-bottom: 0 !important;
  }

  /* Make implementation image smaller on mobile */
  .process-diagram-container img[src*="implementation"] {
    max-width: 110px !important;
  }

  /* Make ideation image overlap its heading on mobile */
  .process-diagram-container img[src*="ideation"] {
    max-height: 90px !important;
    max-width: 200px !important;
    margin-top: -60px !important;
    z-index: 5;
  }
}

/* ===================================
   SCREEN READER ONLY
   =================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print styles */
@media print {
  .back-to-top {
    display: none;
  }

  .fullwidth-section {
    background: white;
    border: 1px solid #ddd;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* Match homepage padding at different breakpoints */
@media screen and (min-width: 768px) {
  body.body {
    padding: 4rem;
  }
}

/* Updated: 1736862400 */
/* Updated: 1769780600 */
