/* =========================
   PURRCEL CASE STUDY
========================= */

.case-purrcel{
    --case-muted: #8f8f8f;
  
    --purrcel-green: #398027;
    --purrcel-mint: #F3FFF5;
    --purrcel-overview-gray: #F5F5F5;
  }
  
  /* MAIN */
  .case-purrcel main{
    padding-bottom: 0;
  }
  
  /* Safety: hide Everytime-only components */
  .case-purrcel .phone-media,
  .case-purrcel .case-everytime,
  .case-purrcel .everytime-media{
    display: none;
  }
  
  /* Container (matches Everytime) */
  .case-purrcel .case-inner{
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--page-pad-x);
  }
  
  /* Section rhythm */
  .case-purrcel .case-section{
    padding: 72px 0 32px;
  }
  
  /* Full-width background blocks */
  .case-purrcel .case-block{
    padding: 0;
  }
  
  .case-purrcel .case-block--mint{
    background: var(--purrcel-mint);
  }
  
  /* Overview background */
  .case-purrcel .case-section--overview{
    background: var(--purrcel-overview-gray);
    padding: 72px 0 50px;
  }
  
  /* =========================
     HERO
  ========================= */
  
  .case-purrcel .case-hero{
    padding: 110px 0 50px;
  }
  
  .case-purrcel .case-hero-inner{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
  
    /* prevent Everytime grid bleed */
    display: block !important;
  }
  
  /* Kicker (small headers like "Overview") */
  .case-purrcel .case-kicker{
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 350;
    color: #9f9f9d;
    letter-spacing: 0.18px;
  }
  
  /* Green kicker for Overview */
  .case-purrcel .case-section--overview .case-kicker{
    color: var(--purrcel-green);
    font-weight: 800;
  }
  
  /* =========================
     ALL HEADERS (26px)
  ========================= */
  
  /* This controls:
     - PURRCEL
     - Project Brief
     - My Role
     - The Outcome
     - Purpose of PURRCEL
     - Target Players
  */
  .case-purrcel .case-title{
    margin: 16px 0 18px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    color: #111;
    text-align: left;
  }
  
  /* Spacing before Target Players */
  .case-purrcel .case-title--subsection{
    margin-top: 70px;
  }
  
  /* =========================
     HERO MEDIA
  ========================= */
  
  .case-purrcel .case-subtitle{
    margin: 0 0 44px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 720px;
    color: #1a1a1a;
    padding-bottom: 18px;
  }
  
  .case-purrcel .hero-media{
    margin: 0 auto;
    max-width: 900px;
  }
  
  .case-purrcel .hero-img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    margin-bottom: 30px;
  }
  
  /* =========================
     BODY COPY
  ========================= */
  
  .case-purrcel .case-copy{
    display: grid;
    gap: 14px;
    max-width: 120ch;
  }
  
  .case-purrcel .case-body{
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: #2b2b2b;
    max-width: 200ch;
  }
  
  /* Sub-kicker (e.g. Team Project – Ongoing) */
  .case-purrcel .case-subkicker{
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    color: #9f9f9d;
  }
  
  /* Green inline emphasis */
  .case-purrcel .text-green{
    color: var(--purrcel-green);
    font-weight: 700;
  }
  
  /* Lists */
  .case-purrcel .case-list{
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.8;
    color: #2b2b2b;
  }
  
  .case-purrcel .case-list li{
    margin: 6px 0;
  }
  
  /* =========================
     OUTCOME
  ========================= */
  
  .case-purrcel .case-section--outcome{
    padding: 45px 0;
  }
  
  .case-purrcel .outcome-title{
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--purrcel-green);
  }
  
  /* =========================
     RESPONSIVE
  ========================= */
  
  @media (max-width: 900px){
    .case-purrcel .case-hero{
      padding: 90px 0 40px;
    }
  
    .case-purrcel .hero-media{
      max-width: 100%;
    }
  }
  
  @media (max-width: 980px){
    .case-purrcel .case-inner{
      padding: 0 var(--page-pad-x);
    }
  }
  
  
  /* =========================
   RESEARCH & VALIDATION (GRAY)
========================= */

