/* ============================================================
   JACOB KORNFELD — Project Pages
   projectstyles.css
   Standalone styling for Works project detail pages
   ============================================================ */

/* RESET */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  :root {
    --white:   #FFFFFF;
    --black:   #0A0A0A;
    --white:     #FFFFFF;       /* very light warm off-white for page bg */
    --ink:     #1A1A18;       /* body text */
    --mid:     #0a0a0a;       /* labels, meta */
    --rule:    #D8D6D0;       /* divider lines */
    --panel:   #b4c390;       /* meta strip bg */
  
    --serif:   Georgia, "Times New Roman", Times, serif;
    --sans:    Arial, Helvetica, sans-serif;
  
    --sidebar-w: 168px;   /* matches original â€” DO NOT CHANGE */
    --content-pad: 48px;
  }
  
  html {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
  }
  
  body {
    font-family: var(--sans);
    font-weight: 300;
    background: var(--white);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  a { color: inherit; text-decoration: none; }
  a:hover { text-decoration: none; }
  img { display: block; width: 100%; height: auto; }
  
  
  .page-layout {
    display: block;
    min-height: 100vh;
  }
  
  /* ============================================================
     This block is shared across all project pages.
     Changing it here changes every page.
     ============================================================ */
  .sidebar {
    position: fixed;
    left: 0; top: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--off);
    border-right: 1px solid var(--rule);
    padding: 24px 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .name-vertical {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    display: block;
  }
  
  .primary-nav {
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .primary-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
  .primary-nav a {
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    display: block;
    padding: 3px 0;
    transition: color 0.12s;
  }
  
  .primary-nav a:hover { color: var(--ink); }
  .primary-nav a.active { color: var(--ink); font-weight: 400; }
  
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
  .footer-nav a,
  .footer-nav span {
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--mid);
    line-height: 1.5;
  }
  
  .footer-nav .copyright { margin-top: 12px; }
  

  .case-content {
    margin-left: var(--sidebar-w);
    width: calc(100vw - var(--sidebar-w));
    min-height: 100vh;
    padding-bottom: 120px;
  }
  
  
  .case-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid);
    padding: 18px var(--content-pad);
    border-bottom: 1px solid var(--rule);
    transition: color 0.12s;
    width: 100%;
    cursor: pointer;
  }
  
  .case-back::before { font-size: 0.85rem; }
  .case-back:hover { color: var(--ink); text-decoration: none; }
  
  /* ============================================================
     HERO
     ============================================================ */
  .case-hero {
    padding: 60px var(--content-pad) 0;
    margin-bottom: 0;
    display: block;
  }
  
  
  .case-kicker {
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .case-kicker::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: var(--rule);
    max-width: 60px;
  }
  
 
  .case-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 300;
    line-height: 1.03;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 900px;
    margin-bottom: 0;
  }
  
  .case-hero h1 em {
    font-style: italic;
    color: var(--mid);
  }
  
  
  .case-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 52px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--panel);
  }
  
  .case-meta span {
    padding: 20px 24px;
    border-right: 1px solid var(--rule);
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--mid);
    line-height: 1.5;
    position: relative;
  }
  
  .case-meta span:last-child { border-right: none; }
  
  /* meta cells with label above */
  .case-meta-cell {
    padding: 18px 24px;
    border-right: 1px solid var(--rule);
  }
  .case-meta-cell:last-child { border-right: none; }
  
  .meta-label {
    font-size: 0.52rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 6px;
    display: block;
  }
  
  .meta-value {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--ink);
  }
  
  /* ============================================================
     LARGE INTRO
     ============================================================ */
  .case-large-intro {
    padding: 72px var(--content-pad) 64px;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
  }
  
  .case-large-intro > *:first-child:not(p) {
    /* optional label column placeholder */
  }
  
  .case-large-intro p {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 300;
    line-height: 1.38;
    letter-spacing: -0.01em;
    color: var(--ink);
    grid-column: 2;
    max-width: 780px;
  }
  
  /* If only one child (just p, no label), span full */
  .case-large-intro p:only-child {
    grid-column: 1 / -1;
    max-width: 860px;
  }
  
  /* ============================================================
     SECTION MARKER (reusable) â€” small label + rule
     ============================================================ */
  .section-marker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
  }
  
  .section-marker span {
    font-size: 0.52rem;
    font-weight: 300;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--mid);
    white-space: nowrap;
    font-family: var(--sans);
  }
  
  .section-marker::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rule);
  }
  
  /* ============================================================
     STANDARD SECTIONS
     ============================================================ */
  .case-section {
    padding: 64px var(--content-pad);
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 64px;
    align-items: start;
  }
  
  .case-section h2 {
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    padding-top: 4px;
    /* sticky label */
    position: sticky;
    top: 24px;
  }
  
  .case-section > div {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  /* Section title inside the content div */
  .case-section-title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 24px;
  }
  
  .case-section p {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: 0.01em;
    color: #4A4A46;
    max-width: 620px;
  }
  
  .case-section p + p { margin-top: 20px; }
  
  /* Lists */
  .case-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: 28px;
    border-top: 1px solid var(--rule);
  }
  
  .case-section li {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #4A4A46;
    padding: 16px 0 16px 20px;
    border-bottom: 1px solid var(--rule);
    position: relative;
  }
  
  .case-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rule);
  }
  
  /* ============================================================
     PULL QUOTE
     ============================================================ */
  .case-pull {
    padding: 80px var(--content-pad);
    background: var(--ink);
    border-bottom: 1px solid var(--rule);
  }
  
  .case-pull p {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: rgba(245, 244, 241, 0.7);
    max-width: 800px;
  }
  
  /* ============================================================
     FULL-BLEED IMAGES
     ============================================================ */
  .case-image-wide {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    border-bottom: 1px solid var(--rule);
  }
  
  .case-image-wide img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .case-image-wide figcaption,
  .case-image-caption {
    padding: 14px var(--content-pad);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid);
    border-top: 1px solid var(--rule);
    background: var(--off);
  }
  
  /* Two-col image grid */
  .case-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-bottom: 1px solid var(--rule);
  }
  
  .case-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* ============================================================
     FINDING LIST (numbered rows)
     ============================================================ */
  .finding-list {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    border-top: 1px solid var(--rule);
  }
  
  .finding-list article {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--rule);
  }
  
  .finding-list article h3 {
    grid-column: 1 / -1;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  /* finding number â€” inject via counter */
  .finding-list { counter-reset: finding; }
  
  .finding-list article::before {
    counter-increment: finding;
    content: counter(finding, decimal-leading-zero);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--mid);
    padding-top: 2px;
    line-height: 1;
  }
  
  .finding-list article h3 { grid-column: 2; margin-bottom: 6px; }
  .finding-list article p  {
    grid-column: 2;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.8;
    color: #5A5A56;
    max-width: 560px;
  }
  
  /* ============================================================
     METHOD LIST (tags)
     ============================================================ */
  .method-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
  }
  
  .method-list span {
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--rule);
    color: var(--mid);
    line-height: 1;
  }
  
  /* ============================================================
     CARD GRID (What we evaluated)
     ============================================================ */
  .case-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    margin-top: 28px;
    border: 1px solid var(--rule);
  }
  
  .case-card {
    background: var(--off);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .case-card h3 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.2;
  }
  
  .case-card p {
    font-size: 0.72rem;
    font-weight: 300;
    line-height: 1.75;
    color: #5A5A56;
    max-width: none;
  }
  
  /* ============================================================
     DOCUMENT GRID (deliverables/links)
     ============================================================ */
  .document-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-top: 28px;
  }
  
  .document-card {
    background: var(--off);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: background 0.12s;
    text-decoration: none;
  }
  
  .document-card:hover { background: var(--panel); }
  
  .document-card > span {
    font-size: 0.55rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    line-height: 1;
  }
  
  .document-card strong {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.25;
    display: block;
  }
  
  .document-card p {
    font-size: 0.68rem;
    font-weight: 300;
    line-height: 1.65;
    color: #666;
    max-width: none;
  }
  
  .document-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  
  .document-card.featured > span {
    flex-shrink: 0;
  }
  
  /* ============================================================
     LINKS SECTION
     ============================================================ */
  .case-links {
    padding: 56px var(--content-pad);
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  
  .case-links a {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--ink);
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.12s;
  }
  
  .case-links a::after { content: '→'; font-family: var(--sans); font-size: 0.9rem; }
  .case-links a:hover { color: var(--mid); text-decoration: none; }
  
  /* ============================================================
     WIDE SECTION VARIANT
     ============================================================ */
  .case-section-wide {
    grid-template-columns: 200px 1fr;
  }
  
  /* Image inside a section */
  .case-section figure,
