/* ==========================================================================
   CASE STUDY EDITORIAL ENHANCEMENTS & MOTION SYSTEM
   ========================================================================== */

/* Top Sticky Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--project), #ffffff);
  width: 0%;
  z-index: 1000;
  box-shadow: 0 0 12px color-mix(in srgb, var(--project) 85%, transparent);
  transition: width 0.08s linear;
  will-change: width;
}

/* Award Ribbon */
.case-award-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--project) 18%, #1c1c1c), #161616);
  border: 1px solid color-mix(in srgb, var(--project) 45%, var(--rule));
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px -4px color-mix(in srgb, var(--project) 30%, transparent);
}

.award-icon {
  font-size: 0.9rem;
}

.award-text {
  font: 500 0.64rem 'DM Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f3efe6;
}

/* Hero Action Pills */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.read-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: 400 0.62rem 'DM Mono', monospace;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
}

.llm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: 400 0.62rem 'DM Mono', monospace;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.llm-pill svg {
  color: var(--project);
  flex-shrink: 0;
}

.hero-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: 500 0.62rem 'DM Mono', monospace;
  color: var(--project);
  text-decoration: none;
  background: color-mix(in srgb, var(--project) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--project) 35%, transparent);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.hero-link-pill:hover {
  background: color-mix(in srgb, var(--project) 20%, var(--surface));
  border-color: var(--project);
  transform: translateY(-1px);
}

/* Editorial LLM Disclosure Card */
.case-disclosure {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.6rem;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.2s ease;
}

.case-disclosure:hover {
  border-color: var(--rule-light);
}

.disclosure-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.disclosure-badge {
  font: 500 0.62rem 'DM Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--project);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.disclosure-tag {
  font: 400 0.58rem 'DM Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
}

.disclosure-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 0.8rem;
}

.disclosure-source {
  font: 400 0.62rem 'DM Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.04em;
  border-top: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
  padding-top: 0.65rem;
}

.disclosure-source a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.disclosure-source a:hover {
  color: var(--project);
}

/* Spotlight Interactive Card Physics */
.spotlight-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    color-mix(in srgb, var(--project) 14%, transparent),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.spotlight-card:hover {
  border-color: color-mix(in srgb, var(--project) 40%, var(--rule));
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Vision Banner */
.vision-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.35rem 1.6rem;
  margin: 1.8rem 0 2.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--project) 12%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--project) 35%, var(--rule));
}

.vision-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding-top: 0.15rem;
}

.vision-label {
  font: 500 0.58rem 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--project);
  margin-bottom: 0.35rem;
}

.vision-text {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #f0ece1;
  margin: 0;
  font-weight: 300;
}

/* Story Analogy & Scenario Cards */
.story-analogy {
  margin: 1.2rem 0 1.45rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--project) 10%, var(--surface)) 0%, var(--surface) 100%);
  border: 1px solid color-mix(in srgb, var(--project) 35%, var(--rule));
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.4);
}

.story-analogy-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font: 500 0.58rem 'DM Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--project);
  margin-bottom: 0.55rem;
}

.story-analogy-body {
  font-size: 0.91rem !important;
  line-height: 1.6 !important;
  color: #dedad2 !important;
  font-weight: 300;
  margin: 0 !important;
}

.story-analogy-body strong {
  color: #fff;
  font-weight: 500;
}

/* User / Research Story Quote */
.story-user-quote {
  margin: 1.25rem 0 1.5rem;
  padding: 1.1rem 1.35rem;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-left: 3px solid var(--project);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.story-user-quote blockquote {
  margin: 0 0 0.45rem;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: #f3efe6;
  font-style: italic;
  font-weight: 300;
}

.story-user-quote cite {
  display: block;
  font: 500 0.56rem 'DM Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Crisp Story Bullets */
.story-bullets {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 1.35rem !important;
}

.story-bullets li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.65rem 0 !important;
  line-height: 1.62 !important;
  font-size: 0.91rem !important;
  color: #c2beb5 !important;
}

.story-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.65rem;
  color: var(--project);
}

.story-bullets li strong {
  color: var(--ink);
  font-weight: 500;
}

/* Leadership Callout Quotes */
.case-summary-quotes {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.85rem;
  margin: 0 0 3.5rem;
}

.summary-quote {
  padding: 1.4rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-quote--challenge {
  background: linear-gradient(155deg, color-mix(in srgb, var(--project) 12%, var(--surface)) 0%, var(--surface) 100%);
  border-color: color-mix(in srgb, var(--project) 50%, var(--rule));
}

.summary-quote--challenge .quote-badge {
  color: var(--project);
  background: color-mix(in srgb, var(--project) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--project) 35%, transparent);
}

