.expanded-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 22px;
  align-items: stretch;
}
.expanded-projects .work-card {
  --project-accent: #aed434;
  position: relative;
  z-index: 0;
  translate: 0 0;
  scale: 1;
  min-width: 0;
  grid-column: auto;
  border: 1px solid #aed43466;
  border-radius: 12px;
  background: #1b1e16;
  box-shadow: 0 5px 18px #0002;
  overflow: hidden;
  transition: translate .38s cubic-bezier(.22,1,.36,1), scale .38s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .3s ease;
}
/* Independent translate/scale keep hover motion separate from the scroll transform. */
.expanded-projects .work-card.reveal-pending[data-reveal-kind] {
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1), filter .9s ease, translate .38s cubic-bezier(.22,1,.36,1), scale .38s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .3s ease;
  transition-delay: var(--enter-delay,0ms), var(--enter-delay,0ms), var(--enter-delay,0ms), 0s, 0s, 0s, 0s;
}
@media (prefers-reduced-motion: no-preference) {
  .expanded-projects .work-card.reveal-instant {
    transition: translate .38s cubic-bezier(.22,1,.36,1), scale .38s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .3s ease !important;
  }
}
.expanded-projects .work-card>.project-button {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  background: transparent;
}
.expanded-projects .project-button:focus-visible { outline-offset: -4px; }
.expanded-projects .work-visual {
  position: relative;
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d0f0a;
}
.expanded-projects .work-visual>img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transform: translate3d(0,var(--parallax-y,0px),0) scale(1.18);
}
.expanded-projects .featured-label {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border: 1px solid #d8ef91; border-radius: 6px;
  color: #152006; background: var(--lime);
  font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .7px;
  box-shadow: 0 4px 14px #0006, 0 0 0 1px #15200630;
  transform: translate3d(0,var(--parallax-y,0px),0);
}
.expanded-projects .featured-label::before { content: '★'; font-size: 12px; line-height: 1; }
.expanded-projects .work-card .project-info {
  display: flex; flex-direction: column; flex: 1; align-items: stretch;
  gap: 0; padding: 20px 20px 16px; margin: 0;
  border-top: 1px solid #aed43440;
  background: #1b1e16;
}
.expanded-projects .work-card .project-number {
  display: flex; align-items: center; gap: 10px;
  color: #b4c397; font-size: 9px; line-height: 1.6; letter-spacing: 1px;
}
.expanded-projects .project-number>span {
  display: inline-grid; place-items: center; flex: 0 0 26px; height: 26px;
  color: #c8e888; border: 1px solid #aed43445; border-radius: 50%;
  font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.expanded-projects .work-card .project-info h3 {
  color: #f3f2e9; font-size: 23px; font-weight: 700;
  line-height: 1.22; letter-spacing: -.6px; margin: 12px 0 0;
  max-width: none; overflow-wrap: anywhere;
}
.expanded-projects .work-card .project-info>p {
  color: #b2b7a7; font-size: 12px; line-height: 1.7;
  margin: 9px 0 17px; max-width: 540px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.work-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid #aed43425; padding-top: 12px; margin-top: auto;
  color: #c7daa5; font-size: 11px;
}
.card-arrow {
  display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px;
  border: 1px solid #aed43480; border-radius: 50%; color: #aed434;
  font-size: 20px; transition: background .25s ease, color .25s ease;
}
.expanded-projects .work-card:focus-within {
  border-color: #aed434;
  box-shadow: 0 0 0 1px #aed43420, 0 0 24px #aed43420;
}
@media (hover: hover) and (pointer: fine) {
  .expanded-projects .work-card:hover {
    z-index: 2;
    translate: 0 -8px;
    scale: 1.025;
    border-color: #aed434;
    box-shadow: 0 22px 42px -14px #0009, 0 0 0 1px #aed43440, 0 0 28px #aed43422;
  }
  .expanded-projects .project-button:hover .card-arrow { background: #aed434; color: #152006; }
}
@media (hover: none) {
  .expanded-projects .work-card:active { border-color: #aed434; box-shadow: 0 0 20px #aed43420; }
}
@media (min-width: 1101px) {
  .expanded-projects { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .expanded-projects { gap: 26px 20px; }
  .expanded-projects .work-card .project-info { padding: 18px 18px 15px; }
  .expanded-projects .work-card .project-info h3 { font-size: 23px; }
  .expanded-projects .work-card .project-info>p { font-size: 12px; }
}
@media (max-width: 600px) {
  .expanded-projects { grid-template-columns: 1fr; gap: 26px; }
  .expanded-projects .work-card { border-radius: 10px; }
  .expanded-projects .work-card .project-info { padding: 18px 18px 15px; }
  .expanded-projects .work-card .project-info h3 { font-size: 24px; margin-top: 12px; letter-spacing: -.6px; }
  .expanded-projects .work-card .project-info>p { font-size: 12px; margin-bottom: 16px; }
  .expanded-projects .work-card .project-number { font-size: 8px; letter-spacing: .7px; }
  .expanded-projects .featured-label { top: 12px; left: 12px; padding: 8px 11px; font-size: 10px; }
}
.case-results .results-heading { font-size: clamp(30px,3.8vw,52px); font-weight: 700; line-height: 1.15; letter-spacing: -1.7px; margin-top: 18px; }
.case-results .section-top { align-items: end; margin-bottom: 32px; }
.case-results .result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding-bottom: 0; border: 0; }
.case-results .result-stat { min-width: 0; padding: 30px; border: 1px solid #aed43460; border-top: 3px solid #aed434; border-radius: 10px; background: radial-gradient(ellipse at top right,#aed4340c,transparent 70%),#1b2015; }
.case-results .result-value { color: #c3eb52; font-size: clamp(42px,5.1vw,70px); font-weight: 700; letter-spacing: -.055em; line-height: 1.15; }
.case-results .result-value .number-unit { font-size: .4em; letter-spacing: -.02em; }
.case-results .result-stat h3 { margin-top: 18px; font-size: 15px; line-height: 1.5; color: #eef2e6; }
.case-results .result-stat p { color: #a9b69a; font-size: 10px; margin-top: 8px; }
.case-cover>img[data-parallax] { transform: translate3d(0,var(--parallax-y,0px),0) scale(1.16); }
@media (max-width: 800px) {
  .case-results .result-stat { padding: 22px; }
  .case-results .result-value { font-size: 40px; }
}
@media (max-width: 600px) {
  .case-results .result-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-results .result-stat { padding: 24px; }
  .case-results .result-value { font-size: clamp(42px,10vw,60px); }
  .case-results .result-stat h3 { font-size: 14px; margin-top: 15px; }
  .case-results .results-heading { font-size: 34px; }
}
.case-sections { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line); }
.next-case { display: block; }
.next-case > .eyebrow { margin-bottom: 22px; }
.next-case-card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) 52px;
  align-items: center; gap: 30px; padding: 20px 26px 20px 20px;
  border: 1px solid #aed43450; border-radius: 14px;
  background: #1b1e16; color: inherit;
  translate: 0 0; scale: 1;
  transition: translate .38s cubic-bezier(.22,1,.36,1), scale .38s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .3s ease;
}
.next-case-thumb { min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #0d0f0a; }
.next-case-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.next-case-copy { min-width: 0; }
.next-case-category { display: block; color: #b4c397; font-size: 10px; line-height: 1.6; letter-spacing: 1px; }
.next-case .next-case-copy h2 { margin: 12px 0 18px; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; letter-spacing: -.8px; overflow-wrap: anywhere; }
.next-case-action { display: block; font-size: 11px; color: #c7daa5; }
.next-case-arrow { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #aed43480; border-radius: 50%; color: #aed434; font-size: 28px; transition: background .25s ease, color .25s ease; }
.next-case-card:focus-visible { outline: 2px solid #aed434; outline-offset: 5px; border-color: #aed434; }
@media (hover: hover) and (pointer: fine) {
  .next-case-card:hover { translate: 0 -6px; scale: 1.012; border-color: #aed434; box-shadow: 0 20px 38px -14px #0009, 0 0 24px #aed43422; }
  .next-case-card:hover .next-case-arrow { background: #aed434; color: #152006; }
}
@media (max-width: 800px) {
  .next-case-card { gap: 22px; padding: 18px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) 44px; }
  .next-case-arrow { width: 44px; height: 44px; font-size: 25px; }
}
@media (max-width: 600px) {
  .next-case > .eyebrow { margin-bottom: 18px; }
  .next-case-card { grid-template-columns: minmax(0, 1fr) 44px; gap: 20px 16px; padding: 16px; border-radius: 12px; }
  .next-case-thumb { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .next-case .next-case-copy h2 { font-size: 25px; margin: 10px 0 14px; }
  .next-case-category { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .expanded-projects .work-card, .next-case-card { translate: none !important; scale: none !important; transition: none !important; }
  .next-case-card, .next-case-arrow { transition: none; }
}
.case-sections a { font-size: 11px; color: #bcc3b1; padding: 4px 0; }
.case-sections a:hover { color: var(--project-accent); }
.case-video { padding-top: 85px; padding-bottom: 10px; }
.video-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 30px; }
.video-heading h2, .focus-heading h2, .behance-copy h2 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -1.8px; line-height: 1.15; margin-top: 20px; }
.video-heading>p { color: #abb69d; font-size: 13px; line-height: 1.9; max-width: 400px; justify-self: end; }
.video-player { position: relative; width: 100%; aspect-ratio: 16/9; background: #090b08; border: 1px solid #ffffff24; }
.video-player iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-caption { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #aebba0; padding-top: 13px; }
.media-caption a { color: var(--project-accent); white-space: nowrap; }
.case-focus { padding: 65px 0; margin-bottom: 65px; }
.focus-heading { max-width: 850px; }
.focus-heading>p:not(.eyebrow) { font-size: 14px; line-height: 1.9; max-width: 740px; margin-top: 26px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 45px; }
.focus-grid article { border-top: 1px solid currentColor; padding-top: 20px; }
.focus-grid article>span { font-size: 10px; opacity: .65; }
.focus-grid h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.6px; margin-top: 18px; }
.focus-grid p { font-size: 12px; line-height: 1.9; margin-top: 14px; }
.case-focus { background: #1c2017; color: #f3f2e9; border-block: 1px solid #aed43430; }
.case-focus .eyebrow, .case-focus .focus-grid article>span { color: #aed434; opacity: 1; }
.case-focus .focus-grid article { border-color: #aed43440; }
.case-focus .focus-grid p, .case-focus .focus-heading>p:not(.eyebrow) { color: #b8c0ab; }
.focus-chd-website .focus-grid { gap: 42px; }
.focus-cmg-website .focus-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-process .process-grid>div { background: #1c2017; border-color: #aed43435; }
.case-process .process-grid ul { list-style: none; padding: 0; margin: 20px 0 0; font-size: 11px; color: #b8c0ab; }
.case-process .process-grid li { border-top: 1px solid #ffffff10; padding: 9px 0; line-height: 1.7; }
.case-page[data-project=catmoc-crm] .case-intro h1 { max-width: 1100px; }
.case-page[data-project=catmoc-crm] .case-cover { background: #10120e; }
.case-page[data-project=chd-website] .case-cover { background: #10120e; }
.case-page[data-project=cmg-website] .case-intro { border-left: 2px solid #aed434; padding-left: 25px; }
.behance-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: 1px solid var(--line); padding-top: 60px; padding-bottom: 75px; }
.behance-copy>p:not(.eyebrow) { font-size: 13px; line-height: 1.8; margin-top: 22px; color: #bcc7ad; }
.behance-copy .button { margin-top: 24px; }
.behance-copy>p.source-note { font-size: 10px; color: #97a486; }
.behance-embed { min-width: 0; }
.behance-embed iframe { display: block; width: 100%; height: 360px; max-width: 480px; margin-left: auto; border: 1px solid #ffffff20; background: #fff; border-radius: 8px; }
.behance-embed>p { font-size: 9px; line-height: 1.8; margin-top: 12px; color: #919f7e; text-align: right; }
.behance-embed>p a { color: #cbd8ba; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .focus-cmg-website .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .behance-section { gap: 35px; }
  .video-heading { gap: 35px; }
  .focus-grid { gap: 22px; }
  .focus-grid h3 { font-size: 21px; }
}
@media (max-width: 600px) {
  .case-sections { gap: 4px 19px; padding-block: 13px; }
  .case-sections a { padding-block: 8px; font-size: 10px; }
  .case-video { padding-top: 50px; }
  .video-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 22px; }
  .video-heading>p { justify-self: start; font-size: 12px; }
  .video-heading h2, .focus-heading h2, .behance-copy h2 { font-size: 31px; letter-spacing: -1.2px; }
  .media-caption { font-size: 9px; gap: 10px; flex-wrap: wrap; }
  .case-focus { padding-block: 45px; margin-bottom: 45px; }
  .focus-heading>p:not(.eyebrow) { font-size: 12px; }
  .focus-grid, .focus-cmg-website .focus-grid, .focus-chd-website .focus-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .focus-grid h3 { font-size: 22px; margin-top: 10px; }
  .focus-grid p { margin-top: 10px; }
  .case-process .process-grid { grid-template-columns: 1fr; }
  .case-process .process-grid h3 { font-size: 18px; }
  .case-process .process-grid>div { padding: 22px; }
  .case-process .process-grid ul { margin-top: 14px; }
  .behance-section { grid-template-columns: 1fr; gap: 32px; padding-top: 38px; padding-bottom: 45px; }
  .behance-embed iframe { height: 316px; margin: 0; max-width: none; }
  .behance-embed>p { text-align: left; }
  .case-page[data-project=cmg-website] .case-intro { padding-left: 15px; }
}