.case-purrcel .case-section--research{
    background: var(--purrcel-overview-gray); /* #F5F5F5 */
    padding: 72px 0 90px;
  }
  
  /* tighter copy width like figma */
  .case-purrcel .case-section--research .case-copy{
    max-width: 108ch;
  }
  
  /* Methods block */
  .case-purrcel .research-methods{
    margin-top: 52px;
  }
  
  .case-purrcel .research-label{
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #9f9f9d; /* muted label */
  }
  
  .case-purrcel .research-list{
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.8;
    color: #2b2b2b;
    max-width: 120ch;
  }
  
  .case-purrcel .research-list li{
    margin: 3px 0;
  }
  
  /* Key Findings title spacing */
  .case-purrcel .research-findings-title{
    margin-top: 70px;
  }
  
  /* Findings grid */
  .case-purrcel .findings-grid{
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 110px;
    row-gap: 54px;
    max-width: 1100px;
  }
  
  .case-purrcel .finding{
    max-width: 52ch;
  }
  
  .case-purrcel .finding-title{
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: #9f9f9d; /* muted gray like figma */
    line-height: 1.3;
  }
  
  .case-purrcel .finding-body{
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
    color: #2b2b2b;
  }
  
  /* Responsive */
  @media (max-width: 980px){
    .case-purrcel .findings-grid{
      grid-template-columns: 1fr;
      column-gap: 0;
      row-gap: 34px;
    }
  
    .case-purrcel .finding{
      max-width: 100%;
    }
  }


/* =========================
   INFLUENCER MATRIX
========================= */

.case-purrcel .case-section--matrix{
    background: #fff;
    padding: 72px 0 90px; /* matches the airy spacing in figma */
  }
  
  .case-purrcel .matrix-media{
    margin: 34px auto 0;
    max-width: 650px; /* matches the screenshot image size */
  }
  
  .case-purrcel .matrix-img{
    width: 100%;
    height: auto;
    display: block;
  }
  

/* =========================
   PERSONAS (gray background)
========================= */

.case-purrcel .case-section--personas{
    background: var(--purrcel-overview-gray); /* #F5F5F5 */
    padding: 72px 0 110px;
  }
  
  .case-purrcel .personas-intro{
    margin-top: 4px;
    max-width: 78ch;
  }
  
  /* vertical stack spacing */
  .case-purrcel .persona-stack{
    margin-top: 54px;
    display: grid;
    gap: 86px; /* big airy gaps like figma */
  }
  
  /* two-column persona row */
  .case-purrcel .persona-row{
    display: grid;
    grid-template-columns: 320px 1fr;
    column-gap: 110px;
    align-items: start;
  }
  
  /* left side */
  .case-purrcel .persona-name{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #9f9f9d;
  }
  
  .case-purrcel .persona-sub{
    margin: 6px 0 18px;
    font-size: 11px;
    color: #b3b3b3;
  }
  
  /* image sizing + rounding like figma */
  .case-purrcel .persona-photo{
    width: 170px;
    height: 170px;
    border-radius: 18px;
    object-fit: cover;
    display: block;
    background: #d9d9d9;
  }
  
  /* right side */
  .case-purrcel .persona-desc{
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.75;
    color: #2b2b2b;
    max-width: 64ch;
    padding-top: 50px;
  }
  
  .case-purrcel .persona-needs-label{
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    color: #111;
  }
  
  .case-purrcel .persona-needs{
    margin: 0;
    padding-left: 16px;
    font-size: 12px;
    line-height: 1.8;
    color: #2b2b2b;
  }
  
  .case-purrcel .persona-needs li{
    margin: 4px 0;
  }
  
  /* responsive */
  @media (max-width: 980px){
    .case-purrcel .persona-row{
      grid-template-columns: 1fr;
      row-gap: 18px;
      column-gap: 0;
    }
  
    .case-purrcel .persona-photo{
      width: 150px;
      height: 150px;
    }
  
    .case-purrcel .persona-desc{
      max-width: 100%;
    }
  }
  

  /* =========================
   JOURNEY MAPPING (gray)
========================= */

