.cs-post{--cs-bg:#0b151c;--cs-panel:#172630;--cs-text:#f3ebdc;--cs-muted:#b4c4c9;--cs-line:#354750;--cs-accent:#9cf1f0;--cs-gold:#ffbd63;background:var(--cs-bg);color:var(--cs-text);font:16px/1.6 system-ui,sans-serif}.cs-post *{box-sizing:border-box}.cs-post h1,.cs-post h2,.cs-post h3,.cs-post p{margin:0}.cs-post h2{font-size:clamp(26px,3vw,44px);line-height:1.15;letter-spacing:-.035em;margin:8px 0 28px}.cs-post button,.cs-post a{font:inherit}.cs-post a,.cs-post button{color:inherit}.cs-post a{ text-decoration:none}.cs-post button,.cs-actions a,.cs-pdf-actions a,.cs-cta a{border:1px solid var(--cs-line);background:transparent;border-radius:4px;padding:10px 18px;cursor:pointer}.cs-post :focus-visible{outline:3px solid var(--cs-accent);outline-offset:4px}.cs-post .cs-primary{background:var(--cs-gold);border-color:var(--cs-gold);color:#101a20;font-weight:700}.cs-hero{position:relative;isolation:isolate;min-height:380px;display:flex;align-items:center;overflow:hidden}.cs-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.cs-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08131cf2,#08131c96 55%,#08131c22);z-index:-1}.cs-hero-content{width:min(1200px,90%);margin:auto;padding:65px 0}.cs-post h1{max-width:850px;font-size:clamp(40px,5.5vw,80px);line-height:1;letter-spacing:-.04em;margin:22px 0}.cs-post h1 span{color:var(--cs-gold)}.cs-hero-content>p:not(.cs-kicker){max-width:600px}.cs-kicker{color:var(--cs-accent);font:700 11px/1.5 ui-monospace,monospace;letter-spacing:.12em}.cs-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}.cs-inner{max-width:1240px;margin:auto;padding:0 24px}.cs-overview{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px;padding:36px 0;border-bottom:1px solid var(--cs-line)}.cs-overview:empty{display:none}.cs-meta{border-left:1px solid var(--cs-line);padding-left:24px}.cs-overview p+p{margin-top:10px}.cs-section{padding:48px 0 30px;border-bottom:1px solid var(--cs-line)}.cs-stage{position:relative;background:#101d25;border:1px solid var(--cs-line);border-radius:6px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center}.cs-main-image{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.cs-expand{position:absolute;right:14px;top:14px;background:#0b151cbb!important;font-size:24px!important;padding:1px 12px!important}.cs-controls{display:flex;align-items:center;gap:14px;padding:14px 0}.cs-count{font:700 12px ui-monospace,monospace;white-space:nowrap}.cs-caption{margin-left:auto;color:var(--cs-muted);font-size:13px}.cs-thumbnails{display:flex;gap:14px;overflow-x:auto;padding:4px 4px 16px;scroll-snap-type:x proximity}.cs-thumbnails button{padding:0;flex:0 0 23%;min-width:140px;text-align:left;overflow:hidden;scroll-snap-align:start}.cs-thumbnails button[aria-pressed=true]{border:2px solid var(--cs-accent)}.cs-thumbnails img{width:100%;aspect-ratio:16/9;object-fit:contain;display:block;background:var(--cs-panel)}.cs-thumbnails span{display:block;padding:8px 10px;font-size:12px}.cs-pdf-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:20px 0}.cs-pdf-note{color:var(--cs-muted);padding-bottom:24px}.cs-features{display:grid;grid-template-columns:1fr 3fr;gap:36px;padding:38px 0;border-bottom:1px solid var(--cs-line)}.cs-feature{display:grid;grid-template-columns:30px 1fr 1.5fr;gap:20px;padding:15px 0;border-bottom:1px solid var(--cs-line)}.cs-feature span{color:var(--cs-gold)}.cs-feature h3{font-size:16px}.cs-feature p{color:var(--cs-muted);font-size:14px}.cs-cta{padding:42px 0;display:flex;justify-content:space-between;gap:24px;align-items:center}.cs-cta h2{margin:0}.cs-existing{padding:36px 0}.cs-existing>iframe{width:100%;height:650px;border:1px solid var(--cs-line);display:block}.cs-existing .work-post-galleries,.cs-existing .work-music{padding:0;margin:0}.cs-lightbox{background:#071018;color:#f3ebdc;border:1px solid #45616e;width:min(1500px,96vw);max-width:96vw;padding:20px}.cs-lightbox::backdrop{background:#000e}.cs-lightbox img{width:100%;height:75vh;object-fit:contain;display:block}.cs-lightbox footer{display:flex;align-items:center;justify-content:center;gap:20px}.cs-lightbox button{padding:10px 16px;background:#172630;color:#f3ebdc;border:1px solid #45616e;cursor:pointer}.cs-lightbox .cs-close{display:block;margin:0 0 12px auto}.post-detail:has(.cs-post){padding:0!important;max-width:none!important}.detail-shell:has(.cs-post){max-width:none!important}.cs-post .work-music{max-width:100%}@media(max-width:760px){.cs-hero{min-height:330px}.cs-overview{grid-template-columns:1fr 1fr;gap:22px}.cs-overview>div:first-child{grid-column:1/-1}.cs-meta{padding-left:0;border:0}.cs-features{grid-template-columns:1fr;gap:0}.cs-feature{grid-template-columns:25px 1fr}.cs-feature p{grid-column:2}.cs-cta{align-items:flex-start;flex-direction:column}.cs-caption{max-width:40%;overflow-wrap:anywhere}.cs-inner{padding:0 18px}.cs-controls{gap:8px}.cs-controls button{padding:8px 14px}.cs-thumbnails button{flex-basis:40%}}

/* 1.1.010: remove the inherited directory-page frame, keeping inner reading margins. */
body.has-case-study{margin:0!important;padding:0!important;background:#0b151c!important}
body.has-case-study>main,body.has-case-study .detail-shell>main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
body.has-case-study .post-detail,body.has-case-study .detail-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
body.has-case-study .cs-post{width:100%;margin:0;border:0}
body.has-case-study .cs-hero{background:var(--cs-bg);background-image:none}
body.has-case-study .cs-hero::after{display:none}

/* 1.1.011: distinct introduction band and admin-selected project indicators. */
body.has-case-study .cs-hero{background:#20343f;border-bottom:1px solid #45616e}
.cs-status-badges{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0;max-width:100%}
.cs-status-badge{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid currentColor;border-radius:4px;font:700 11px/1.5 ui-monospace,monospace;letter-spacing:.05em;overflow-wrap:anywhere}
.cs-status-badge:before{content:'';width:6px;height:6px;flex:0 0 6px;background:currentColor;border-radius:50%}
.cs-status-in-development{color:#ffd08a;background:#3b3429}.cs-status-published{color:#a3ebbc;background:#183c32}.cs-status-continual-development{color:#9fe7f2;background:#173c49}.cs-status-outdated{color:#f5b99f;background:#402d29}.cs-status-no-longer-ev2n-developed{color:#c6cbd2;background:#30353e}
.cs-actions{align-items:center}.cs-legacy-media{padding:36px 0}
@media(max-width:600px){.cs-status-badges{flex-direction:column;align-items:flex-start}.cs-status-badge{font-size:10px}}

/* 1.1.013: full-size stage controls and cursor-driven thumbnail navigation. */
.cs-stage{touch-action:pan-y pinch-zoom}.cs-post .cs-carousel-arrow,.cs-lightbox .cs-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;display:grid;place-items:center;width:56px;height:72px;padding:0!important;font:400 42px/1 system-ui,sans-serif!important;color:#f3ebdc;background:#071018dd;border:1px solid #7897a4;border-radius:6px;box-shadow:0 4px 18px #0005;cursor:pointer}
.cs-post .cs-carousel-arrow:hover,.cs-lightbox .cs-carousel-arrow:hover{color:#9cf1f0;background:#173b49}.cs-arrow-prev{left:16px}.cs-arrow-next{right:16px}.cs-carousel-arrow[hidden],.cs-autoplay[hidden]{display:none!important}
.cs-thumbnails{position:relative;scroll-behavior:auto}.cs-thumbnails.is-cursor-scrolling{scroll-snap-type:none}.cs-autoplay{margin-left:auto;font-size:11px!important;padding:7px 10px!important}.cs-lightbox-stage{position:relative}.cs-lightbox .cs-carousel-arrow:focus-visible{outline:3px solid #9cf1f0;outline-offset:3px}
@media(max-width:600px){.cs-post .cs-carousel-arrow,.cs-lightbox .cs-carousel-arrow{width:44px;height:56px;font-size:34px!important}.cs-arrow-prev{left:8px}.cs-arrow-next{right:8px}.cs-controls{flex-wrap:wrap}.cs-controls .cs-caption{max-width:none;flex:1}.cs-autoplay{margin-left:0}}

/* 1.1.014: overview uses the full reading container; metadata follows below. */
.cs-post .cs-overview{display:block}
.cs-post .cs-overview-text,.cs-post .cs-overview-text>p{width:100%;max-width:none;min-width:0}
.cs-post .cs-overview-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%}
.cs-post .cs-overview-text+.cs-overview-metadata{margin-top:28px}
.cs-post .cs-overview-metadata>.cs-meta:first-child{border-left:0;padding-left:0}
@media(max-width:760px){.cs-post .cs-overview-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.cs-post .cs-overview-metadata{grid-template-columns:1fr}}

/* 1.1.016: project dates, website link and same-category project cards. */
.cs-status-not-yet-published{color:#d3c3ff;background:#342c49}
.cs-post .cs-overview-metadata>.cs-meta{min-width:0;overflow-wrap:anywhere}
.cs-post .cs-website-link{color:var(--cs-accent);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.cs-similar{padding:44px 0;border-top:1px solid var(--cs-line);margin-top:20px}
.cs-similar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cs-similar-card{display:block;min-width:0;border:1px solid var(--cs-line);border-radius:6px;overflow:hidden;background:var(--cs-panel)}
.cs-similar-image{aspect-ratio:16/10;background:#10232e;display:grid;place-items:center;overflow:hidden}
.cs-similar-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.cs-similar-image>span{color:var(--cs-muted);font:12px ui-monospace,monospace}
.cs-similar-copy{padding:18px}.cs-similar-copy h3{font-size:22px;line-height:1.2;margin:10px 0;overflow-wrap:anywhere;display:flex;justify-content:space-between;gap:12px}
.cs-similar-copy>p:last-child:not(.cs-kicker){font-size:14px;color:var(--cs-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cs-similar-card:hover{border-color:var(--cs-accent)}.cs-similar-card:hover img{transform:scale(1.035)}
@media(max-width:900px){.cs-similar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cs-similar-grid{grid-template-columns:1fr}.cs-status-badges{flex-direction:row;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.cs-similar-image img{transition:none}}

/* 1.1.018: a unified, explicit project-overview information panel. */
.cs-post .cs-overview{display:block;background:#12232d;border:1px solid #354f5d;border-radius:8px;padding:clamp(20px,3vw,32px);margin:32px 0 8px}
.cs-post .cs-overview-copy{color:#e0e8e8;line-height:1.8;font-size:clamp(16px,1.2vw,18px);margin-top:14px}
.cs-post .cs-overview-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#354f5d;border:1px solid #354f5d;border-radius:6px;overflow:hidden;margin:26px 0 0;padding:0;width:100%}
.cs-post .cs-overview-fact{display:block;min-width:0;padding:20px;background:#182d39}
.cs-post .cs-overview-fact dt{margin:0 0 10px;padding:0;color:#9cf1f0;font:700 10px/1.5 ui-monospace,monospace;letter-spacing:.09em}
.cs-post .cs-overview-fact dd{margin:0;padding:0;color:#f3ebdc;font:500 15px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.cs-post .cs-overview-fact time{white-space:normal}.cs-post .cs-fact-empty{color:#a5b6bf}
.cs-post .cs-overview-facts .cs-website-link{color:#f3ebdc;text-decoration:underline;text-decoration-color:#9cf1f080;text-underline-offset:4px}
@media(max-width:800px){.cs-post .cs-overview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.cs-post .cs-overview-facts{grid-template-columns:1fr}.cs-post .cs-overview-fact{padding:16px}}

/* 1.1.022: align full-width content with the site header and Work navigation. */
.cs-post.cs-width-full{--cs-full-gutter:clamp(22px,4.25vw,80px)}
.detail-shell .cs-post.cs-width-full{--cs-full-gutter:clamp(22px,4vw,70px)}
.cs-post.cs-width-full>.cs-inner{box-sizing:border-box;width:100%;max-width:none;margin-inline:0;padding-inline:var(--cs-full-gutter)}
.cs-post.cs-width-full>.cs-hero>.cs-hero-content{box-sizing:border-box;width:100%;max-width:none;margin-inline:0;padding-inline:var(--cs-full-gutter)}

/* Project facts sit alongside the title and actions in the hero. */
.cs-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
}
.cs-hero-intro { min-width: 0; overflow-wrap: anywhere; }
.cs-hero-intro > p:not(.cs-kicker) { max-width: 600px; }
.cs-post .cs-hero-content > .cs-overview-facts { margin: 0; }
@media (max-width: 900px) {
  .cs-hero-content { grid-template-columns: minmax(0, 1fr); }
}

/* Keep horizontal scrolling inside the carousel, off the page. */
body.has-case-study { overflow-x: clip; }
body.has-case-study .site-header .mega-menu { width: 100%; max-width: 100%; }
.cs-post .cs-inner,
.cs-post .cs-hero-content,
.cs-post .cs-overview-facts,
.cs-post .cs-thumbnails { min-width: 0; max-inline-size: 100%; }
.cs-post .cs-status-badge { min-width: 0; max-width: 100%; }

/* Retain accessible slide names while hiding visual captions. */
[data-hide-slide-titles] .cs-caption,
[data-hide-slide-titles] .cs-thumbnails button > span {
  display: none;
}

/* Keep the desktop thumbnail column the same height as the main slide. */
@media (min-width: 761px) {
  .cs-post [data-cs-viewer] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(120px, 16%, 220px);
    column-gap: 16px;
  }
  [data-cs-viewer] > :is(.cs-kicker, h2) { grid-column: 1 / -1; }
  [data-cs-viewer] > .cs-stage { grid-area: 3 / 1; }
  [data-cs-viewer] > .cs-controls { grid-area: 4 / 1; }
  .cs-post [data-cs-viewer] > .cs-thumbnails {
    grid-area: 3 / 2;
    contain: size;
    flex-direction: column;
    overflow: hidden auto;
    scroll-snap-type: y proximity;
    padding: 4px;
  }
  .cs-post [data-cs-viewer] > .cs-thumbnails.is-cursor-scrolling {
    scroll-snap-type: none;
  }
  .cs-post [data-cs-viewer] .cs-thumbnails button {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }
}

/* Keep the thumb invisible at rest without changing the scrollable area. */
.cs-post [data-cs-viewer] .cs-thumbnails {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.cs-post [data-cs-viewer] .cs-thumbnails:hover,
.cs-post [data-cs-viewer] .cs-thumbnails:focus-within {
  scrollbar-color: #547180 #101d25;
}
@media (hover: none), (forced-colors: active) {
  .cs-post [data-cs-viewer] .cs-thumbnails {
    scrollbar-color: auto;
  }
}

.cs-url-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cs-url-actions > .cs-website-link { flex: 1 1 150px; min-width: 0; }
.cs-url-actions > button,
.cs-url-actions > .cs-primary { padding: 8px 12px; font-size: 13px; }
.cs-copy-status:not(:empty) { flex-basis: 100%; }
.cs-copy-status:empty { display: none; }

/* Give the Platform and Website URL column room for the URL actions. */
@media (min-width: 801px) {
  .cs-post .cs-overview-facts {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.25fr);
  }
}
.cs-url-actions > .cs-website-link { flex-basis: 120px; }

.has-case-study .work-category-nav a[aria-current="location"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.cs-post .cs-overview.cs-overview-with-logo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.cs-overview-brand { display: grid; place-items: start center; align-self: start; min-width: 0; }
.cs-overview-brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 340px);
  max-height: 220px;
  object-fit: contain;
}
.cs-post .cs-overview .cs-overview-text { min-width: 0; width: 100%; max-width: none; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .cs-post .cs-overview.cs-overview-with-logo { grid-template-columns: minmax(0, 1fr); }
}

/* Compact photo gallery below the brand logo. */
.cs-brand-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 28px;
}
.cs-brand-photos a {
  display: block;
  min-width: 0;
  border: 1px solid #354f5d;
  border-radius: 5px;
  overflow: hidden;
}
.cs-overview-brand .cs-brand-photos img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
}
.cs-brand-photos a:hover, .cs-brand-photos a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cs-timeline { margin-top: 32px; border-top: 1px solid #354f5d; padding-top: 20px; }
.cs-timeline ol { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; list-style: none; padding: 0; margin: 18px 0 0; }
.cs-timeline li { position: relative; padding: 14px 10px 0 0; border-top: 3px solid var(--accent, #9ef4ff); font-size: 13px; }
.cs-timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent, #9ef4ff); }
.cs-timeline li:has(+ .cs-upcoming), .cs-timeline .cs-upcoming { border-color: #456271; }
.cs-timeline .cs-upcoming::before { background: #12232d; border: 2px solid #829aa6; box-sizing: border-box; }
.cs-timeline span, .cs-timeline strong { display: block; }
.cs-timeline span { margin-bottom: 5px; color: #adc3cd; }
.cs-timeline .cs-upcoming { color: #adc3cd; }
@media (max-width: 1100px) {
  .cs-timeline ol { grid-auto-flow: row; }
  .cs-timeline li { padding: 0 0 16px 16px; border-top: 0; border-left: 3px solid var(--accent, #9ef4ff); }
  .cs-timeline li::before { top: 2px; left: -7px; }
  .cs-timeline li:last-child { padding-bottom: 0; }
}

/* v1.1.040: Unified full-width post alignment independent of optional fields. */
body.has-case-study .cs-post{--cs-alignment-gutter:clamp(18px,4.25vw,80px);width:100%;max-width:none;}
body.has-case-study .cs-post .cs-hero-content,
body.has-case-study .cs-post .cs-inner{box-sizing:border-box;width:100%;max-width:none;margin-inline:auto;padding-inline:var(--cs-alignment-gutter);}
body.has-case-study .cs-post .cs-hero-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.75fr);align-items:center;gap:clamp(24px,3vw,56px);}
body.has-case-study .cs-post .cs-hero-intro,
body.has-case-study .cs-post .cs-hero-content>.cs-overview-facts,
body.has-case-study .cs-post .cs-inner>*,
body.has-case-study .cs-post .cs-stage{min-width:0;max-width:100%;}
body.has-case-study .cs-post .cs-hero-intro>p:empty{display:none;}
body.has-case-study .cs-post .cs-section{width:100%;}
@media(max-width:900px){body.has-case-study .cs-post .cs-hero-content{grid-template-columns:minmax(0,1fr);}}
@media(max-width:600px){body.has-case-study .cs-post{--cs-alignment-gutter:18px;}}

/* v1.1.041 — EV2N animated neon punctuation; category and post titles only. */
@keyframes ev2n-work-dot-neon {
  0%,100% { color:#88f7ff; }
  25% { color:#b398ff; }
  50% { color:#ff71ce; }
  75% { color:#9bffc7; }
}

.cs-post .cs-hero-intro h1 > span {
  color:#88f7ff;
  text-shadow:0 0 8px currentColor,0 0 22px currentColor;
  animation:ev2n-work-dot-neon 12s ease-in-out infinite;
}
@media (prefers-reduced-motion:reduce) {
  .cs-post .cs-hero-intro h1 > span { animation:none; }
}

/* v1.1.042: Give Similar Projects its own lighter band; remove the two
   adjacent separators without affecting dividers elsewhere in the post. */
body.has-case-study .cs-post .cs-similar {
  position:relative;
  isolation:isolate;
  border-top:0;
  margin-top:0;
  padding-block:clamp(44px,5vw,72px);
}
body.has-case-study .cs-post .cs-similar::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#182d39;
}
body.has-case-study .cs-post .cs-section:has(+ .cs-similar),
body.has-case-study .cs-post .cs-features:has(+ .cs-similar),
body.has-case-study .cs-post .cs-overview:has(+ .cs-similar) {
  border-bottom:0;
}
@media(max-width:600px){
  body.has-case-study .cs-post .cs-similar{padding-block:40px;}
}

/* v1.1.043: Brand logo replaces the hero heading globally when uploaded. */
body.has-case-study .cs-post .cs-hero-intro h1.cs-hero-logo-title {
  display:flex;align-items:center;justify-content:flex-start;max-width:100%;
  margin:22px 0;min-height:clamp(70px,7vw,120px);
}
body.has-case-study .cs-post .cs-hero-brand-logo {
  display:block;width:auto;height:auto;max-width:100%;max-height:clamp(90px,9vw,150px);
  object-fit:contain;object-position:left center;
}
@media(max-width:600px){
 body.has-case-study .cs-post .cs-hero-brand-logo{max-height:110px;}
}
