/*
 * case-study.css — case studies gallery + detail (case-study.html)
 * Reuses about.css helpers (.about-eyebrow, .about-section-head, .about-cta).
 * Blue + gold tokens only. Dark hero keeps the transparent nav legible.
 * Preview visuals are pure-CSS abstract mockups (.cs-mock*).
 */

/* ═══ HERO (light — blueprint grid, matches About/Service) ══════════════ */
.cs-hero {
  position: relative;
  margin-top: calc(-1 * var(--navbar-height));
  padding-top: calc(var(--navbar-height) + var(--space-14));
  padding-bottom: var(--space-20);
  background: linear-gradient(180deg, #ffffff 0%, #eef1f8 100%);
  overflow: hidden;
}
.cs-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cs-hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.cs-hero__orb--1 { width: 520px; height: 520px; background: rgba(21, 67, 120, 0.10); top: -170px; right: -120px; }
.cs-hero__orb--2 { width: 420px; height: 420px; background: rgba(21, 67, 120, 0.07); bottom: -180px; left: -90px; }
.cs-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(21, 67, 120, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 67, 120, 0.085) 1px, transparent 1px),
    linear-gradient(to right,  rgba(21, 67, 120, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 67, 120, 0.038) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 34%, #000 22%, transparent 100%);
          mask-image: radial-gradient(ellipse 88% 78% at 50% 34%, #000 22%, transparent 100%);
}
.cs-hero__container { position: relative; z-index: 1; max-width: 820px; }

.cs-breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); margin-bottom: var(--space-6); flex-wrap: wrap; }
.cs-breadcrumb a { color: rgba(21, 34, 66, 0.62); text-decoration: none; transition: color 180ms ease; }
.cs-breadcrumb a:hover { color: var(--color-brand-900, #0b2543); }
.cs-breadcrumb span[aria-hidden] { color: rgba(21, 34, 66, 0.30); }
.cs-breadcrumb span[aria-current] { color: var(--color-brand-600); font-weight: 600; }

.cs-hero__eyebrow-wrap { margin-bottom: var(--space-3); }
.cs-hero__eyebrow-wrap .eyebrow { color: var(--color-brand-600); }
.cs-hero__headline {
  font-size: clamp(1.95rem, 4vw, 3rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--color-brand-900, #0b2543); margin: 0 0 var(--space-5);
}
.cs-hero__sub { font-size: var(--text-body-lg); color: rgba(21, 34, 66, 0.66); line-height: 1.7; max-width: 56ch; margin: 0 0 var(--space-6); }
.cs-hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cs-hero__actions .btn svg { margin-right: 6px; }
/* Hero stays light in dark theme too → keep type on-brand */
:root[data-theme="dark"] .cs-hero__headline { color: #0b2543; }
:root[data-theme="dark"] .cs-hero__sub { color: rgba(21, 34, 66, 0.66); }
:root[data-theme="dark"] .cs-hero__eyebrow-wrap .eyebrow { color: var(--color-brand-600); }

/* Detail hero: two columns (copy + visual) */
.cs-hero__container--detail { max-width: var(--container-2xl); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
.cs-hero__visual { display: flex; justify-content: center; will-change: transform; }
.cs-hero__visual .cs-mock { width: 100%; max-width: 460px; }

/* Chip (role/tag) — navy-tinted chip on the light hero */
.cs-chip { font-size: var(--text-xs); font-weight: 600; color: var(--color-brand-700); background: rgba(21, 67, 120, 0.07); border: 1px solid rgba(21, 67, 120, 0.16); border-radius: var(--radius-full); padding: 4px var(--space-3); }

/* ═══ CSS MOCK VISUALS (theme-independent, navy-tinted) ═════════════════ */
.cs-mock {
  position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--radius-2xl);
  padding: var(--space-6); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #0c1f35 0%, #12233f 60%, var(--color-brand-500) 130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.cs-mock--a { background: linear-gradient(150deg, #0c1f35 0%, #143257 60%, var(--color-brand-500) 135%); }
.cs-mock--b { background: linear-gradient(150deg, #0e1c30 0%, #1c2b3d 55%, var(--color-violet-600) 150%); }
.cs-mock--c { background: linear-gradient(150deg, #081426 0%, #10233c 60%, #1c4a86 130%); }
.cs-mock--d { background: linear-gradient(150deg, #0c1f35 0%, #17304f 50%, #7b6220 165%); }
.cs-mock::after { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 107, 160,0.28), transparent 65%); filter: blur(26px); top: -50px; right: -40px; }

/* Phone */
.cs-phone { position: relative; z-index: 1; width: 47%; max-width: 150px; aspect-ratio: 9/19; background: #0a1424; border: 2px solid rgba(255,255,255,0.14); border-radius: 22px; padding: 16px 10px 12px; box-shadow: 0 20px 44px rgba(0,0,0,0.4); }
.cs-phone__notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.18); }
.cs-phone__screen { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.cs-ln { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.14); width: 100%; }
.cs-ln--title { height: 11px; width: 60%; background: linear-gradient(90deg, var(--color-violet-400), var(--color-brand-300)); }
.cs-ln--w70 { width: 70%; } .cs-ln--w50 { width: 50%; }
.cs-cardrow { display: flex; gap: 6px; }
.cs-cardrow--3 { flex-wrap: nowrap; }
.cs-tile { flex: 1; height: 26px; border-radius: 7px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.06); }
.cs-tile--tall { height: 40px; background: linear-gradient(160deg, rgba(35,82,134,0.55), rgba(255,255,255,0.06)); }

/* Browser window (web / dashboard / directory) */
.cs-win { position: relative; z-index: 1; width: 100%; max-width: 300px; border-radius: 12px; overflow: hidden; background: #0a1424; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 22px 48px rgba(0,0,0,0.42); }
.cs-win__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); }
.cs-win__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.cs-win__body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cs-win__body--web .cs-heroblock { height: 40px; border-radius: 8px; background: linear-gradient(120deg, var(--color-brand-500), var(--color-violet-500)); opacity: 0.85; }
.cs-win__body--web .cs-tile { height: 30px; }

/* Dashboard */
.cs-win__body--dash { flex-direction: row; gap: 10px; padding: 12px; }
.cs-side { display: flex; flex-direction: column; gap: 7px; width: 26%; }
.cs-side span { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.cs-side span:first-child { background: var(--color-violet-400); width: 80%; }
.cs-main { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.cs-kpis { display: flex; gap: 6px; }
.cs-kpis span { flex: 1; height: 26px; border-radius: 6px; background: linear-gradient(160deg, rgba(35,82,134,0.5), rgba(255,255,255,0.05)); border: 1px solid rgba(255,255,255,0.07); }
.cs-chart { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.cs-chart span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--color-brand-500), var(--color-brand-300)); }
.cs-chart span:last-child { background: linear-gradient(to top, var(--color-violet-600), var(--color-violet-400)); }

/* Directory */
.cs-win__body--dir { padding: 12px; gap: 9px; }
.cs-search { height: 16px; border-radius: 8px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.08); }
.cs-people { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.cs-person { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 7px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); }
.cs-person i { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(145deg, var(--color-brand-400), var(--color-violet-400)); }
.cs-person b { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.16); }

/* ═══ GALLERY ═══════════════════════════════════════════════════════════ */
.cs-gallery { background: var(--color-bg); padding: var(--space-20) 0 var(--space-24); }
.cs-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-12); }
.cs-filter {
  font-family: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer;
  color: var(--color-text-secondary); background: var(--color-bg-subtle);
  border: 1px solid var(--color-border); border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}
.cs-filter:hover { transform: translateY(-2px); border-color: var(--color-border-strong); }
.cs-filter.is-active { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }

.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
/* The filter sets [hidden] on cards; an explicit `display` would beat the UA
   [hidden] rule, so hide it back explicitly. Without this the tabs do nothing. */
.cs-card[hidden] { display: none !important; }

.cs-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); overflow: hidden;
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease, border-color 320ms ease;
}
.cs-card:hover { transform: translateY(-6px); border-color: rgba(21, 67, 120, 0.24); box-shadow: 0 22px 50px rgba(21, 67, 120, 0.14); }
.cs-card__media { display: block; padding: var(--space-6) var(--space-6) 0; }
.cs-card__media .cs-mock { aspect-ratio: 16 / 10; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: var(--space-5) var(--space-5) 0; align-items: flex-end; }
.cs-card__media .cs-phone { max-width: 116px; }
.cs-card__media .cs-win { max-width: 260px; }
/* Real screenshot covers (replace the CSS mocks) */
.cs-cover-img { display: block; object-fit: cover; object-position: top center; }
.cs-card__media { padding: 0; position: relative; }

