/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── TOKENS ── */
:root {
  --cream: #F5F0E8;
  --ink: #1A1714;
  --ink-60: rgba(26, 23, 20, 0.6);
  --ink-20: rgba(26, 23, 20, 0.12);
  --accent: #C8502A;
  --accent-light: #F0D5CB;
  --white: #FEFCF8;
  --dark: #151210;
  --dark-80: rgba(21, 18, 16, 0.8);
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── LAYOUT ── */
.page {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

/* ── HEADER ── */
header {
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--ink-20);
  animation: fadeDown 0.7s ease both;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-initials {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.logo-mark:hover .logo-initials {
  background: var(--accent);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--ink);
}

.logo-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-60);
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--ink-20);
  background: var(--white);
  text-decoration: none;
}

.header-badge img {
  height: 36px;
  width: auto;
}

.header-badge-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-60);
  line-height: 1.4;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-60);
  margin-bottom: 18px;
  font-weight: 300;
}

.hero-body p:last-child {
  margin-bottom: 0;
}

.hero-body p strong {
  color: var(--ink);
  font-weight: 500;
}

/* ── HERO SIDEBAR ── */
.hero-sidebar {
  padding-top: 8px;
}

.stat-card {
  border: 1px solid var(--ink-20);
  background: var(--white);
  padding: 28px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--accent);
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 8px;
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 13px;
  color: var(--ink-60);
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6BCB77;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 60px 0 40px;
  border-top: 1px solid var(--ink-20);
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-60);
}

.section-count {
  font-size: 12px;
  color: var(--ink-60);
  letter-spacing: 1px;
}

/* ── WORKS GRID ── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card-image {
  position: relative;
  overflow: hidden;
  background: var(--ink-20);
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card-image img {
  transform: scale(1.05);
}

.work-card-image-overlay {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card:hover .work-card-image-overlay {
  opacity: 0.4;
}

.view-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s 0.05s ease, transform 0.3s 0.05s ease;
}

.work-card:hover .view-label {
  opacity: 1;
  transform: translateY(0);
}

.work-card-number {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 500;
}

.work-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.2;
  transition: color 0.2s;
}

.work-card:hover .work-card-title {
  color: var(--accent);
}

.work-card-desc {
  font-size: 13px;
  color: var(--ink-60);
}

.work-card.wide {
  grid-column: 1 / -1;
}

.work-card.wide .work-card-image {
  aspect-ratio: 21 / 7;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--ink-20);
  padding: 40px 0;
  animation: fadeUp 0.7s 0.5s ease both;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-60);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink-20);
  color: var(--ink-60);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.icon-linkedin {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0 56px;
  }

  .hero-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .availability {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .stat-card {
    margin-bottom: 0;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-card.wide .work-card-image {
    aspect-ratio: 16 / 7;
  }

  .header-badge {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 500px) {
  .hero-headline {
    font-size: 36px;
  }

  .hero-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   CASE STUDY — shared across all work pages
   ════════════════════════════════════════ */

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── BACK LINK ── */
.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s;
}

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

.back-link::before {
  content: '←';
  font-size: 14px;
}

/* ── CASE STUDY HERO ── */
.cs-hero {
  background: var(--dark);
  color: var(--cream);
  padding: 96px 0 72px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.cs-link-light
  a:active {
  color: #ffa200;
  text-decoration: underline;
}
  a:hover {
  color: #F5F0E8;
  font-weight: 200;
  text-decoration: underline;
}
  a:visited {
  color: #3a3932;
}

.cs-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.cs-hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cs-hero-subheadline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.3;
  color: rgba(245, 240, 232, 0.55);
  font-style: italic;
  margin-bottom: 36px;
}

.cs-hero-body {
  max-width: 680px;
}

.cs-hero-body p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.72);
  margin-bottom: 14px;
  font-weight: 300;
}

.cs-hero-body p:last-child {
  margin-bottom: 0;
}

.cs-hero-body strong {
  color: var(--cream);
  font-weight: 500;
}