.summary-quote--challenge .quote-text {
  color: #f5f2eb;
  font-size: 0.9rem;
  line-height: 1.56;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.quote-badge {
  font: 500 0.54rem 'DM Mono', monospace;
  color: #c2beb5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--rule) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--rule) 90%, transparent);
}

.quote-mark {
  font-family: 'DM Sans', Georgia, serif;
  font-size: 2rem;
  line-height: 0.7;
  color: var(--project);
  opacity: 0.6;
  user-select: none;
}

.quote-text {
  margin: 0.35rem 0 1.1rem;
  padding: 0;
  font-size: 0.83rem;
  line-height: 1.54;
  color: #b3b0a7;
  font-style: normal;
  font-weight: 300;
}

.quote-footer {
  font: 500 0.52rem 'DM Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.65rem;
  border-top: 1px solid color-mix(in srgb, var(--rule) 75%, transparent);
  margin-top: auto;
}

/* Problem & Solution Breakdown Grid */
.problem-deep-dive {
  margin: 0 0 3.5rem;
}

.problem-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.problem-card {
  padding: 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
}

.problem-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.problem-card-num {
  font: 500 0.62rem 'DM Mono', monospace;
  color: var(--muted);
}

.problem-card-metric {
  font: 500 0.56rem 'DM Mono', monospace;
  color: var(--project);
  background: color-mix(in srgb, var(--project) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--project) 30%, transparent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.problem-card-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.problem-card-row {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.problem-label {
  font: 500 0.54rem 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.problem-desc {
  color: #a8a49c;
}

.solution-row {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--rule);
}

.solution-row .problem-label {
  color: var(--project);
}

.solution-row .problem-desc {
  color: #e5e1d7;
}

/* Initiative Architecture / Sub-Projects */
.project-stack {
  margin: 0 0 3.5rem;
}

.block-title {
  font: 500 0.62rem 'DM Mono', monospace;
  color: var(--project);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.project-cards-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.project-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
}

.project-card--clickable {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease;
}

.project-card--clickable:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--project) 50%, var(--rule));
  background: color-mix(in srgb, var(--project) 6%, var(--surface));
}

.project-arrow-badge {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--project);
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.project-card--clickable:hover .project-arrow-badge {
  transform: translate(2px, -2px);
}

.inline-sub-link {
  color: var(--project);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.inline-sub-link:hover {
  opacity: 0.8;
}

.project-index {
  font: 400 0.64rem 'DM Mono', monospace;
  color: var(--muted);
}

.project-info h3 {
  font-size: 1.02rem;
  font-weight: 400;
  margin: 0 0 0.2rem;
  color: var(--ink);
}

.project-info p {
  font-size: 0.82rem;
  color: #9c9992;
  line-height: 1.48;
  margin: 0;
}

.project-tag {
  font: 500 0.54rem 'DM Mono', monospace;
  color: var(--project);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid color-mix(in srgb, var(--project) 35%, transparent);
  background: color-mix(in srgb, var(--project) 8%, transparent);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* Brand Stickers Strip */
.case-stickers-wrap {
  margin: 1.8rem 0 2.6rem;
}

.case-stickers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.brand-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  background: #141414;
  border: 1px solid color-mix(in srgb, var(--project) 45%, var(--rule));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: rotate(var(--sticker-rot, 0deg));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  cursor: default;
}

.brand-sticker--clickable {
  text-decoration: none;
  cursor: pointer;
}

.brand-sticker:hover {
  transform: rotate(0deg) scale(1.06) translateY(-3px);
  border-color: var(--project);
  background: #1c1c1c;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--project) 35%, transparent);
}

.sticker-arrow {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--project);
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}

.brand-sticker--clickable:hover .sticker-arrow {
  transform: translate(2px, -2px);
}

.sticker-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sticker-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.sticker-content {
  display: flex;
  flex-direction: column;
}

.sticker-label {
  font: 600 0.72rem 'DM Sans', sans-serif;
  color: var(--ink);
  line-height: 1.2;
}

.sticker-sub {
  font: 400 0.56rem 'DM Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* Highlight Box */
.highlight-box {
  position: relative;
  border-color: color-mix(in srgb, var(--project) 40%, var(--rule));
  background: linear-gradient(135deg, color-mix(in srgb, var(--project) 10%, var(--surface)), var(--surface));
  padding: 1.85rem 2rem;
  margin: 0 0 3.5rem;
}

.highlight-box::after {
  content: '✦';
  position: absolute;
  right: 1.5rem;
  top: 0.6rem;
  font-size: 4.5rem;
  color: var(--project);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.highlight-kicker {
  font: 500 0.58rem 'DM Mono', monospace;
  color: var(--project);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.highlight-box h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0.3rem 0 0.75rem;
  color: var(--ink);
}

.highlight-box p {
  max-width: 680px;
  color: #b0ada6;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

/* Hackathon Highlight Box with Character Avatar */
.highlight-box--character {
  padding: 2rem 2.2rem;
  overflow: visible;
}

.highlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
}

.highlight-text-col {
  flex: 1;
}

.highlight-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #b0ada6;
}

.highlight-avatar-col {
  position: relative;
  width: 170px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.avatar-glow-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--project) 40%, transparent) 0%, transparent 70%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.avatar-qbit-character {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.65));
  animation: floatAvatar 3.6s ease-in-out infinite alternate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-screen-frame {
  max-width: 140px !important;
  border-radius: 18px !important;
  border: 2px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(212, 175, 55, 0.15) !important;
  animation: floatAvatar 4s ease-in-out infinite alternate !important;
}