.case-section-wide figure {
  margin-top: 28px;
  border: 1px solid var(--rule);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--rule);
  }
  
  .case-section figure img,
  .case-section-wide figure img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
  }
  
  .case-section figcaption,
  .case-section-wide figcaption {
    padding: 12px 16px;
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    border-top: 1px solid var(--rule);
  }
  
  /* ============================================================
     LIGHTBOX
     ============================================================ */
  .project-zoom-image { cursor: zoom-in; }
  
  .project-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(245, 244, 241, 0.96);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 48px;
    cursor: zoom-out;
  }
  
  .project-lightbox.active { display: flex; }
  
  .project-lightbox img {
    display: block;
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
  }
  
  .project-lightbox-close {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 10000;
    appearance: none;
    border: none;
    background: transparent;
    color: var(--mid);
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.12s;
  }
  .project-lightbox-close:hover { color: var(--ink); }
  
  .project-lightbox-caption {
    position: fixed;
    left: 20px;
    bottom: 18px;
    max-width: 480px;
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--mid);
  }
  
  /* ============================================================
     REVEAL ANIMATION
     ============================================================ */
  .project-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .project-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ============================================================
     MOBILE
     ============================================================ */
  @media (max-width: 760px) {
    :root { --sidebar-w: 0px; --content-pad: 20px; }
  
    .sidebar {
      position: relative;
      width: 100%;
      height: auto;
      flex-direction: row;
      flex-wrap: wrap;
      padding: 16px 20px;
      gap: 0;
      border-right: none;
      border-bottom: 1px solid var(--rule);
      align-items: center;
    }
  
    .name-vertical { flex: 1; }
  
    .primary-nav {
      flex: none;
      align-items: center;
    }
  
    .primary-nav ul {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 4px 14px;
    }
  
    .footer-nav { display: none; }
  
    .case-content {
      margin-left: 0;
      width: 100%;
    }
  
    .case-back { padding: 14px 20px; }
  
    .case-hero { padding: 36px 20px 0; }
  
    .case-large-intro {
      display: block;
      padding: 48px 20px;
    }
  
    .case-large-intro p { font-size: clamp(1.5rem, 7vw, 2rem); }
  
    .case-meta {
      grid-template-columns: 1fr 1fr;
    }
  
    .case-section {
      display: block;
      padding: 48px 20px;
    }
  
    .case-section h2 {
      margin-bottom: 20px;
      position: static;
    }
  
    .case-pull { padding: 60px 20px; }
  
    .case-card-grid { grid-template-columns: 1fr; }
  
    .document-grid { grid-template-columns: 1fr; }
    .document-card.featured { flex-direction: column; }
  
    .finding-list article {
      grid-template-columns: 28px 1fr;
      gap: 14px;
    }
  
    .case-links { padding: 40px 20px; }
  
    .case-image-grid { grid-template-columns: 1fr; }
  
    .project-lightbox { padding: 20px; }
  }