/* ── PROJECT META ── */
.cs-meta {
  background: var(--dark);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  padding: 40px 0;
}

.cs-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cs-meta-item {
  padding: 0 32px 0 0;
}

.cs-meta-item + .cs-meta-item {
  padding-left: 32px;
  border-left: 1px solid rgba(245, 240, 232, 0.08);
}

.cs-meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 8px;
}

.cs-meta-value {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.6;
}

.cs-meta-value ul {
  list-style: none;
  padding: 0;
}

.cs-meta-value ul li {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.65);
  padding: 2px 0;
}

.cs-meta-value ul li::before {
  content: '—';
  margin-right: 8px;
  color: var(--accent);
}

.cs-meta-sub {
  margin-top: 16px;
}

.cs-meta-timeline-note {
  color: rgba(245, 240, 232, 0.4);
  font-size: 13px;
}

/* ── HERO IMAGE ── */
.cs-hero-image {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  display: block;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* ── CONTENT WRAPPER ── */
.cs-content-wrapper {
  padding: 0 0 80px;
}

/* ── CONTENT SECTIONS ── */
.cs-section {
  padding: 80px 0;
  border-top: 1px solid var(--ink-20);
  animation: fadeUp 0.6s ease both;
}

.cs-section:first-of-type {
  border-top: none;
}

.cs-section-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.cs-section-label {
  position: sticky;
  top: 32px;
}

.cs-section-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.cs-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}

/* ── CONTENT BODY ── */
.cs-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 12px;
  margin-top: 40px;
}

.cs-body h3:first-child {
  margin-top: 0;
}

.cs-body h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 12px;
  margin-top: 32px;
}

.cs-body h4:first-child {
  margin-top: 0;
}

.cs-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-60);
  margin-bottom: 16px;
  font-weight: 300;
}

.cs-body p strong {
  color: var(--ink);
  font-weight: 500;
}

.cs-body ol,
.cs-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.cs-body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-60);
  margin-bottom: 8px;
}

.cs-body li strong {
  color: var(--ink);
}

.cs-body li ul {
  margin-top: 6px;
  margin-bottom: 0;
}

.cs-body li ul li {
  font-size: 14px;
  color: rgba(26, 23, 20, 0.45);
}

/* ── CALLOUT BLOCK ── */
.cs-callout {
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  background: var(--white);
  margin: 32px 0;
}

.cs-callout p {
  margin-bottom: 0;
  font-size: 15px;
  font-style: italic;
}

/* ── IMAGE BLOCKS ── */
.cs-image-grid {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.cs-image-grid--2col {
  grid-template-columns: 1fr 1fr;
}

.cs-image-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.cs-image-grid--align-center {
  align-items: center;
}

.cs-image-figure {
  display: block;
}

.cs-image-figure img {
  width: 100%;
  display: block;
  border: 1px solid var(--ink-20);
  transition: border-color 0.2s;
}

.cs-image-figure img:hover {
  border-color: var(--accent);
}

.cs-image-figure figcaption {
  font-size: 12px;
  color: var(--ink-60);
  padding-top: 8px;
  line-height: 1.5;
}

/* ── FULL-WIDTH IMAGE ── */
.cs-image-full {
  margin: 40px 0;
}

.cs-image-full img {
  width: 100%;
  display: block;
  border: 1px solid var(--ink-20);
}

.cs-image-full figcaption {
  font-size: 12px;
  color: var(--ink-60);
  padding-top: 10px;
  max-width: 600px;
  line-height: 1.5;
}

/* ── METRICS ── */
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}

.cs-metric {
  border: 1px solid var(--ink-20);
  background: var(--white);
  padding: 28px;
  transition: border-color 0.2s;
}

.cs-metric:hover {
  border-color: var(--accent);
}

.cs-metric-value {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.cs-metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 4px;
}

.cs-metric-sub {
  font-size: 13px;
  color: var(--ink-60);
}

/* ── PROTOTYPE EMBED ── */
.cs-embed {
  margin: 32px 0;
  border: 1px solid var(--ink-20);
  background: var(--white);
}