/* Project TYPE tag on the preview image */
.cs-card__type {
  position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2;
  padding: 4px var(--space-3); border-radius: var(--radius-full);
  background: rgba(7, 19, 34, 0.74);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #fff; white-space: nowrap;
}
.cs-card__cover { width: 100%; aspect-ratio: 16 / 10; }
.cs-hero__visual .cs-hero__cover { width: 100%; max-width: 520px; aspect-ratio: 16 / 10; border-radius: var(--radius-2xl); border: 1px solid var(--color-border); box-shadow: 0 30px 70px rgba(21, 67, 120, 0.16); }
.cs-result__visual .cs-result__cover { width: 100%; max-width: 460px; aspect-ratio: 16 / 10; border-radius: var(--radius-2xl); border: 1px solid var(--color-border); box-shadow: 0 24px 54px rgba(21,67,120,0.14); }
.cs-next__media .cs-next__cover { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }

.cs-card__body { display: flex; flex-direction: column; padding: var(--space-6); flex: 1; }
.cs-card__cat { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-brand-500); margin-bottom: var(--space-2); }
.cs-card__name { font-size: var(--text-h6); font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--space-2); }
.cs-card__desc { font-size: var(--text-body-sm); color: var(--color-text-tertiary); line-height: 1.6; margin-bottom: var(--space-4); flex: 1; }
.cs-card__foot { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-brand-600); }
.cs-card__foot svg { transition: transform 240ms var(--ease-out); }
.cs-card:hover .cs-card__foot svg { transform: translateX(4px); }
.cs-gallery__empty { text-align: center; color: var(--color-text-tertiary); font-size: var(--text-body); margin-top: var(--space-8); }