/* STEAMbassadors case-study additions
   Load this after projectsstyles.css. */

.steambassadors-case-study {
  --steam-blue: #155493;
  --steam-blue-soft: #eaf2fa;
  --steam-green: #b7edc5;
  --steam-purple: #d9c7f4;
  --steam-orange: #e8532f;
  --steam-line: #d9dee5;
  --steam-muted: #666b72;
  --steam-panel: #f5f7f9;
}

.steam-hero {
  padding-bottom: 58px;
}

.hero-eyebrow {
  margin: 28px 0 12px;
  color: var(--steam-blue);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.steam-hero h1 {
  max-width: 1050px;
}

.hero-summary {
  max-width: 880px;
  margin: 28px 0 0;
  color: var(--mid);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-facts div {
  min-height: 126px;
  padding: 23px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.project-facts div:not(:first-child) {
  padding-left: 24px;
}

.project-facts div:last-child {
  border-right: 0;
}

.project-facts dt,
.project-facts dd {
  margin: 0;
}

.project-facts dt,
.actor-label,
.logic-grid span,
.outcome-grid span,
.assumption-note > span {
  color: var(--steam-blue);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-facts dd {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
}

.steam-thesis {
  background: var(--ink);
  color: #fff;
}

.steam-thesis p {
  max-width: 1080px;
}

.section-lead {
  max-width: 800px;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

.consequence-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--steam-line);
  border: 1px solid var(--steam-line);
}

.consequence-grid article,
.outcome-grid article {
  min-height: 245px;
  padding: 30px;
  background: #fff;
}

.consequence-grid article > span {
  color: var(--steam-blue);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
}

.consequence-grid h3,
.decision-card h3,
.limitation-box h3 {
  margin: 28px 0 14px;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.25;
}

.consequence-grid p,
.outcome-grid p,
.logic-grid p {
  margin: 0 !important;
  color: var(--steam-muted);
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.actor-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: stretch;
  margin-top: 40px;
}

.actor-flow article {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--steam-line);
  background: var(--steam-panel);
}

.actor-flow strong {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.35;
}

.actor-flow p {
  margin: 13px 0 0 !important;
  color: var(--steam-muted);
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
}

.actor-arrow {
  display: grid;
  place-items: center;
  color: var(--steam-blue);
  font-family: var(--sans);
  font-size: 1.2rem;
}

.steam-pull {
  background: var(--steam-blue);
  color: #fff;
}

.steam-pull p {
  max-width: 1000px;
}

.research-table {
  margin-top: 42px;
  border-top: 1px solid var(--steam-line);
}

.research-row {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr;
  border-bottom: 1px solid var(--steam-line);
}

.research-row span {
  padding: 22px;
  border-right: 1px solid var(--steam-line);
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.55;
}

.research-row span:first-child {
  padding-left: 0;
}

.research-row span:last-child {
  border-right: 0;
}

.research-header span {
  color: var(--steam-blue);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-research .method-list {
  margin-top: 30px;
}

.decision-stack {
  margin-top: 48px;
  border-top: 1px solid var(--ink);
}

.decision-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--ink);
}

.decision-number {
  padding-top: 5px;
  color: var(--steam-blue);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
}

.decision-card h3 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.evidence-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.evidence-chain div {
  padding-top: 16px;
  border-top: 2px solid var(--steam-line);
}

.evidence-chain span {
  color: var(--steam-blue);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.evidence-chain p {
  margin: 11px 0 0 !important;
  color: var(--steam-muted);
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

.artifact-section > div {
  max-width: 1120px;
}

.artifact-figure {
  margin: 46px 0 0 !important;
  border: 1px solid var(--steam-line);
  background: var(--steam-panel);
}

.artifact-figure img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #fff;
}

.artifact-figure figcaption {
  padding: 18px 20px !important;
  border-top: 1px solid var(--steam-line);
  background: #fff;
  color: var(--steam-muted) !important;
  font-size: 0.77rem !important;
  line-height: 1.5 !important;
}

.artifact-figure figcaption strong {
  color: var(--ink);
}

.artifact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.artifact-link::after {
  content: "↗";
  margin-left: 10px;
}

.artifact-link:hover {
  color: var(--steam-blue);
  border-color: var(--steam-blue);
  text-decoration: none;
}

.logic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--steam-line);
  border: 1px solid var(--steam-line);
}