.cs-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

.cs-embed-label {
  padding: 12px 20px;
  border-top: 1px solid var(--ink-20);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ── TAKEAWAYS (dark panel) ── */
.cs-takeaways {
  background: var(--dark);
  padding: 72px 0;
}

.cs-takeaways-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.cs-takeaways-label {
  position: sticky;
  top: 32px;
}

.cs-takeaways-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.cs-takeaways-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--cream);
  line-height: 1.2;
}

.cs-takeaways-body p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 16px;
  font-weight: 300;
}

.cs-takeaways-body p.cs-takeaways-note {
  color: rgba(245, 240, 232, 0.4);
  font-size: 14px;
  margin-top: 8px;
}

.cs-takeaways-body h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 12px;
  margin-top: 32px;
}

.cs-takeaways-body h4:first-child {
  margin-top: 0;
}

.cs-takeaways-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.cs-takeaways-body ul li {
  font-size: 15px;
  color: rgba(245, 240, 232, 0.72);
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
  display: flex;
  gap: 12px;
  line-height: 1.6;
}

.cs-takeaways-body ul li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.cs-takeaways-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.cs-takeaways-metric {
  border: 1px solid rgba(245, 240, 232, 0.08);
  padding: 24px;
}

.cs-takeaways-metric-value {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}

.cs-takeaways-metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

/* ── NEXT / PREV NAVIGATION ── */
.cs-nav {
  padding: 64px 0;
  border-top: 1px solid var(--ink-20);
}

.cs-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cs-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.cs-nav-link--prev {
  align-items: flex-start;
}

.cs-nav-link--next {
  align-items: flex-end;
  text-align: right;
}

.cs-nav-link-direction {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-60);
}

.cs-nav-link-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink);
  transition: color 0.2s;
}

.cs-nav-link:hover .cs-nav-link-title {
  color: var(--accent);
}

.cs-nav-link-desc {
  font-size: 13px;
  color: var(--ink-60);
}

.cs-nav-divider {
  width: 1px;
  height: 60px;
  background: var(--ink-20);
  flex-shrink: 0;
}

/* ── STICKY NAV ── */
.cs-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(245, 240, 232, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-20);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.cs-sticky-nav.is-visible {
  transform: translateY(0);
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.07);
}

.cs-sticky-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.cs-sticky-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.cs-sticky-logo-initials {
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.cs-sticky-logo:hover .cs-sticky-logo-initials {
  background: var(--accent);
}

.cs-sticky-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cs-sticky-logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  color: var(--ink);
}

.cs-sticky-logo-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ── HAMBURGER ── */
.cs-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--ink-20);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.cs-hamburger:hover {
  border-color: var(--ink);
  background: rgba(26, 23, 20, 0.04);
}

.cs-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.cs-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.cs-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.cs-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── DRAWER ── */
.cs-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(26, 23, 20, 0);
  pointer-events: none;
  transition: background 0.3s ease;
}

.cs-drawer-overlay.is-open {
  background: rgba(26, 23, 20, 0.35);
  pointer-events: all;
}

.cs-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 195;
  width: 320px;
  max-width: 90vw;
  background: var(--white);
  border-left: 1px solid var(--ink-20);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cs-drawer.is-open {
  transform: translateX(0);
}

.cs-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--ink-20);
  flex-shrink: 0;
}

.cs-drawer-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-60);
}

.cs-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--ink-20);
  cursor: pointer;
  color: var(--ink-60);
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.cs-drawer-close:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cs-drawer-nav {
  padding: 12px 0;
  flex: 1;
}

.cs-drawer-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-20);
  transition: background 0.15s;
}

.cs-drawer-item:last-child {
  border-bottom: none;
}

.cs-drawer-item:hover {
  background: rgba(26, 23, 20, 0.03);
}

.cs-drawer-item:hover .cs-drawer-item-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.cs-drawer-item.is-current {
  background: rgba(200, 80, 42, 0.05);
}

.cs-drawer-item-num {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink-20);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}