.case-purrcel .case-section--journey{
    background: var(--purrcel-overview-gray); /* #F5F5F5 */
    padding: 72px 0 110px;
  }
  
  .case-purrcel .case-section--journey .case-copy{
    max-width: 110ch; /* matches the figma text width */
  }
  
  /* 3 stacked journey images */
  .case-purrcel .journey-stack{
    margin-top: 42px;
    display: grid;
    gap: 48px;                 /* spacing between the 3 images */
    justify-items: center;     /* centers images */
  }
  
  .case-purrcel .journey-img{
    width: 100%;
    max-width: 980px;          /* matches the screenshot scale */
    height: auto;
    display: block;
  }
  

/* =========================
   UI DESIGN SYSTEM (alternating rows)
========================= */

.case-purrcel .case-section--ui{
    background: #fff;
    padding: 72px 0 110px;
  }
  
  .case-purrcel .ui-intro{
    margin: 0 0 56px;
    max-width: 92ch;
  }
  
  /* stack of rows */
  .case-purrcel .ui-stack{
    display: grid;
    gap: 64px; /* space between rows */
  }
  
  /* one row */
  .case-purrcel .ui-row{
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 110px;
    align-items: center;
  }
  
  /* reverse layout */
  .case-purrcel .ui-row--reverse{
    grid-template-columns: 1fr 340px;
  }
  
  /* text block */
  .case-purrcel .ui-text{
    max-width: 42ch;
  }
  
  .case-purrcel .ui-text--right{
    justify-self: end;
  }
  
  /* green row titles */
  .case-purrcel .ui-title{
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--purrcel-green);
  }
  
  /* description: small + muted like figma */
  .case-purrcel .ui-desc{
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
    color: #9f9f9d;
  }
  
  /* media */
  .case-purrcel .ui-media{
    display: flex;
    justify-content: center;
  }
  
  .case-purrcel .ui-img{
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* size variants to match figma proportions */
  .case-purrcel .ui-img--sm{ max-width: 520px; }  /* Dialogue image (smaller) */
  .case-purrcel .ui-img--md{ max-width: 620px; }  /* Settings image (medium) */
  .case-purrcel .ui-img--lg{ max-width: 680px; }  /* Pause/Audio images (larger) */
  
  /* responsive */
  @media (max-width: 980px){
    .case-purrcel .ui-row,
    .case-purrcel .ui-row--reverse{
      grid-template-columns: 1fr;
      gap: 22px;
    }
  
    .case-purrcel .ui-text,
    .case-purrcel .ui-text--right{
      justify-self: start;
      max-width: 100%;
    }
  
    .case-purrcel .ui-media{
      justify-content: flex-start;
    }
  }
  

/* =========================
   LOGO DESIGN & VISUAL IDENTITY
========================= */

.case-purrcel .case-section--logo{
    background: #fff;
    padding: 72px 0 110px;
  }
  
  /* Keep intro copy width similar to figma */
  .case-purrcel .case-section--logo .case-copy{
    max-width: 110ch;
  }
  
  /* Two-column image layout */
  .case-purrcel .logo-grid{
    margin-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
  }
  
  /* Green mini headings above images */
  .case-purrcel .logo-kicker{
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 800;
    color: var(--purrcel-green);
  }
  
  /* Center the right heading like figma */
  .case-purrcel .logo-kicker--center{
    text-align: center;
  }
  
  /* Images */
  .case-purrcel .logo-img{
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Optional max widths to mimic figma proportions */
  .case-purrcel .logo-img--initial{
    max-width: 520px;
  }
  
  .case-purrcel .logo-img--iterations{
    max-width: 560px;
    margin: 0 auto; /* centers inside column */
  }
  
  /* Final logo label */
  .case-purrcel .logo-final-label{
    margin: 62px 0 22px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
  }
  
  /* Final logo centered */
  .case-purrcel .logo-final{
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  .case-purrcel .logo-final-img{
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 980px){
    .case-purrcel .logo-grid{
      grid-template-columns: 1fr;
      gap: 34px;
    }
  
    .case-purrcel .logo-kicker--center{
      text-align: left;
    }
  
    .case-purrcel .logo-img--iterations{
      margin: 0;
    }
  }

  
/* =========================
   ACCESSIBILITY & INCLUSIVE DESIGN
========================= */

.case-purrcel .case-section--accessibility{
    background: var(--purrcel-overview-gray);
    padding: 72px 0 110px;
  }
  
  /* Match figma text width */
  .case-purrcel .case-section--accessibility .case-copy{
    max-width: 110ch;
  }
  
  /* Make bullets sit like the screenshot */
  .case-purrcel .accessibility-list{
    margin: 8px 0 18px;
    padding-left: 18px;
  }
  
  .case-purrcel .accessibility-list li{
    margin: 4px 0;
  }
  
  /* Image sizing */
  .case-purrcel .accessibility-media{
    margin: 34px auto 0;
    max-width: 1040px; /* wide like figma */
  }
  
  .case-purrcel .accessibility-img{
    width: 100%;
    height: auto;
    display: block;
  }
  



/* =========================
   TESTING SECTION (Playtesting + User Testing)
========================= */

.case-purrcel .case-section--testing{
    background: #fff;
    padding: 72px 0 120px;
  }
  
  /* each block = two columns */
  .case-purrcel .test-block{
    display: grid;
    grid-template-columns: 1fr 420px; /* right column fixed like figma */
    gap: 84px;
    align-items: center;
  }
  
  /* extra space between the two blocks */
  .case-purrcel .test-block--second{
    margin-top: 96px;
  }
  
  /* left column max width so it doesn’t feel too wide */
  .case-purrcel .test-left{
    max-width: 88ch;
  }
  
  /* "Key Findings" label */
  .case-purrcel .test-subhead{
    margin: 28px 0 12px;
    font-size: 14px;
    font-weight: 800;
    color: #111;
  }
  
  /* bullet list styling (compact) */
  .case-purrcel .test-list{
    margin: 0 0 18px;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.8;
    color: #2b2b2b;
  }
  
  .case-purrcel .test-list li{
    margin: 3px 0;
  }
  
  /* small note paragraph before final line */
  .case-purrcel .test-note{
    margin-top: 8px;
  }
  
  /* Right side alignment */
  .case-purrcel .test-right{
    display: flex;
    justify-content: flex-end;
  }
  
  /* Quote card */
  .case-purrcel .quote-card{
    width: 360px;
    border: 1.5px solid var(--purrcel-green);
    background: #F3FFF5;            /* mint fill */
    border-radius: 12px;
    padding: 22px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .case-purrcel .quote-text{
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
    color: var(--purrcel-green);
    font-style: italic;
  }
  
  /* Sketch image bottom-right */
  .case-purrcel .test-sketch{
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 980px){
    .case-purrcel .test-block{
      grid-template-columns: 1fr;
      gap: 26px;
    }
  
    .case-purrcel .test-right{
      justify-content: flex-start;
    }
  
    .case-purrcel .quote-card{
      width: 100%;
      max-width: 420px;
    }
  }
  

/* =========================
   REFLECTION & NEXT STEPS
========================= */

.case-purrcel .case-section--reflection{
    background: var(--purrcel-mint); /* #F3FFF5 */
    padding: 72px 0 96px;
  }
  
  /* keep text readable + not too wide */
  .case-purrcel .case-section--reflection .case-copy{
    max-width: 110ch;
  }
  
  /* Reflection header should be green */
.case-purrcel .case-section--reflection .case-title{
    color: var(--purrcel-green);
  }
  
  .footer__email {
    text-decoration: none;
    cursor: pointer;
  }
  
  .footer__email:hover {
    text-decoration: underline;
  }
  
  .nav__brand:hover {
    opacity: 0.8;
  }
  
  .nav__brand {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
  }
  

  .nav__link,
.nav__brand {
  transition: opacity 0.15s ease;
}

.nav__link:hover,
.nav__brand:hover {
  opacity: 0.8;
}