/* ═══ DETAIL — OVERVIEW ═════════════════════════════════════════════════ */
.cs-overview { background: var(--color-bg); padding: var(--space-24) 0; }
.cs-overview__inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--space-12); align-items: start; }
.cs-overview__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text-primary); margin: 0 0 var(--space-4); }
.cs-overview__text { font-size: var(--text-body); color: var(--color-text-tertiary); line-height: 1.85; margin: 0; max-width: 60ch; }
.cs-facts { margin: 0; padding: var(--space-7); background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); display: flex; flex-direction: column; gap: var(--space-5); }
.cs-fact dt { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: 4px; }
.cs-fact dd { margin: 0; font-size: var(--text-body-sm); font-weight: 600; color: var(--color-text-primary); line-height: 1.5; }

/* ═══ DETAIL — STORY (challenge / approach) ═════════════════════════════ */
.cs-story { background: var(--color-bg-subtle); padding: var(--space-20) 0; }
.cs-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.cs-narr { display: flex; gap: var(--space-5); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: var(--space-8); }
.cs-narr__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(21, 67, 120, 0.12), rgba(21, 67, 120,0.12)); color: var(--color-brand-500); }
.cs-narr__label { display: block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-violet-600); margin-bottom: var(--space-2); }
.cs-narr__body { margin: 0; font-size: var(--text-body-sm); color: var(--color-text-secondary); line-height: 1.75; }

/* ═══ DETAIL — HIGHLIGHTS ═══════════════════════════════════════════════ */
.cs-highlights { background: var(--color-bg); padding: var(--space-24) 0; }
.cs-hl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.cs-hl-card { background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: var(--space-7); transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease; }
.cs-hl-card:hover { transform: translateY(-5px); border-color: rgba(21, 67, 120, 0.22); box-shadow: 0 16px 38px rgba(21, 67, 120, 0.10); }
.cs-hl-card__icon { width: 38px; height: 38px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); background: rgba(21, 67, 120, 0.10); color: var(--color-brand-500); }
.cs-hl-card__title { font-size: var(--text-body); font-weight: 700; color: var(--color-text-primary); margin: 0 0 var(--space-2); line-height: 1.3; }
.cs-hl-card__desc { font-size: var(--text-body-sm); color: var(--color-text-tertiary); line-height: 1.6; margin: 0; }

/* ═══ DETAIL — GALLERY (light showcase band) ════════════════════════════ */
.cs-shots { position: relative; overflow: hidden; padding: var(--space-20) 0; background: var(--color-bg-subtle); }
.cs-shots .about-section-head { margin-bottom: var(--space-8); }

