/* ============================================================
   COMPONENTS.CSS — Navbar, Hero, Cards, Form, Footer
   ============================================================ */


/* ------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-bg-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

/* JS adds this class on scroll */
.navbar.scrolled {
  border-bottom-color: var(--color-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.nav-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-on-dark-primary);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: rgba(255, 255, 255, 0.95);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background-color: var(--color-bg-dark);
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.hero-eyebrow {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.hero-name {
  font-family: var(--font-serif);
  color: var(--color-text-on-dark-secondary);
  font-size: clamp(3.5rem, 17.5vw, 7rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.hero-name-word--almond {
  color: var(--color-text-on-dark-secondary);
}

.hero-name-word--rust {
  color: var(--color-accent);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: normal;
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-md);
}

.hero-availability-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-on-dark-tertiary);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-md);
}

/* .hero-rule {
  width: 40px;
  border: none;
  border-top: 1px solid rgba(183, 65, 14, 0.45);
  margin-bottom: 48px;
} */

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* ------------------------------------------------------------
   BIO & SKILLS
   ------------------------------------------------------------ */
.bio-skills {
  background-color: var(--color-bg-white);
  /* border-top: 1px solid #ece8e0; */
}

.bio-intro {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-primary);
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto var(--space-md);
  text-align: left;
}

.bio-divider {
  border: none;
  border-top: 1px solid var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding-left: var(--space-md);
}

.skills-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  text-align: left;
}

.skills-list {
  list-style: none;
  text-align: left;
}

.skills-list li {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-primary);
  padding: 0.3rem 0;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.skills-list li::before {
  content: "•";
  position: absolute;
  left: 0;
}


/* ------------------------------------------------------------
   WORK — CASE STUDY CARDS
   ------------------------------------------------------------ */
.work {
  background-color: var(--color-bg-white);
}

.work .section-container {
  padding-top: var(--space-md);
}

.section-subtitle {
  max-width: none;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.case-study-card {
  background-color: var(--color-bg-white);
  border: 1px solid rgba(28,27,24,0.10);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(28,27,24,0.06),
    0 8px 24px rgba(28,27,24,0.08),
    0 16px 32px rgba(28,27,24,0.05);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  top: 0;
}

.case-study-card:hover {
  transform: scale(1.03) translateY(-6px);
  border-color: rgba(122, 98, 72, 0.18);
  box-shadow:
    0 4px 8px rgba(28,27,24,0.07),
    0 16px 40px rgba(28,27,24,0.10),
    0 24px 48px rgba(28,27,24,0.06);
}

.case-study-card:active {
  transform: scale(1.01) translateY(2px);
  box-shadow:
    0 1px 3px rgba(28,27,24,0.05),
    0 4px 12px rgba(28,27,24,0.06),
    0 8px 16px rgba(28,27,24,0.04);
  transition-duration: 0.08s;
}

.case-study-card--coming-soon {
  opacity: 0.38;
  box-shadow: none;
  pointer-events: none;
}

.card-link {
  display: block;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--color-bg-white);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--color-bg-card),
    var(--color-bg-card) 10px,
    var(--color-bg-light) 10px,
    var(--color-bg-light) 20px
  );
}

.placeholder-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-accent);
  background:rgba(183, 65, 14, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

@media (max-width: 480px) {
  .card-tag {
    display: none;
  }
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  transition: color var(--transition);
}

.case-study-card:hover .card-read-more {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ------------------------------------------------------------
   CONTACT FORM
   ------------------------------------------------------------ */
.contact {
  background-color: var(--color-bg-dark);
  padding-top: var(--space-md);
}

.contact .section-container {
  padding-bottom: var(--space-sm);
  max-width: 700px;
}

.contact .section-header {
  margin-bottom: 1.5rem;
}

.contact .section-title {
  color: var(--color-text-on-dark-secondary);
}

.contact .section-subtitle {
  color: var(--color-text-on-dark-muted);
}

.contact-linkedin-btn,
.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}

.form-divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: var(--space-md);
  margin-bottom: 0.5rem;
  color: var(--color-text-on-dark-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.form-divider::before {
  display: none;
}

.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
  opacity: 0.4;
}

.contact-form {
  max-width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-sm);
}