.cs-drawer-item.is-current .cs-drawer-item-num {
  color: var(--accent);
}

.cs-drawer-item-text {
  flex: 1;
  min-width: 0;
}

.cs-drawer-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 3px;
}

.cs-drawer-item-desc {
  font-size: 12px;
  color: var(--ink-60);
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-drawer-item-arrow {
  font-size: 14px;
  color: var(--ink-20);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.cs-drawer-foot {
  padding: 20px 28px;
  border-top: 1px solid var(--ink-20);
  flex-shrink: 0;
}

.cs-drawer-foot a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s;
}

.cs-drawer-foot a:hover {
  color: var(--accent);
}

/* ── CASE STUDY RESPONSIVE ── */
@media (max-width: 900px) {
  .cs-section-inner,
  .cs-takeaways-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cs-section-label,
  .cs-takeaways-label {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .cs-section-title,
  .cs-takeaways-title {
    font-size: 20px;
  }

  .cs-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cs-meta-item:nth-child(3) {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    padding-top: 28px;
    grid-column: 1 / -1;
  }

  .cs-takeaways-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container--narrow {
    padding: 0 24px;
  }

  .cs-hero {
    padding: 64px 0 48px;
  }

  .cs-section {
    padding: 56px 0;
  }

  .cs-image-grid--2col,
  .cs-image-grid--3col {
    grid-template-columns: 1fr;
  }

  .cs-metrics {
    grid-template-columns: 1fr;
  }

  .cs-takeaways-metrics {
    grid-template-columns: 1fr;
  }

  .cs-meta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cs-meta-item + .cs-meta-item {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    padding-top: 20px;
  }

  .cs-meta-item:nth-child(3) {
    grid-column: auto;
  }

  .cs-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .cs-nav-divider {
    display: none;
  }

  .cs-nav-link--next {
    align-items: flex-start;
    text-align: left;
  }

  .back-link span {
    display: none;
  }

  .cs-hero-image {
    aspect-ratio: 16 / 9;
  }

  .cs-embed iframe {
    height: 500px;
  }
}

@media (max-width: 540px) {
  .cs-sticky-logo-text {
    display: none;
  }

  .cs-sticky-nav-inner {
    padding: 0 24px;
  }
}

@media (max-width: 400px) {
  .cs-hero-headline {
    font-size: 28px;
  }
}


/* ════════════════════════════════════════
   SHARED STICKY SITE NAV + LIGHTBOX
   ════════════════════════════════════════ */
.site-sticky-nav {
  transform: translateY(-100%);
}

body.drawer-open,
body.lightbox-open {
  overflow: hidden;
}

.lightbox-image-trigger {
  cursor: zoom-in;
}

.rt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(21, 18, 16, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.rt-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rt-lightbox__dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rt-lightbox__image {
  max-width: 100%;
  max-height: calc(92vh - 72px);
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.rt-lightbox__caption {
  max-width: 820px;
  color: rgba(245, 240, 232, 0.82);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.rt-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 240, 232, 0.35);
  background: var(--dark);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt-lightbox__close:hover {
  border-color: var(--cream);
}

@media (max-width: 820px) {
  header {
    padding: 28px 0 24px;
  }

  .header-inner {
    align-items: flex-start;
  }

  .logo-role {
    letter-spacing: 1.3px;
  }

  .hero {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 680px) {
  .cs-sticky-nav-inner {
    padding: 0 24px;
  }

  .cs-drawer {
    width: min(360px, 92vw);
  }

  .cs-drawer-item {
    padding: 16px 22px;
    gap: 14px;
  }

  .cs-drawer-head,
  .cs-drawer-foot {
    padding-left: 22px;
    padding-right: 22px;
  }

  .rt-lightbox {
    padding: 16px;
  }

  .rt-lightbox__close {
    top: 0;
    right: 0;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    gap: 16px;
  }

  .logo-name {
    font-size: 15px;
  }

  .logo-role {
    font-size: 10px;
  }

  .work-card.wide .work-card-image,
  .work-card-image {
    aspect-ratio: 4 / 3;
  }
}