/* Compact uniform thumbnail grid */
.cs-shots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-4); }
.cs-shot {
  position: relative; display: block; padding: 0; margin: 0; cursor: pointer;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-bg); overflow: hidden;
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease, border-color 320ms ease;
}
.cs-shot:hover { transform: translateY(-4px); border-color: rgba(21, 67, 120, 0.30); box-shadow: 0 18px 40px rgba(21, 67, 120, 0.14); }
.cs-shot__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.cs-shot__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: var(--space-2); padding: var(--space-3) var(--space-4);
  background: linear-gradient(to top, rgba(6,13,22,0.86) 0%, rgba(6,13,22,0.12) 55%, transparent 100%);
  opacity: 0; transition: opacity 260ms ease;
}
.cs-shot:hover .cs-shot__overlay, .cs-shot:focus-visible .cs-shot__overlay { opacity: 1; }
.cs-shot__zoom {
  position: absolute; top: var(--space-3); right: var(--space-3);
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; color: #fff; background: rgba(21,67,120,0.72); border: 1px solid rgba(255,255,255,0.25);
  transform: scale(0.8); transition: transform 260ms var(--ease-spring);
}
.cs-shot:hover .cs-shot__zoom { transform: scale(1); }
.cs-shot__cap { font-size: var(--text-sm); font-weight: 600; color: #fff; }

/* Lightbox */
body.cs-lb-open { overflow: hidden; }
.cs-lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal, 500);
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-6);
  background: rgba(4,10,18,0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 220ms var(--ease-out);
}
.cs-lightbox[hidden] { display: none; }
.cs-lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); max-width: min(1000px, 88vw); }
.cs-lightbox__img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.12); animation: scaleIn 260ms var(--ease-out); }
.cs-lightbox__cap { font-size: var(--text-body-sm); font-weight: 500; color: rgba(255,255,255,0.85); text-align: center; }
.cs-lightbox__close { position: absolute; top: var(--space-5); right: var(--space-5); width: 44px; height: 44px; }
.cs-lightbox__close, .cs-lightbox__nav {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 50%; color: #fff; background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.cs-lightbox__nav { width: 52px; height: 52px; }
.cs-lightbox__close:hover, .cs-lightbox__nav:hover { background: var(--color-brand-500); transform: scale(1.06); }

/* ═══ DETAIL — RESULT ═══════════════════════════════════════════════════ */
.cs-result { background: var(--color-bg-subtle); padding: var(--space-24) 0; }
.cs-result__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.cs-result__visual { display: flex; justify-content: center; }
.cs-result__visual .cs-mock { width: 100%; max-width: 420px; }
.cs-outcomes { list-style: none; margin: var(--space-6) 0 var(--space-6); padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.cs-outcome { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-body); color: var(--color-text-secondary); line-height: 1.6; }
.cs-outcome__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(21, 67, 120,0.14); color: var(--color-violet-600); margin-top: 1px; }
.cs-result__note { font-size: var(--text-sm); font-style: italic; color: var(--color-text-tertiary); margin: 0; max-width: 52ch; }

/* ═══ DETAIL — TECH ═════════════════════════════════════════════════════ */
.cs-tech { background: var(--color-bg); padding: var(--space-16) 0; }
.cs-tech__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-4); }
.cs-tech__label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--color-text-tertiary); }
.cs-tech__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.cs-tech__tag { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 6px var(--space-4); }

/* ═══ DETAIL — NEXT CASE STUDY ══════════════════════════════════════════ */
.cs-next { background: var(--color-bg-subtle); padding: 0 0 var(--space-24); }
.cs-next__card { display: block; text-decoration: none; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: var(--space-7) var(--space-8); transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease; }
.cs-next__card:hover { transform: translateY(-4px); border-color: rgba(21, 67, 120, 0.24); box-shadow: 0 18px 44px rgba(21, 67, 120, 0.12); }
.cs-next__label { display: block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: var(--space-4); }
.cs-next__row { display: flex; align-items: center; gap: var(--space-5); }
.cs-next__media { width: 120px; flex-shrink: 0; }
.cs-next__media .cs-mock { aspect-ratio: 16/10; border-radius: var(--radius-lg); padding: var(--space-3) var(--space-3) 0; align-items: flex-end; }
.cs-next__media .cs-phone { max-width: 60px; border-width: 1px; border-radius: 12px; padding: 8px 5px 6px; }
.cs-next__media .cs-win { max-width: 150px; }
.cs-next__meta { flex: 1; }
.cs-next__cat { display: block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-brand-500); margin-bottom: 2px; }
.cs-next__name { font-size: var(--text-h5); font-weight: 800; color: var(--color-text-primary); letter-spacing: -0.01em; }
.cs-next__arrow { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; transition: transform 260ms var(--ease-out); }
.cs-next__card:hover .cs-next__arrow { transform: translateX(5px); }

/* ═══ Responsive ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cs-hero__container--detail { grid-template-columns: 1fr; gap: var(--space-10); }
  .cs-hero__visual { order: -1; }
  .cs-hero__visual .cs-mock { max-width: 360px; }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-overview__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .cs-story__inner { grid-template-columns: 1fr; }
  .cs-hl-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-result__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .cs-result__visual { order: -1; }
  .cs-shots-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 767px) {
  .cs-hero { padding-bottom: var(--space-14); }
  .cs-gallery, .cs-overview, .cs-story, .cs-highlights, .cs-result { padding: var(--space-16) 0; }
  .cs-next { padding-bottom: var(--space-16); }
  .cs-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .cs-hl-grid { grid-template-columns: 1fr; }
  .cs-shots { padding: var(--space-14) 0; }
  .cs-shots-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .cs-lightbox { padding: var(--space-3); }
  .cs-lightbox__nav { width: 42px; height: 42px; }
  .cs-lightbox__close { top: var(--space-3); right: var(--space-3); }
  .cs-hero__actions .btn { width: 100%; justify-content: center; }
  .cs-next__row { flex-wrap: wrap; }
  .cs-next__media { width: 100%; }
  .cs-next__media .cs-mock { aspect-ratio: 16/7; }
}