.form-input {
  background-color: #2a2925;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-on-dark-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-on-dark-muted);
}

.form-input:focus {
  border-color: var(--color-accent);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success { color: #6ee7b7; }
.form-status.error   { color: #fca5a5; }


/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-on-dark-secondary);
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
}

.footer-link {
  display: flex;
  align-items: center;
  color: var(--color-text-on-dark-secondary);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--color-accent);
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    gap: var(--space-sm);
  }

  .footer-copy {
    flex: 1;
  }
}



/* ============================================================
   CASE STUDY — cv-sensei.html
   ============================================================ */

/* ── WIREFRAME LABEL UTILITY ── */
.label {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
  display: block;
}

/* ── PLACEHOLDER FRAMES ── */
.case-study-page .placeholder {
  background: #d4d4d4;
  border: 2px dashed #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: monospace;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

/* ── LAYOUT SHELL ── */
.page { max-width: 1000px; margin: 0 auto; }

/* ── SECTION WRAPPERS ── */
.case-study-page section {
  padding: 48px 48px;
  background-color: var(--color-bg-white);
}
.case-study-page section:first-of-type {
  padding-top: calc(var(--nav-height) + var(--space-lg));
}
.case-study-page section.dark,
.case-study-page section.contact {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark-secondary);
  border-bottom: 1px solid var(--color-border);
}
.case-study-page section.contact {
  padding: 0;
}

/* ── ORIGIN QUESTION ── */
.origin-question {
  font-size: clamp(24px, 2.5vw, 28px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  max-width: 820px;
  margin: 48px 0 0;
  padding: 0 0 0 28px;
  border-left: 4px solid var(--color-accent);
  color: var(--color-text-primary);
}

/* ── TYPOGRAPHY OVERRIDES ── */
.case-study-page h1 { font-size: clamp(72px, 8vw, 96px); line-height: 1; margin-bottom: 12px; }
.case-study-page h2 { font-size: clamp(1.75rem, 2.5vw, 1.75rem); font-weight: 700; margin-bottom: 24px; }
.case-study-page .section-title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: var(--space-sm); }
.case-study-page h3 { font-size: 26px; font-weight: 600; margin-top: 60px; margin-bottom: 20px; }
.case-study-page .dark h3 { margin-top: 24px; }
.case-study-page p  { font-size: 18px; max-width: 1000px; margin-bottom: 16px; color: inherit; }
.case-study-page .footer-copy { color: var(--color-text-on-dark-secondary); font-size: 0.85rem; }

/* ── HERO INTRO ── */
.case-study-page section.dark h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-on-dark-secondary);
  max-width: 720px;
  margin-bottom: 0;
}

/* ── HERO ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--color-text-on-dark-accent);
  margin-bottom: 32px;
  text-decoration: none;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-secondary);
  margin-bottom: 40px;
  display: block;
}

/* ── TLDR BANNER ── */
.tldr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #444;
  margin-top: 64px;
  padding-top: 32px;
}
.tldr-item { padding-right: 40px; }
.tldr-item .tldr-key {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}
.tldr-item .tldr-val {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-on-dark-secondary);
  line-height: 1.7;
}

/* ── TWO-COLUMN LAYOUTS ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col-wide {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── PROJECT OVERVIEW ── */
.overview-stack {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}
.overview-card {
  background: none;
  border: none;
  border-top: 1px solid #ddd;
}
.overview-card__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .overview-card__two-col {
    grid-template-columns: 1fr;
  }
}
.overview-card__two-col p,
.overview-card p {
  max-width: none;
}

/* ── RESEARCH QUESTIONS ── */
.research-questions {
  border-left: 4px solid var(--color-accent);
  padding-left: 28px;
  margin-top: 50px;
}
.rq-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}
.rq-item:first-child {
  border-top: none;
  padding-top: 0;
}
.rq-number {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  min-width: 20px;
}
.rq-text {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

/* ── RESEARCH ── */
.research-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  margin: 24px 0;
}
.method-card {
  background: none;
  border: none;
  border-top: 1px solid #ddd;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}
.method-stat {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}
.method-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.method-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}
.findings-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .findings-list {
    grid-template-columns: 1fr;
  }
}
.finding-item {
  background: none;
  border: none;
  border-top: 1px solid #ddd;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}
.finding-number {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}
.finding-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.finding-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}
.persona-quote {
  background: none;
  border: none;
  padding: 48px 0;
  margin: 0 auto;
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  max-width: 680px;
  text-align: center;
}
.persona-quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 20px;
  color: #444;
  font-family: var(--font-sans);
}

