/* ============================================================
   Helena Portfolio — Shared Stylesheet
   Breakpoints: Desktop ≥1024px | Tablet 768–1023px | Mobile <768px
   ============================================================ */

/* === Variables ============================================ */
:root {
  --primary:       #150340;
  --text-dark:     #1d1d1d;
  --text-muted:    rgba(0, 0, 0, 0.45);
  --text-secondary:rgba(0, 0, 0, 0.6);
  --text-medium:   rgba(0, 0, 0, 0.7);
  --border:        rgba(0, 0, 0, 0.1);
  --badge-bg:      #d6d6d6;
  --hero-accent:   #dacef7;
  --hero-bg:       radial-gradient(ellipse at center, #ffffff 36%, #dacef7 100%);

  --font:          'Inter', sans-serif;
  --btn-radius:    12px;
  --card-radius:   16px;
  --nav-h:         80px;
  --pad:           64px;
}

/* === Reset =================================================*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: #fff; color: var(--text-dark);
        -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* === Layout Base =========================================== */
main { padding-top: var(--nav-h); }

/* Utility: image placeholder when media not yet exported */
.img-placeholder {
  background: #f4f4f6;
  border: 2px dashed rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.3);
  font-size: 13px;
  font-family: var(--font);
}

/* === Navigation =========================================== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
}

.nav-logo {
  font-size: 16px; font-weight: 600; line-height: 1.45;
  letter-spacing: -0.005em; color: #000;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.6; }
.nav-logo.sr-only { visibility: hidden; pointer-events: none; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 16px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.005em; color: #000; transition: opacity 0.2s;
}
.nav-links a:hover  { opacity: 0.6; }
.nav-links a.active { font-weight: 600; }

/* === Footer =============================================== */
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 64px var(--pad);
  background: #fff; border-top: 1px solid var(--border);
}
.footer-nav { display: flex; gap: 32px; }
.footer-nav a {
  font-size: 16px; font-weight: 500; line-height: 1.45;
  color: var(--text-muted); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-dark); }
.footer-social img {
  width: 24px; height: 24px; opacity: 0.45; transition: opacity 0.2s;
}
.footer-social:hover img { opacity: 0.8; }

/* === Buttons ============================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start; width: fit-content;
  padding: 12px 16px; border-radius: var(--btn-radius);
  font-size: 18px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.82; transform: translateY(-1px); }

.btn-primary   { background: var(--primary); color: #fff; border: none; }
.btn-secondary { background: transparent; color: var(--primary);
                 border: 1px solid var(--primary); }

/* === HOME PAGE ============================================ */

/* Hero */
.hero {
  background: var(--hero-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 64px var(--pad); min-height: 446px;
}
.hero-text {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 440px; width: 100%;
}
.hero-text h1 {
  font-size: 36px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #000;
}
.hero-text p {
  font-size: 18px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.005em; color: var(--text-muted);
}

/* Products */
.products {
  display: flex; flex-wrap: wrap;
  gap: 24px; justify-content: center;
  padding: 64px var(--pad);
}

.product-card-v2 {
  width: 326px; max-width: 326px;
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; gap: 36px;
  padding-bottom: 36px;
  background: linear-gradient(177deg, rgb(235, 228, 252) 18%, #ffffff 101%);
  text-decoration: none; color: inherit;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.07), 0 24px 48px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.10), 0 32px 64px rgba(0,0,0,0.08);
}

.product-card-v2-img {
  width: 100%; aspect-ratio: 544 / 432;
  overflow: hidden;
}
.product-card-v2-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.product-card-v2-content {
  padding: 0 24px;
  display: flex; flex-direction: column; gap: 16px;
}

.product-card-v2-title-row {
  display: flex; align-items: center; gap: 12px;
}

.product-card-v2-title {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; color: #1d1d1d; line-height: 1.2;
}

.product-card-v2-badge {
  font-size: 11px; font-weight: 400;
  color: var(--primary);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px; padding: 4px 10px;
  white-space: nowrap; letter-spacing: -0.02em;
}

.product-card-v2-desc {
  font-size: 16px; font-weight: 500;
  line-height: 1.45; color: rgba(0,0,0,0.45);
  letter-spacing: -0.005em;
}

/* === ABOUT PAGE =========================================== */
.about-hero {
  background: var(--hero-bg);
  display: flex; flex-wrap: wrap; gap: 64px;
  align-items: center; justify-content: center;
  padding: 64px var(--pad); min-height: 650px;
}
.about-photo {
  width: 266px; height: 266px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.about-text {
  flex: 1 0 327px; max-width: 526px;
  display: flex; flex-direction: column; gap: 30px;
}
.about-name { display: flex; flex-direction: column; gap: 12px; }
.about-name h1 {
  font-size: 36px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #000;
}
.about-name .title {
  font-size: 20px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--text-medium);
}
.about-bio {
  font-size: 16px; font-weight: 500; line-height: 1.45;
  color: var(--text-muted);
}
.about-bio strong { font-weight: 700; }

/* === CASE STUDY — SHARED ================================== */