.logic-grid > div {
  min-height: 190px;
  padding: 26px;
  background: #fff;
}

.logic-grid strong,
.outcome-grid strong {
  display: block;
  margin: 18px 0 11px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.35;
}

.assumption-note,
.limitation-box {
  margin-top: 32px;
  padding: 26px 30px;
  border-left: 4px solid var(--steam-blue);
  background: var(--steam-blue-soft);
}

.assumption-note p,
.limitation-box p {
  margin: 10px 0 0 !important;
  max-width: 850px;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

.outcome-grid article {
  min-height: 220px;
}

.limitation-box {
  margin-top: 36px;
  border-left-color: var(--steam-orange);
  background: #fff3ee;
}

.limitation-box h3 {
  margin: 0;
  font-size: 1rem;
}

.section-reflection > div {
  max-width: 860px;
}

.section-reflection p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.steam-links {
  background: var(--ink);
}

.steam-links a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.steam-links a:hover {
  color: #a9cbed;
}

@media (max-width: 1060px) {
  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-facts div:nth-child(2) {
    border-right: 0;
  }

  .project-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .actor-flow {
    grid-template-columns: 1fr;
  }

  .actor-arrow {
    height: 42px;
    transform: rotate(90deg);
  }

  .research-row {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .research-row span,
  .research-row span:first-child {
    padding: 8px 0;
    border-right: 0;
  }

  .research-header {
    display: none;
  }
}

@media (max-width: 760px) {
  .steam-hero {
    padding-bottom: 38px;
  }

  .hero-eyebrow {
    margin-top: 22px;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .project-facts,
  .consequence-grid,
  .outcome-grid,
  .logic-grid,
  .evidence-chain {
    grid-template-columns: 1fr;
  }

  .project-facts div,
  .project-facts div:not(:first-child) {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-facts div:last-child {
    border-bottom: 0;
  }

  .consequence-grid article,
  .outcome-grid article,
  .logic-grid > div {
    min-height: 0;
    padding: 24px;
  }

  .decision-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .artifact-figure {
    margin-top: 30px !important;
  }

  .artifact-figure img {
    max-height: 520px;
  }

  .assumption-note,
  .limitation-box {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steambassadors-case-study .project-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