.highlight-avatar-col:hover .splash-screen-frame {
  transform: scale(1.05) translateY(-4px) !important;
}

.highlight-avatar-col:hover .avatar-qbit-character:not(.splash-screen-frame) {
  transform: scale(1.08) rotate(3deg);
}

.avatar-pill-badge {
  position: relative;
  z-index: 3;
  margin-top: 0.5rem;
  font: 500 0.52rem 'DM Mono', monospace;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid color-mix(in srgb, var(--project) 50%, transparent);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.highlight-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.75rem;
}

.highlight-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: 500 0.62rem 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: color-mix(in srgb, var(--project) 25%, transparent);
  border: 1px solid color-mix(in srgb, var(--project) 60%, transparent);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-link-pill:hover {
  background: var(--project);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--project) 40%, transparent);
}

.highlight-link-pill--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d1d5db;
}

.highlight-link-pill--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

@keyframes floatAvatar {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1.5deg); }
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 0.9; transform: scale(1.15); }
}

@media (max-width: 768px) {
  .highlight-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem;
  }
  .highlight-avatar-col {
    width: 140px;
    min-width: 140px;
  }
}

/* Flow Viz */
.flow-viz {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 1.6rem;
}

.flow-step {
  flex: 1;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 0.76rem;
  color: #aaa69e;
  line-height: 1.42;
}

.flow-step strong {
  display: block;
  color: var(--project);
  font: 500 0.56rem 'DM Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.flow-arrow {
  align-self: center;
  color: var(--project);
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Press & Community Reviews */
.press-section {
  margin: 0 0 3.5rem;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.press-card {
  padding: 1.25rem 1.3rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.press-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.press-outlet {
  font: 500 0.64rem 'DM Mono', monospace;
  letter-spacing: 0.06em;
  color: var(--project);
  text-transform: uppercase;
}

.press-link-icon {
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.press-card:hover .press-link-icon {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.press-quote {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #b5b1a8;
  font-style: italic;
}

/* Mockup Browser Window & Video Embed */
.video-showcase-section {
  margin: 0 0 3.5rem;
}

.mockup-browser {
  background: #111111;
  border-radius: 12px;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.7);
  transition: border-color 0.25s ease;
}

.mockup-browser:hover {
  border-color: color-mix(in srgb, var(--project) 35%, var(--rule));
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: #181818;
  border-bottom: 1px solid var(--rule);
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333333;
}

.traffic-lights span:nth-child(1) { background: #ff5f56; opacity: 0.7; }
.traffic-lights span:nth-child(2) { background: #ffbd2e; opacity: 0.7; }
.traffic-lights span:nth-child(3) { background: #27c93f; opacity: 0.7; }

.mockup-url-bar {
  flex: 1;
  background: #0d0d0d;
  border-radius: 5px;
  padding: 0.22rem 0.75rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  color: #888888;
}

.url-protocol {
  color: #555555;
}

.mockup-actions .badge.live {
  font: 500 0.52rem 'DM Mono', monospace;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.mockup-viewport {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.mockup-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mockup-caption {
  font: 400 0.58rem 'DM Mono', monospace;
  color: var(--muted);
  margin-top: 0.65rem;
  text-align: center;
}

/* Media Gallery */
.media-section {
  margin: 0 0 3.5rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.media-card {
  margin: 0;
  padding: 0;
}

.media-img-wrap {
  width: 100%;
  height: 310px;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-card:hover img {
  transform: scale(1.02);
}

.media-card figcaption {
  font: 400 0.58rem 'DM Mono', monospace;
  color: var(--muted);
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--rule);
}

/* Inline Story Figures (Blog Style) */
.story-inline-figure {
  margin: 1.6rem 0 1.2rem;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.story-inline-img-wrap {
  width: 100%;
  max-height: 480px;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-inline-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.story-inline-figure figcaption {
  font: 400 0.62rem 'DM Mono', monospace;
  color: var(--muted);
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--rule);
}

/* Product Leadership Takeaways Box */
.takeaways-section {
  padding: 1.8rem 2rem;
  margin: 0 0 3.5rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--project) 8%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--project) 35%, var(--rule));
}

.takeaways-badge {
  font: 500 0.56rem 'DM Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--project);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.takeaways-header h2 {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

.takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.takeaway-bullet {
  color: var(--project);
  font-size: 0.8rem;
  padding-top: 0.15rem;
}

.takeaways-list p {
  font-size: 0.85rem;
  line-height: 1.54;
  color: #b3b0a7;
  margin: 0;
}

/* Confidential Notice NDA Callout */
.nda-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: color-mix(in srgb, var(--rule) 50%, var(--surface));
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-top: 1.4rem;
  font-size: 0.8rem;
}

.nda-lock {
  font-size: 1.1rem;
}

.nda-callout strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.nda-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.nda-callout a {
  color: var(--project);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .case-summary-quotes,
  .problem-cards-grid,
  .press-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    grid-template-columns: 32px 1fr;
  }

  .project-tag {
    display: none;
  }

  .flow-viz {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .media-img-wrap {
    height: auto;
    max-height: 380px;
  }
}