/* Page header (hero) */
.cs-header {
  background: var(--hero-bg);
  padding: 64px var(--pad); min-height: 231px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 16px;
}
.cs-title-row {
  display: inline-flex; align-items: center; gap: 12px;
}
.cs-title {
  font-size: 48px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #000;
}
.nda-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: #fff; background: var(--badge-bg);
  padding: 3px 8px; border-radius: 5px;
}
.cs-subtitle {
  font-size: 20px; font-weight: 500; line-height: 1.45;
  color: var(--text-secondary); max-width: 800px;
}

/* Section divider */
.section-divider { height: 1px; background: var(--border); }

/* Intro: image left + text right */
.cs-intro {
  display: flex; flex-wrap: wrap; gap: 64px;
  align-items: center; justify-content: center;
  padding: 64px var(--pad);
}
.cs-intro-image {
  flex: 1 0 327px; max-width: 544px;
  border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 544 / 352; background: #f0f0f0; position: relative;
}
.cs-intro-image img,
.cs-intro-image video { width: 100%; height: 100%; object-fit: cover; }
.cs-intro-content {
  flex: 1 0 327px; max-width: 544px;
  display: flex; flex-direction: column; gap: 48px;
}
.cs-intro-content h2 {
  font-size: 30px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Brief + Role */
.cs-brief {
  display: flex; flex-wrap: wrap; gap: 48px;
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-brief-left {
  flex: 1 0 280px; max-width: 324px;
  display: flex; flex-direction: column; gap: 16px;
}
.cs-brief-right {
  flex: 1 0 280px;
  background: var(--hero-bg); border-radius: var(--card-radius);
  padding: 32px; display: flex; gap: 0;
}
.role-block {
  flex: 1; display: flex; flex-direction: column; gap: 10px;
  padding: 0 24px; border-left: 1px solid var(--border);
}
.role-block:first-child { border-left: none; padding-left: 0; }
.role-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-secondary);
}
.role-value {
  font-size: 14px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted);
}

/* Section label */
.sec-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-secondary);
}

/* Two-column text */
.cs-two-col {
  display: flex; flex-wrap: wrap; gap: 48px;
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-two-col .col { flex: 1 0 280px; display: flex; flex-direction: column; gap: 16px; }
.cs-two-col .col h3 {
  font-size: 20px; font-weight: 700; line-height: 1.35;
}
.cs-two-col .col p, .cs-two-col .col li {
  font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--text-muted);
}
.cs-two-col .col ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; list-style-type: disc; }

/* Centered section */
.cs-center {
  padding: 64px var(--pad); border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 24px;
}
.cs-center h2 {
  font-size: 30px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em;
}
.cs-center p { font-size: 18px; font-weight: 500; line-height: 1.45;
               color: var(--text-muted); max-width: 701px; }

/* Methodology road */
.methodology-road {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  padding: 28px var(--pad);
  border-top: 1px solid var(--border);
  background: var(--hero-bg);
}
.road-step {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap; padding: 6px 16px;
  border: 1px solid var(--border); border-radius: 20px;
  background: #fff;
}
.road-arrow { color: var(--text-muted); font-size: 16px; padding: 0 4px; }

/* Discovery list */
/* Discovery & Research — text left, image right */
.cs-discovery {
  display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-discovery-text {
  flex: 1 0 324px;
  display: flex; flex-direction: column; gap: 26px;
}
.cs-discovery-text h2 {
  font-size: 30px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em;
}
.cs-discovery-img {
  flex: 1 0 324px;
  display: flex; justify-content: center;
}
.cs-discovery-img img {
  width: 286px; height: auto; display: block;
}

.cs-list {
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-list h2 {
  font-size: 24px; font-weight: 700; line-height: 1.2;
  margin-bottom: 40px;
}
.cs-list-rows { display: flex; flex-direction: column; gap: 16px; }
.cs-list-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.02), 0 12px 32px 0 rgba(0,0,0,0.04);
}
.list-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--hero-accent); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.list-row-body { display: flex; flex-direction: column; gap: 8px; }
.list-row-body h4 {
  font-size: 17px; font-weight: 700; line-height: 1.3;
}
.list-row-body p {
  font-size: 16px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted);
}