/* ── PROBLEM ── */
.problem-statement {
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  max-width: 820px;
  margin: 32px 0;
  padding: 0 0 0 28px;
  border-left: 4px solid var(--color-accent);
  color: var(--color-text-primary);
}
/* ── PERSONA CAROUSEL ── */
.persona-carousel-wrapper {
  position: relative;
  margin: 32px 0;
  cursor: none;
}
.persona-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Show exactly 2 cards, hinting at a third */
  padding-right: 80px;
}
.persona-carousel-track::-webkit-scrollbar {
  display: none;
}
.persona-card {
  flex: 0 0 max(calc(70% - 12px), 320px);
  background: none;
  border: none;
}
.persona-card img {
  width: 100%;
  height: auto;
  display: block;
}
.persona-scroll-hint {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  background: rgba(255,255,255,0.92);
  padding: 8px 14px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.persona-scroll-hint--visible {
  opacity: 1;
}
.hmw-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .hmw-list {
    grid-template-columns: 1fr;
  }
}
.hmw-item {
  background: none;
  border: none;
  border-top: 1px solid #ddd;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}
.hmw-number {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}
.hmw-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.hmw-label {
  margin-top: 48px;
}
.case-study-page .hmw-question {
  border-left: 3px solid var(--color-accent);
  padding: 12px 0 12px 24px;
  margin-bottom: 32px;
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-secondary);
}
.hmw-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ── DESIGNING THE SOLUTION ── */
.flow-placeholder { width: 100%; height: 320px; }
.wireframe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .wireframe-grid {
    grid-template-columns: 1fr;
  }
}
.mockup-row {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  align-items: center;
  margin: 24px 0 48px;
}
.mockup-row--reverse {
  direction: rtl;
}
.mockup-row--reverse > * {
  direction: ltr;
}
.mockup-text p {
  max-width: none;
}
@media (max-width: 1024px) {
  .mockup-row,
  .mockup-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .mockup-row--reverse > * {
    direction: ltr;
  }
  .mockup-screen { order: 1; }
  .mockup-text   { order: 2; }
}

@media (max-width: 768px) {
  .tldr-grid {
    grid-template-columns: 1fr;
  }
  .tldr-item {
    padding-right: 0;
    padding-bottom: 24px;
  }
}
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

/* ── REFINING ── */
.iteration-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
}
.iteration-row img {
  aspect-ratio: 20 / 13;
  object-fit: cover;
  object-position: top;
}
.arrow-box {
  text-align: center;
  font-size: 24px;
  color: #888;
}

@media (max-width: 1024px) {
  .iteration-row {
    grid-template-columns: 1fr;
  }
  .arrow-box {
    transform: rotate(90deg);
  }
}
.wcag-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wcag-text h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.wcag-text p {
  max-width: none;
}
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.a11y-card {
  background: none;
  border: none;
  border-top: 1px solid #ddd;
  padding: 24px 0;
}


/* ── REFLECTION ── */
.reflection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin: 32px 0;
}
.reflection-card {
  background: none;
  border: none;
  border-top: 1px solid #ddd;
  padding: 24px 0;
}
.reflection-card li {
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .reflection-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── DIVIDER ── */
.case-study-page hr { border: none; border-top: 1px solid #bbb; margin: 40px 0; }

/* ── Video wrapper & Safari play button ─────────────────────── */
/*
 * .video-wrapper is injected by JS only in Safari.
 * It inherits the video's display context and adds
 * the stacking context needed for the button overlay.
 */
.video-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.video-wrapper video {
  display: block;
  width: 100%;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.3s ease;
  color: #fff;
}

.video-play-btn:hover {
  background: rgba(0, 0, 0, 0.4);
}

.video-play-btn svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}