/* ── Definition & Design ─────────────────────────────── */
.cs-def-design { background: #f5f5f5; }
.cs-def-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 48px var(--pad); text-align: center;
}
.cs-def-header h2 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.cs-def-header p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted); max-width: 719px;
}
.cs-def-cards {
  display: flex; flex-wrap: wrap; gap: 48px;
  padding: 0 var(--pad) 64px;
}
.def-card {
  flex: 1 0 324px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 446px;
}
.def-card h3 {
  font-size: 20px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.def-card > p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted);
}
.def-card-img {
  flex: 1 0 0; min-height: 160px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px; overflow: hidden;
}
.def-card-img img,
.def-card-img video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Wireframing for XR ──────────────────────────────── */
.cs-wireframe { background: #fff; }
.cs-wireframe-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 48px var(--pad) 48px; text-align: center;
}
.cs-wireframe-header h2 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.cs-wireframe-header p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted); max-width: 719px;
}
.cs-wireframe-imgs {
  display: flex; gap: 32px;
  padding: 0 var(--pad) 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-wireframe-imgs::-webkit-scrollbar { display: none; }
.wf-img-item {
  position: relative;
  flex: 0 0 auto;
  width: calc(50% - 16px);
  aspect-ratio: 414 / 232;
  box-shadow: 0 3px 6px rgba(0,0,0,0.02), 0 9.5px 25px rgba(0,0,0,0.04);
}
.wf-img-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Final Design ────────────────────────────────────── */
.cs-final-design { background: #fff; }
.cs-final-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 48px var(--pad); text-align: center;
}
.cs-final-header h2 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.final-subtitle {
  font-size: 20px; font-weight: 500; line-height: 1.45;
  color: rgba(0,0,0,0.6); letter-spacing: -0.005em;
}
.final-desc {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted); max-width: 719px;
}
.cs-final-cards {
  display: flex; flex-direction: row; gap: 32px;
  padding: 0 var(--pad) 64px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-final-cards::-webkit-scrollbar { display: none; }
.final-card {
  position: relative;
  flex: 0 0 auto;
  width: calc(50% - 16px);
  aspect-ratio: 305 / 170;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.02), 0 9.5px 25px rgba(0,0,0,0.04);
}
.final-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Full-width image */
.cs-full-img {
  padding: 0 var(--pad) 64px;
}
.cs-full-img .img-wrap {
  width: 100%; border-radius: var(--card-radius);
  overflow: hidden; aspect-ratio: 16/7; background: #f0f0f0;
}
.cs-full-img .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Cards grid */
.cs-cards {
  padding: 48px var(--pad) 64px;
  border-top: 1px solid var(--border);
}
.cs-cards h2 {
  font-size: 24px; font-weight: 700; margin-bottom: 12px;
}
.cs-cards .cards-intro {
  font-size: 16px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted); max-width: 600px; margin-bottom: 40px;
}
.cards-grid {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.cs-card {
  flex: 1 0 270px; border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.card-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--hero-accent); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--primary);
}
.cs-card h4 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.cs-card p  { font-size: 15px; font-weight: 500; line-height: 1.55;
               color: var(--text-muted); flex: 1; }

/* Quote cards */
.cs-quotes { padding: 48px var(--pad) 64px; }
.cs-quotes .quotes-header {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 24px; padding-bottom: 32px;
  max-width: 552px;
  display: flex; flex-direction: column; gap: 16px;
}
.cs-quotes h3 { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.cs-quotes .quotes-intro {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted); display: flex; flex-direction: column; gap: 8px;
}
.cs-quotes .quotes-intro ul { list-style: disc; padding-left: 24px; }
.cs-quotes .quotes-intro li { line-height: 1.5; }
.quotes-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.quote-card {
  flex: 1 0 320px; max-width: 388px;
  min-height: 280px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--card-radius); padding: 32px;
  background: #fff;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.02), 0 12px 32px 0 rgba(0,0,0,0.04);
  display: flex; flex-direction: column; justify-content: space-between;
}
.quote-card .q-title { font-size: 18px; font-weight: 600; line-height: 1.5; color: #000; }
.quote-card .q-text  { font-size: 18px; font-weight: 500; line-height: 1.45; color: #8c8c8c; }

/* Image + text side by side */
.cs-img-text {
  display: flex; flex-wrap: wrap; gap: 64px; align-items: center;
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-img-text .img-side {
  flex: 1 0 300px; max-width: 544px;
  border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 4/3; background: #f0f0f0;
}
.cs-img-text .img-side img,
.cs-img-text .img-side video { width: 100%; height: 100%; object-fit: cover; }
.cs-img-text.reverse .img-side { order: 2; }
.cs-img-text.reverse .txt-side { order: 1; }
.cs-img-text .txt-side {
  flex: 1 0 280px; max-width: 544px;
  display: flex; flex-direction: column; gap: 16px;
}
.cs-img-text .txt-side h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.cs-img-text .txt-side p  { font-size: 16px; font-weight: 500; line-height: 1.6;
                              color: var(--text-muted); }

/* Wireframe / image grid */
.cs-img-grid {
  padding: 48px var(--pad);
  border-top: 1px solid var(--border);
}
.cs-img-grid h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.cs-img-grid .grid-intro {
  font-size: 16px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted); max-width: 600px; margin-bottom: 36px;
}
.img-row { display: flex; flex-wrap: wrap; gap: 16px; }
.img-cell {
  flex: 1 0 220px;
  border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 4/3; background: #f0f0f0;
}
.img-cell img { width: 100%; height: 100%; object-fit: cover; }
.img-cell.wide { flex: 2 0 400px; aspect-ratio: 16/9; }
.img-cell .wf-label {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  padding: 8px 0 0;
}

/* Wireframe comparison (label + image) */
.wf-compare { display: flex; flex-wrap: wrap; gap: 20px; padding: 48px var(--pad); }
.wf-item { flex: 1 0 240px; display: flex; flex-direction: column; gap: 12px; }
.wf-item .wf-img {
  border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 4/3; background: #f0f0f0;
}
.wf-item .wf-img img { width: 100%; height: 100%; object-fit: cover; }
.wf-item .wf-caption { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

/* Interviews images row */
.cs-interview-imgs { display: flex; flex-wrap: wrap; gap: 20px;
                      padding: 0 var(--pad) 48px; }
.interview-img {
  flex: 1 0 240px; border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 16/9; background: #f0f0f0;
}
.interview-img img { width: 100%; height: 100%; object-fit: cover; }

/* Personas */
.cs-personas { padding: 48px var(--pad) 0; border-top: 1px solid var(--border); }
.cs-personas h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.cs-personas .personas-intro {
  font-size: 16px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted); max-width: 700px; margin-bottom: 40px;
}
.persona-card {
  border: 1px solid var(--border); border-radius: var(--card-radius);
  padding: 32px; margin-bottom: 24px;
}
.persona-head {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.persona-photo {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; background: var(--hero-accent); flex-shrink: 0;
}
.persona-meta { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.persona-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(21,3,64,0.08); padding: 3px 10px; border-radius: 20px;
  width: fit-content;
}
.persona-name { font-size: 20px; font-weight: 700; }
.persona-role { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.persona-details { display: flex; gap: 8px; flex-wrap: wrap;
                    font-size: 14px; color: var(--text-muted); }
.persona-subcards { display: flex; flex-wrap: wrap; gap: 16px; }
.persona-sub {
  flex: 1 0 200px; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.persona-sub h4 { font-size: 14px; font-weight: 700; }
.persona-sub p  { font-size: 14px; font-weight: 500; line-height: 1.5;
                   color: var(--text-muted); }

/* User flows */
.cs-flows {
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-flows h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.cs-flows .flow-intro {
  font-size: 16px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted); max-width: 700px; margin-bottom: 36px;
}
.flow-imgs { display: flex; flex-wrap: wrap; gap: 20px; }
.flow-img {
  flex: 1 0 280px; border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 16/9; background: #f0f0f0;
}
.flow-img img { width: 100%; height: 100%; object-fit: cover; }
.flow-img .flow-label {
  font-size: 13px; font-weight: 600; color: var(--text-secondary); padding: 8px 0 0;
}

/* Outcomes / Findings */
.cs-outcomes { padding: 64px var(--pad); border-top: 1px solid var(--border); }
.cs-outcomes h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.cs-outcomes .outcomes-intro {
  font-size: 16px; font-weight: 500; line-height: 1.55;
  color: var(--text-muted); margin-bottom: 48px;
}
.outcomes-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.outcomes-cols .col { flex: 1 0 260px; display: flex; flex-direction: column; gap: 16px; }
.outcomes-cols h3 { font-size: 18px; font-weight: 700; }
.outcomes-cols ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.outcomes-cols li, .outcomes-cols p {
  font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--text-muted);
}

/* Release section */
.cs-release {
  display: flex; flex-direction: column; gap: 32px;
  padding: 64px var(--pad); background: #fff;
}
.release-headline { display: flex; flex-direction: column; gap: 16px; }
.release-eyebrow {
  font-size: 20px; font-weight: 500; line-height: 1.45;
  color: rgba(0,0,0,0.6); letter-spacing: -0.005em;
}
.release-eyebrow em { font-style: italic; }
.cs-release h2 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #000;
}
.release-body {
  display: flex; flex-direction: column; gap: 8px;
}
.release-body p  { font-size: 16px; font-weight: 500; line-height: 1.5; color: rgba(0,0,0,0.45); }
.release-body ul { padding-left: 24px; list-style: disc; display: flex; flex-direction: column; gap: 0; }
.release-body li { font-size: 16px; font-weight: 500; line-height: 1.5; color: rgba(0,0,0,0.45); }
.release-media {
  display: flex; justify-content: center;
}
.release-media video,
.release-media img {
  width: 100%; max-width: 688px; height: auto;
  display: block; border-radius: var(--card-radius);
}

/* Impact + Learnings */
.cs-impact {
  display: flex; flex-wrap: wrap; gap: 48px;
  padding: 64px var(--pad); border-top: 1px solid var(--border);
}
.cs-impact .col { flex: 1 0 260px; display: flex; flex-direction: column; gap: 16px; }
.cs-impact h3  { font-size: 20px; font-weight: 700; }
.cs-impact ul  { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; list-style-type: disc; }
.cs-impact li  { font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--text-muted); }

/* === SCROLL ANIMATIONS ==================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* Stagger siblings inside [data-stagger] */
[data-stagger] > *:nth-child(2) { transition-delay: 0.1s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.2s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.3s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.4s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.5s; }

/* === RESPONSIVE: TABLET (≤1023px) ======================== */
@media (max-width: 1023px) {
  :root { --pad: 64px; }

  .hero { min-height: 316px; padding: 64px 64px; }
  .hero-text { max-width: 440px; }

  .about-hero { min-height: auto; }
  .about-photo { align-self: flex-start; }

  .cs-brief-right { flex-direction: column; }
  .role-block {
    border-left: none; border-top: 1px solid var(--border);
    padding-left: 0; padding-top: 16px;
  }
  .role-block:first-child { border-top: none; padding-top: 0; }

  .cs-img-text.reverse .img-side { order: 0; }
  .cs-img-text.reverse .txt-side { order: 0; }
}

/* === RESPONSIVE: MOBILE (<768px) ========================= */
@media (max-width: 767px) {
  :root { --pad: 24px; }

  .site-nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 15px; }

  .hero { min-height: 446px; padding: 64px 24px; text-align: left; }
  .hero-text { max-width: 100%; }
  .hero-text h1 { font-size: 28px; }

  .products { padding: 48px 24px; flex-direction: column; align-items: center; }
  .product-card-v2 { width: 100%; max-width: 326px; }

  .site-footer { padding: 40px 24px; flex-wrap: wrap; gap: 24px; }
  .footer-nav { gap: 20px; }

  /* About */
  .about-hero { padding: 48px 24px; flex-direction: column; gap: 32px; }
  .about-photo { align-self: center; }
  .about-name h1 { font-size: 28px; }
  .about-text { min-width: unset; }

  /* Case study */
  .cs-header { padding: 48px 24px; }
  .cs-title  { font-size: 36px; }

  .cs-brief { padding: 48px 24px; }
  .cs-brief-right { flex-direction: column; }
  .role-block {
    border-left: none; border-top: 1px solid var(--border);
    padding-left: 0; padding-top: 16px;
  }
  .role-block:first-child { border-top: none; padding-top: 0; }

  .cs-two-col   { padding: 48px 24px; }
  .cs-center    { padding: 48px 24px; }
  .cs-center h2 { font-size: 24px; }
  .cs-center p  { font-size: 16px; }

  .methodology-road { padding: 24px; flex-wrap: wrap; gap: 6px; }

  .cs-discovery { padding: 48px 24px; }

  .cs-def-header { padding: 48px 24px; }
  .cs-def-cards  { padding: 0 24px 48px; gap: 32px; }
  .def-card { min-height: unset; }
  .def-card-img { min-height: 200px; }

  .cs-test-header  { padding: 48px 24px; }
  .cs-test-body    { padding: 0 24px 48px; }
  .cs-insights     { padding: 48px 24px 64px; }
  .cs-insights-img img { width: 100%; }

  .cs-wireframe-header { padding: 48px 24px; }
  .cs-wireframe-imgs {
    flex-direction: column; padding: 0 24px 48px;
    overflow-x: visible; gap: 32px;
  }
  .wf-img-item { width: 100%; }

  .cs-final-header { padding: 48px 24px; }
  .cs-final-cards  {
    padding: 0 24px 64px;
    flex-direction: column; overflow-x: visible;
  }
  .final-card { width: 100%; }

  .cs-list  { padding: 48px 24px; }
  .cs-cards { padding: 32px 24px 48px; }
  .cs-quotes { padding: 0 24px 48px; }

  .cs-img-text { padding: 48px 24px; gap: 32px; }
  .cs-img-text.reverse .img-side,
  .cs-img-text.reverse .txt-side { order: 0; }

  .cs-img-grid { padding: 48px 24px; }
  .img-cell    { flex: 1 0 100%; }

  .cs-interview-imgs { padding: 0 24px 32px; }
  .interview-img     { flex: 1 0 100%; }

  .cs-personas { padding: 48px 24px 0; }
  .persona-subcards { flex-direction: column; }
  .persona-sub { flex: 1 0 100%; }

  .cs-flows   { padding: 48px 24px; }
  .flow-imgs  { flex-direction: column; }

  .cs-outcomes { padding: 48px 24px; }
  .wf-compare  { padding: 32px 24px; }
  .wf-item     { flex: 1 0 100%; }

  .cs-release { padding: 48px 24px; gap: 24px; }
  .cs-impact  { padding: 48px 24px; }

  .cs-full-img { padding: 0 24px 48px; }
}

/* ── Test & Refine ───────────────────────────────────── */
.cs-test-refine { background: #f5f5f5; }

.cs-test-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 48px var(--pad); text-align: center;
}
.cs-test-header h2 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.cs-test-header p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted); max-width: 719px;
}

.cs-test-body {
  display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
  padding: 0 var(--pad) 48px;
}
.cs-test-list {
  flex: 1 0 324px;
  display: flex; flex-direction: column; gap: 16px;
}
.cs-test-imgs {
  flex: 1 0 324px;
  display: flex; flex-direction: column; gap: 48px;
}
.cs-test-imgs img {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
}

.cs-insights {
  display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
  padding: 48px var(--pad) 64px;
}
.cs-insights-text {
  flex: 1 0 324px;
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.cs-insights-text h3 {
  font-size: 24px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.cs-insights-text p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted);
}
.cs-insights-img {
  flex: 1 0 324px;
  display: flex; justify-content: center;
}
.cs-insights-img img {
  width: 415px; height: auto; display: block;
}

/* ── Pulse Research Wrapper ──────────────────────── */
.cs-pulse-research { background: #f5f5f5; }

/* Method cards — horizontal scroll */
.cs-method-scroll {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 0 var(--pad) 48px;
  scrollbar-width: none;
}
.cs-method-scroll::-webkit-scrollbar { display: none; }
.cs-method-card {
  flex: 0 0 auto; width: 320px; min-height: 280px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.02), 0 12px 32px 0 rgba(0,0,0,0.04);
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.cs-method-header {
  display: flex; align-items: center; gap: 16px;
}
.method-num {
  width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.method-num--1 { background: rgba(70,179,227,0.2);  color: #46b3e3; }
.method-num--2 { background: rgba(214,210,118,0.2); color: #d6d276; }
.method-num--3 { background: rgba(70,96,227,0.2);   color: #4660e3; }
.method-num--4 { background: rgba(227,189,70,0.2);  color: #e3bd46; }
.method-num--5 { background: rgba(91,100,142,0.2);  color: #5b648e; }
.cs-method-card h4 {
  font-size: 16px; font-weight: 600; line-height: 1.5; color: #000;
}
.cs-method-card > p {
  font-size: 16px; font-weight: 500; line-height: 1.45; color: #8c8c8c;
}

/* Two-col: image LEFT, content RIGHT */
.cs-pulse-two-col {
  display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
  padding: 48px var(--pad);
}
.cs-pulse-two-col--last { padding-bottom: 48px; }

.cs-col-img {
  flex: 1 0 280px;
}
.cs-col-img img {
  width: 100%; height: auto; display: block;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
}
.cs-col-content {
  flex: 1 0 280px;
  display: flex; flex-direction: column; gap: 16px;
}
.cs-col-content h2 {
  font-size: 24px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #1a1a1a;
}
.cs-col-content > p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted);
}

/* ── Personas images (stacked, centered, max 672px) ── */
.cs-personas-imgs {
  padding: 0 var(--pad) 64px;
  display: flex; flex-direction: column; gap: 32px;
  align-items: center;
}
.cs-personas-imgs img {
  width: 100%; max-width: 672px; height: auto; display: block;
  border-radius: var(--card-radius);
}

/* ── Pulse flow figures ───────────────────────────── */
.flow-fig {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
  width: 100%;
}
.flow-fig-img {
  width: 100%; border-radius: var(--card-radius);
  background: #f5f5f5; overflow: hidden;
}
.flow-fig-img img {
  width: 100%; height: auto; display: block;
}

/* ── Pulse Design Wrapper ────────────────────────── */
.cs-pulse-design { background: #f5f5f5; }

/* ── Pulse design solution video ─────────────────── */
.cs-pulse-video {
  padding: 0 var(--pad) 64px;
}
.cs-pulse-video video {
  width: 100%; height: auto; max-height: 445px; display: block;
  object-fit: contain;
  border-radius: var(--card-radius);
  filter: blur(1px);
}

/* ── Icon images inside cs-icon span ─────────────── */
.cs-icon img {
  width: 24px; height: 24px; display: block;
  object-fit: contain;
}

/* ── Pulse wireframe scroll ──────────────────────── */
.cs-wf-scroll {
  display: flex; gap: 32px; overflow-x: auto;
  padding: 0 var(--pad) 48px;
  scrollbar-width: none;
}
.cs-wf-scroll::-webkit-scrollbar { display: none; }
.cs-wf-item {
  flex: 0 0 auto; width: calc(50% - 16px);
  display: flex; flex-direction: column; gap: 12px;
}
.cs-wf-item img {
  width: 100%; height: auto; display: block;
  border-radius: var(--card-radius);
  border: 1px solid rgba(0,0,0,0.1);
}
.cs-wf-item span {
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
}

/* ── Pulse page overrides ────────────────────────── */
.page-pulse .cs-header { background: #fff; }
.page-pulse .cs-brief  { border-top: none; align-items: flex-start; }

/* Brief label: 24px SemiBold title (not small uppercase) */
.page-pulse .cs-brief-left .sec-label {
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
  text-transform: none; color: #1a1a1a; line-height: 1.2;
}

/* Brief left column: fixed 324px width matching Figma */
.page-pulse .cs-brief-left {
  flex: 1 0 0;
  min-width: 324px;
}

/* Brief body: 3 paragraphs with 8px gap */
.cs-brief-body {
  display: flex; flex-direction: column; gap: 8px;
}
.cs-brief-body p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: rgba(0,0,0,0.45); margin: 0;
}

/* Brief card: fills right side, always row direction, hugs content */
.page-pulse .cs-brief-right {
  background: #dadff9;
  flex: 1 0 0; min-width: 324px;
  flex-direction: row; flex-wrap: wrap;
  gap: 12px; justify-content: center; align-items: flex-start; align-content: flex-start;
}

/* Role blocks: three side-by-side, no separators */
.page-pulse .role-block,
.page-pulse .role-block:not(:first-child) {
  border-left: none; border-top: none;
  flex: 1 0 133px;
  gap: 8px;
  padding-left: 0; padding-top: 0; padding-right: 0;
}
.page-pulse .role-label {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  text-transform: none; color: #1a1a1a; line-height: 1.2;
}
.page-pulse .role-value {
  font-size: 14px; font-weight: 500; line-height: 1.5;
  color: rgba(26,26,26,0.7);
}

/* Remove full-width top borders; use per-column separators */
.page-pulse .cs-two-col  { border-top: none; }
.page-pulse .cs-two-col .col {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 24px;
}

/* Remove top borders from cs-center and other sections */
.page-pulse .cs-center { border-top: none; }
.page-pulse .cs-flows  { border-top: none; }
.page-pulse .cs-impact { border-top: none; }
.page-pulse .cs-impact .col {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 24px;
}

/* Research: multi-paragraph text block (Interviews) */
.cs-col-paras {
  display: flex; flex-direction: column; gap: 8px;
}
.cs-col-paras p {
  font-size: 16px; font-weight: 500; line-height: 1.5;
  color: rgba(0,0,0,0.45); margin: 0;
}

/* Research: content column with larger gap (h2 → list) */
.cs-col-content--list { gap: 26px; }

/* Interviews image: no border */
.cs-col-img--borderless img { border: none; }
.cs-col-img--narrow img { max-width: 346px; margin: 0 auto; }

/* ── Icon shapes (used in Pulse list rows) ─────── */
.cs-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; min-width: 24px; flex-shrink: 0;
  position: relative;
}
.cs-icon--circle {
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
}
.cs-icon--diamond {
  overflow: hidden;
}
.cs-icon--diamond::after {
  content: '';
  width: 15px; height: 15px;
  background: rgba(0,0,0,0.15);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.cs-icon--triangle::after {
  content: '';
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid rgba(0,0,0,0.15);
}

/* List row header: icon + title inline */
.page-pulse .list-row-header {
  display: flex; gap: 12px; align-items: center;
}
.page-pulse .list-row-header h4 {
  font-size: 20px; font-weight: 500; line-height: 1;
  color: #000; letter-spacing: -0.015em;
}

/* List rows: column layout, gray bg, no border/shadow */
.page-pulse .cs-list-row {
  flex-direction: column; gap: 16px; align-items: flex-start;
  background: rgba(0,0,0,0.05);
  border: none; box-shadow: none;
}
.page-pulse .cs-list-row > p {
  font-size: 18px; font-weight: 500; line-height: 1.45;
  color: rgba(0,0,0,0.6); margin: 0;
}

/* Flow section: centered header, stacked images */
.page-pulse .cs-flows {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.page-pulse .cs-flows h2    { text-align: center; }
.page-pulse .cs-flows .flow-intro {
  text-align: center; max-width: 701px;
}
.page-pulse .flow-imgs {
  flex-direction: column; gap: 48px; align-items: center; width: 100%;
}
.page-pulse .flow-label {
  font-size: 10px; font-weight: 500; color: #939393; text-align: center;
}

@media (max-width: 1023px) {
  .page-pulse .cs-brief-right { flex-direction: row; }
  .page-pulse .role-block,
  .page-pulse .role-block:not(:first-child),
  .page-pulse .role-block:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 767px) {
  .page-pulse .cs-brief-right { flex-direction: row; }
  .page-pulse .role-block,
  .page-pulse .role-block:not(:first-child),
  .page-pulse .role-block:first-child { border-top: none; padding-top: 0; }
  .cs-pulse-two-col { padding: 32px 24px; }
  .cs-pulse-two-col--last { padding-bottom: 32px; }
  .cs-pulse-video { padding: 0 24px 48px; }
  /* img-left: image is first in DOM (desktop: left) but shows last on mobile */
  .cs-pulse-two-col--img-left { flex-direction: column-reverse; }
  .cs-personas-imgs { padding: 0 24px 48px; }
  /* Wireframe scroll: stacked on mobile, no scroll hijack */
  .cs-wf-scroll {
    flex-direction: column; overflow-x: visible;
    padding: 0 24px 48px;
  }
  .cs-wf-item { width: 100%; }
  /* Method cards: stacked on mobile */
  .cs-method-scroll {
    flex-direction: column; overflow-x: visible;
    padding: 0 24px 48px;
  }
  .cs-method-card { width: 100%; }
}

/* ── Xtadium page overrides ────────────────────────── */
.page-xtadium .cs-header { background: none; }
.page-xtadium .cs-brief { background: #f5f5f5; border-top: none; }
.page-xtadium .cs-brief-right { background: #0133fb; }
.page-xtadium .cs-brief-left .sec-label {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #1a1a1a;
  line-height: 1.2;
}
.page-xtadium .role-label { color: #fff; }
.page-xtadium .role-value { color: rgba(255,255,255,0.7); }
.page-xtadium .role-block { border-left: none; }
.page-xtadium .cs-two-col {
  background: #f5f5f5;
  border-top: none;
  padding-top: 48px;
  padding-bottom: 64px;
}
.page-xtadium .cs-two-col .col {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 24px;
}
.page-xtadium .cs-two-col .col h3 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #1a1a1a;
}
.page-xtadium .cs-discovery { border-top: none; }
.page-xtadium .methodology-road {
  background: #374da5; border-radius: 99px;
  padding: 20px 40px; margin: 24px var(--pad); border-top: none;
}
.page-xtadium .road-step { color: #fff; border: none; background: none; padding: 0; }
.page-xtadium .road-arrow { color: #fff; }

@media (max-width: 767px) {
  .page-xtadium .role-block { border-top: none; }
}

/* ============================================================
   Products Popover
   ============================================================ */

.products-popover {
  position: fixed;
  z-index: 9999;
  width: 280px;
  background: #f9f9f9;
  border: 1px solid #dbdadf;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.08),
    0 24px 48px rgba(0,0,0,0.10);
  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.products-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* When triggered from footer, animate upward */
.products-popover.from-footer {
  transform: translateY(6px);
}
.products-popover.from-footer.is-open {
  transform: translateY(0);
}

.popover-card {
  background: #f1ecfc;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #1d1d1d;
  overflow: hidden;
  transition: background 0.15s ease;
}

.popover-card:hover {
  background: #e6dff8;
}

.popover-card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  align-items: flex-start;
}

.popover-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.popover-card-subtitle {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(29,29,29,0.55);
}

.popover-card-img {
  width: 107px;
  height: 85px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

/* ============================================================
   FOX Sports XR page
   ============================================================ */

.cs-fsx-research { background: #f5f5f5; }

/* ── Feature scroll ───────────────────────────────── */
.cs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 16px;
  padding: 0 var(--pad) 64px;
}

.cs-feature-card {
  max-width: 320px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.cs-feature-media {
  overflow: hidden;
  line-height: 0;
}

.cs-feature-media img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-feature-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  width: 100%;
  box-sizing: border-box;
}

.cs-feature-info > div {
  min-width: 0;
  overflow: hidden;
}

.feature-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.4);
  background: rgba(0,0,0,0.05);
  border-radius: 100px;
  padding: 4px 9px;
  flex-shrink: 0;
  line-height: 1.4;
  margin-top: 2px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #000;
  margin: 0 0 5px;
  line-height: 1.2;
}

.feature-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(0,0,0,0.55);
  margin: 0;
}

@media (max-width: 767px) {
  .cs-feature-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0 24px 40px;
  }
}

.page-foxsports .cs-header { background: #fff; }
.page-foxsports .cs-brief { background: #f5f5f5; }
.page-foxsports .cs-two-col { background: #f5f5f5; border-top: none; padding-top: 48px; padding-bottom: 64px; }
.page-foxsports .cs-two-col .col { border-top: 1px solid rgba(0,0,0,0.15); padding-top: 24px; }
.page-foxsports .cs-impact .col { border-top: 1px solid rgba(0,0,0,0.15); padding-top: 24px; }
.cs-fsx-research { background: #fff; }
.page-foxsports .cs-fsx-research .cs-center { background: #fff; }
.page-foxsports .cs-center { background: #f5f5f5; }
.page-foxsports .cs-feature-grid { background: #f5f5f5; padding-top: 0; }
.page-foxsports .cs-impact { background: #f5f5f5; border-top: none; }
.page-foxsports .cs-brief { border-top: none; align-items: flex-start; }
.page-foxsports .cs-brief-left .sec-label {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #1a1a1a;
  line-height: 1.2;
}
.page-foxsports .cs-brief-left { flex: 1 0 0; min-width: 324px; }
.page-foxsports .cs-brief-right {
  background: #e8edf8; flex: 1 0 0; min-width: 324px;
  flex-direction: row; flex-wrap: wrap;
  gap: 12px; justify-content: center; align-items: flex-start; align-content: flex-start;
}
.page-foxsports .role-block,
.page-foxsports .role-block:first-child {
  border: none;
  padding-left: 0;
}

/* List rows */
.page-foxsports .list-row-header { display: flex; gap: 12px; align-items: center; }
.page-foxsports .list-row-header h4 { font-size: 20px; font-weight: 500; line-height: 1; color: #000; letter-spacing: -0.015em; }
.page-foxsports .cs-list-row { flex-direction: column; gap: 16px; align-items: flex-start; background: rgba(0,0,0,0.05); border: none; box-shadow: none; }
.page-foxsports .cs-list-row > p { font-size: 18px; font-weight: 500; line-height: 1.45; color: rgba(0,0,0,0.6); margin: 0; }

/* Final design video */
.cs-fsx-video { padding: 0 var(--pad) 64px; }
.cs-fsx-video video {
  width: 100%; height: auto; display: block;
  border-radius: var(--card-radius);
}

/* Tablet */
@media (max-width: 1023px) {
  .page-foxsports .cs-brief-right { flex-direction: row; }
  .page-foxsports .role-block { border: none; padding-left: 0; min-height: unset; }
}

/* Mobile */
@media (max-width: 767px) {
  .page-foxsports .cs-brief-right { flex-direction: row; }
  .page-foxsports .role-block { border: none; padding-left: 0; min-height: unset; }
  .cs-fsx-video { padding: 0 24px 48px; }
}

.popover-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
