@font-face{font-family:JetBrainsMono;src:url('/assets/jetbrains-mono-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:JetBrainsMono;src:url('/assets/jetbrains-mono-latin-700-normal.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{font-family:JetBrainsMono,'Courier New',monospace;color:#161616;background:#fff;font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
a{color:inherit;text-decoration:none}
button{font:inherit}
a:focus-visible,button:focus-visible{outline:2px solid #111;outline-offset:4px}
.site-shell{min-height:calc(100svh - 48px);max-width:1500px;margin:24px auto;border:1px solid #aaa;border-radius:4px;padding:30px 34px 23px;display:flex;flex-direction:column}
.site-header,.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.site-header{position:relative}
.wordmark{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:1.45rem;font-weight:700;line-height:1.1;letter-spacing:-.065em}
.wordmark img{width:40px;height:auto;max-height:28px;flex:none;display:block}
.site-header nav{display:flex;gap:28px;font-size:.75rem;padding-top:5px}
.menu-toggle{display:none}
.site-header nav a:hover,.detail-information a:hover{text-decoration:underline;text-underline-offset:5px}
.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:20px 0 50px}
.eyebrow{font-size:.75rem;letter-spacing:.025em}
h1{font-size:clamp(1.8rem,3.15vw,3.05rem);line-height:1.13;letter-spacing:-.055em;margin:11px 0 16px;font-weight:700}
.intro p,.detail-title p{font-size:.94rem;margin:0;line-height:1.5}
.section-heading{display:flex;justify-content:space-between;border-top:1px solid #cfcfcf;padding-top:12px;margin-bottom:20px;font-size:.75rem;letter-spacing:.04em}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.project-card{display:block;min-width:0}
.project-image{position:relative;background:#f4f4f4;aspect-ratio:16/9;overflow:hidden;border-radius:2px;border:1px solid #e9e9e9;display:grid;place-items:center;transition:border-color .2s ease}
.project-image img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.project-card:hover .project-image,.project-card:focus-visible .project-image{border-color:#aaa}
.project-image--empty>span:first-child{font-size:1.7rem;font-weight:700;letter-spacing:-.07em}
.project-index{font-size:.7rem;color:#777}
.project-card__line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:12px;margin-top:10px;font-size:.93rem}
.project-card__line strong{font-weight:700}
.project-card__arrow{font-size:1.2rem;transition:transform .2s}
.project-card:hover .project-card__arrow{transform:translate(2px,-2px)}
.project-card p{margin:1px 0 0;color:#555;font-size:.82rem;line-height:1.5}
.project-card__note{display:block;margin-top:8px;color:#777;font-size:.68rem;line-height:1.4}
.demo-badge{display:inline-block;margin-left:14px;padding:3px 9px;border:1px solid #d3d3d3;border-radius:2px;color:#777;font-size:.62rem;line-height:1.4;vertical-align:2px;white-space:nowrap}
.site-footer{display:flex;justify-content:space-between;gap:20px;margin-top:auto;padding-top:46px;font-size:.75rem;color:#626262}
.detail-shell{max-width:1500px}
.detail-header{align-items:center;font-size:.75rem}
.back-link{display:inline-flex;gap:10px;align-items:center;line-height:1.25}
.back-link svg{width:16px;height:16px;flex:none;display:block}
.back-link:hover .back-link__label{text-decoration:underline;text-underline-offset:5px}
.detail-actions{display:flex;align-items:center;gap:30px}
.original-link{border-bottom:1px solid #aaa;padding-bottom:5px}
.original-link:hover{border-bottom-color:#161616}
.original-link span{font-size:1rem;margin-left:8px}
.close-link{font-size:1.55rem;line-height:1;padding:0 2px}
.detail-title{margin-top:48px;margin-bottom:20px}
.detail-title h1{margin:5px 0 2px;font-size:clamp(2.1rem,3.3vw,3.4rem)}
.not-found{margin:auto 0;max-width:44ch;padding:48px 0}
.not-found h1{margin:14px 0 16px;font-size:clamp(2.1rem,3.3vw,3.4rem)}
.not-found p{font-size:.94rem;line-height:1.6;color:#444;margin:0 0 28px}
.preview-frame{height:clamp(420px,56vw,780px);border:1px solid #aaa;background:#f4f4f4;overflow:hidden;position:relative}
.preview-frame iframe{width:100%;height:100%;border:0;display:block;background:#fff}
.preview-frame:fullscreen,.preview-frame.is-expanded{height:100vh;border:0;background:#fff}
.preview-frame.is-expanded{position:fixed;inset:0;width:100vw;z-index:1000}
.preview-expanded{overflow:hidden}
.exit-preview{display:none;position:absolute;z-index:2;top:14px;right:14px;width:42px;height:42px;place-items:center;border:1px solid #aaa;background:#fff;color:#111;font-size:1.6rem;line-height:1;cursor:pointer}
.preview-frame:fullscreen .exit-preview,.preview-frame.is-expanded .exit-preview{display:grid}
.preview-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #d5d5d5;padding:12px 0;color:#777;font-size:.75rem}
.preview-tools button{background:transparent;border:0;padding:0;cursor:pointer;color:#161616}
.preview-tools button:hover{text-decoration:underline;text-underline-offset:4px}
.detail-information{display:grid;grid-template-columns:1fr 1fr;gap:44px;padding-top:30px;font-size:.9rem;line-height:1.7}
.detail-information>p{margin:0;max-width:58ch}
.detail-information dl{margin:0;max-width:500px;justify-self:end;width:100%}
.detail-information dl>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:20px}
.detail-information dt{font-size:.75rem}
.detail-information dd{margin:0;overflow-wrap:anywhere}
.mobile-original{display:none}
@media(max-width:960px) and (min-width:701px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.site-shell{min-height:calc(100svh - 24px);margin:12px;padding:20px 18px;border-color:#b8b8b8}.site-header nav{gap:14px;font-size:.68rem}.wordmark{font-size:1.35rem}.intro{margin:68px 0 40px;display:block}.intro h1{font-size:clamp(1.6rem,6vw,2.2rem)}.intro-aside{margin-top:30px}.project-grid{grid-template-columns:1fr;gap:25px}.section-heading{margin-bottom:16px}.project-card p{font-size:.75rem}.site-footer{flex-direction:column;gap:4px;padding-top:42px}.detail-header{font-size:.71rem}.detail-actions{gap:17px}.original-link{display:none}.detail-title{margin-top:40px}.detail-title h1{font-size:2rem}.preview-frame{height:min(64vh,530px);min-height:320px}.preview-tools span{display:none}.detail-information{display:block;padding-top:22px}.detail-information dl{margin-top:22px;justify-self:auto}.mobile-original{display:flex;justify-content:center;align-items:center;gap:14px;background:#161616;color:#fff;padding:17px 20px;margin-top:26px;font-size:.79rem;border-radius:2px}.mobile-original:hover{background:#333}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}.project-image,.project-card__arrow{transition:none}}

/* About and interactive projects share the site's quiet type and borders. */
.about-section,.games-section{margin-top:92px;scroll-margin-top:26px}
.games-section{max-width:1440px;margin-left:auto;margin-right:auto}
.about-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:64px;padding:16px 0 8px}
.about-copy h2,.games-section>h2{font-size:clamp(1.6rem,2.5vw,2.45rem);line-height:1.16;letter-spacing:-.05em;margin:0 0 20px}
.about-copy p{font-size:1rem;line-height:1.7;max-width:58ch;margin:0}
.games-section>h2{margin:20px 0 28px}
.games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.game-card{min-width:0;border:1px solid #cfcfcf;border-radius:2px;padding:24px;display:flex;flex-direction:column;align-items:stretch}
.game-card__header{display:flex;align-items:baseline;gap:18px}
.game-card__header>span{color:#777;font-size:.72rem;white-space:nowrap}
.game-card h3{font-size:1.35rem;letter-spacing:-.04em;line-height:1.2;margin:0}
.game-description{font-size:.82rem;color:#555;line-height:1.55;margin:9px 0 18px}
.ttt-toolbar{width:min(100%,310px);margin:0 auto 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.68rem}
.ttt-toolbar label{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#666}
.ttt-toolbar select{max-width:100px;min-height:44px;border:1px solid #aaa;background:#fff;color:#161616;padding:6px 5px;font:inherit;cursor:pointer}
.ttt-score{display:flex;gap:9px;color:#666;white-space:nowrap}
.ttt-score span{display:flex;align-items:center;gap:3px}
.ttt-score strong{color:#161616}
.ttt-board{width:min(100%,274px);aspect-ratio:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1px;background:#161616;border:1px solid #161616;margin:0 auto 21px}
.ttt-board button{min-width:0;min-height:0;border:0;background:#fff;font-size:2.35rem;font-weight:700;line-height:1;color:#161616;cursor:pointer}
.ttt-board button:hover:not([aria-disabled="true"]){background:#f0f0f0}
.ttt-board button[aria-disabled="true"]{cursor:default}
.ttt-board button.is-winning{background:#161616;color:#fff}
.ttt-board button:focus-visible{outline:2px solid #111;outline-offset:-5px}
.dice-stage,.slot-stage{width:100%;min-height:308px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;margin:0 auto 18px}
.die-face{width:184px;aspect-ratio:1;flex:none;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);place-items:center;padding:21px;border:2px solid #161616;border-radius:3px;transition:transform .25s ease}
.die-face [data-pip]{width:19px;aspect-ratio:1;border-radius:50%;background:#161616;opacity:0}
.die-face[data-value="1"] [data-faces~="1"],.die-face[data-value="2"] [data-faces~="2"],.die-face[data-value="3"] [data-faces~="3"],.die-face[data-value="4"] [data-faces~="4"],.die-face[data-value="5"] [data-faces~="5"],.die-face[data-value="6"] [data-faces~="6"]{opacity:1}
.die-face.is-rolling{transform:rotate(-8deg) scale(.95)}
.game-stage__stat{display:flex;align-items:baseline;gap:8px;font-size:.7rem;color:#666;letter-spacing:.02em}
.game-stage__stat strong{font-size:.95rem;color:#161616}
.slot-reels{width:min(100%,302px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.slot-reels [data-reel]{min-width:0;aspect-ratio:1;border:1px solid #aaa;display:grid;place-items:center;font-family:Arial,system-ui,sans-serif;font-size:3.2rem;line-height:1;transition:opacity .12s,background .12s,color .12s}
.slot-reels [data-reel].is-spinning{opacity:.45}
.slot-reels [data-reel].is-match{background:#161616;border-color:#161616;color:#fff}
.game-card__footer{border-top:1px solid #d3d3d3;padding-top:16px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:57px}
.game-card__footer p{font-size:.78rem;line-height:1.45;margin:0;min-height:1.4em}
.game-action{flex:none;min-height:44px;border:1px solid #161616;background:#161616;color:#fff;padding:10px 13px;font-size:.75rem;cursor:pointer;transition:background .2s ease,color .2s ease}
.game-action:hover:not([aria-disabled="true"]):not(:disabled){background:#fff;color:#161616}
.game-action[aria-disabled="true"]{opacity:.55;cursor:wait}
.game-action:focus-visible,.ttt-toolbar select:focus-visible,.game-2048-controls button:focus-visible{outline:2px solid #111;outline-offset:3px}
.game-2048-toolbar{width:min(100%,320px);margin:0 auto 10px;display:flex;align-items:baseline;justify-content:space-between;gap:14px;font-size:.72rem}
.game-2048-toolbar span{display:flex;align-items:baseline;gap:9px}
.game-2048-toolbar strong{font-size:1.2rem}
.game-2048-board{width:min(100%,320px);aspect-ratio:1;margin:0 auto 11px;padding:6px;background:#c9c9c9;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:6px;outline-offset:4px}
.game-2048-cell{min-width:0;min-height:0;overflow:hidden;white-space:nowrap;display:grid;place-items:center;background:#eee;color:#161616;font-size:clamp(1rem,2.3vw,1.65rem);font-weight:700;letter-spacing:-.06em;line-height:1}
.game-2048-cell.is-large{font-size:clamp(.8rem,1.9vw,1.25rem)}
.game-2048-cell.is-very-large{font-size:clamp(.65rem,1.4vw,1rem)}
.game-2048-controls{width:min(100%,320px);margin:0 auto 18px;display:flex;justify-content:center;gap:7px}
.game-2048-controls button{width:44px;height:44px;border:1px solid #aaa;background:#fff;color:#161616;font-size:1.15rem;line-height:1;cursor:pointer}
.game-2048-controls button:hover:not(:disabled){background:#161616;color:#fff;border-color:#161616}
.game-2048-controls button:disabled{opacity:.45;cursor:default}
.game-2048-cell[data-value="2"]{background:#fff}
.game-2048-cell[data-value="4"]{background:#e5e5e5}
.game-2048-cell[data-value="8"]{background:#d2d2d2}
.game-2048-cell[data-value="16"]{background:#bdbdbd}
.game-2048-cell[data-value="32"]{background:#a8a8a8}
.game-2048-cell[data-value="64"]{background:#929292}
.game-2048-cell[data-value="128"],.game-2048-cell[data-value="256"]{background:#707070;color:#fff}
.game-2048-cell[data-value="512"],.game-2048-cell[data-value="1024"]{background:#454545;color:#fff}
.game-2048-cell[data-value="2048"]{background:#161616;color:#fff}
.game-2048-cell[data-value="4096"],.game-2048-cell[data-value="8192"]{background:#000;color:#fff}
@media(max-width:900px){.about-grid{gap:32px}}
@media(max-width:700px){
  .site-header .menu-toggle{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:2px 0;font-size:.75rem;cursor:pointer}
  .site-header .menu-toggle span{font-size:1.2rem;line-height:1}
  .site-header nav{display:none;position:absolute;right:0;top:34px;z-index:5;min-width:162px;padding:13px 15px;border:1px solid #aaa;background:#fff;flex-direction:column;gap:15px;font-size:.75rem}
  .site-header nav.is-open{display:flex}
  .about-section,.games-section{margin-top:72px}
  .about-grid{grid-template-columns:1fr;gap:30px}
  .about-copy h2,.games-section>h2{font-size:1.7rem}
  .about-copy p{font-size:.94rem}
  .games-grid{grid-template-columns:1fr;gap:16px}
  .game-card{padding:18px}
  .game-card h3{font-size:1.18rem}
  .game-description{font-size:.78rem}
  .game-card__footer{gap:10px}
  .game-card__footer p{font-size:.75rem}
  .ttt-toolbar{flex-wrap:wrap;justify-content:center;gap:9px 16px}
  .dice-stage,.slot-stage{min-height:255px}
  .die-face{width:168px;padding:19px}
  .slot-reels [data-reel]{font-size:clamp(2rem,10vw,2.8rem)}
  .game-2048-cell{font-size:clamp(.95rem,5vw,1.4rem)}
  .game-2048-cell.is-large{font-size:clamp(.8rem,4vw,1.1rem)}
  .game-2048-cell.is-very-large{font-size:clamp(.62rem,3vw,.85rem)}
}
@media(prefers-reduced-motion:reduce){.die-face,.slot-reels [data-reel],.game-action{transition:none}}

/* Client-first introduction, services and contact. */
.site-shell:not(.detail-shell){max-width:none;min-height:calc(100svh - 4px);margin:2px auto;padding:clamp(24px,2.7vw,54px) clamp(24px,4.4vw,90px) 28px;border-radius:0;border-left:0;border-right:0}
.site-shell:not(.detail-shell) .wordmark{font-size:clamp(1.45rem,1.5vw,1.9rem)}
.site-shell:not(.detail-shell) .site-header nav{font-size:clamp(.78rem,.93vw,1.14rem);gap:clamp(22px,2.2vw,44px)}
.hero-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:550px;margin:50px 0 62px}
.hero-layout .intro{min-width:0;margin:0;padding:68px 54px 56px 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}
.hero-layout .intro h1{font-size:clamp(2.4rem,3.9vw,5.2rem);line-height:1.12;letter-spacing:-.06em;margin:20px 0 26px}
.hero-layout .intro p{font-size:clamp(.95rem,1.12vw,1.35rem);line-height:1.55;max-width:35ch}
.hero-layout .view-work{margin-top:44px;font-size:clamp(.88rem,1vw,1.16rem);color:#161616;display:inline-flex;align-items:center;gap:24px;border-bottom:1px solid #161616;padding-bottom:7px}
.hero-layout .view-work:hover{color:#555}
.hero-layout .view-work span{font-size:1.35em}
.hero-offerings{min-width:0;border-left:1px solid #ccc;padding:68px 0 40px clamp(32px,4vw,76px);display:flex;flex-direction:column}
.hero-offerings__heading{display:flex;justify-content:space-between;gap:20px;font-size:.75rem;color:#666;margin-bottom:22px}
.hero-offerings article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:18px;align-items:start;border-top:1px solid #d3d3d3;padding:24px 0;min-width:0}
.hero-offerings article>span{font-size:.74rem;color:#777;padding-top:5px}
.hero-offerings h2{font-size:clamp(1.08rem,1.45vw,1.55rem);line-height:1.22;letter-spacing:-.04em;margin:0 0 10px}
.hero-offerings article p{font-size:.78rem;line-height:1.55;color:#555;margin:0;max-width:42ch}
.hero-offerings strong{font-size:.8rem;white-space:nowrap;padding-top:5px}
.services-section,.works,.contact-section{scroll-margin-top:26px}
.services-section{margin-bottom:80px}
.services-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,7vw,130px);padding:12px 0 4px}
.services-grid h2,.contact-intro h2{font-size:clamp(1.6rem,2.5vw,2.45rem);line-height:1.16;letter-spacing:-.05em;margin:0 0 17px}
.services-grid h3{font-size:1rem;line-height:1.4;margin:0 0 12px}
.services-grid p{font-size:.85rem;line-height:1.7;color:#444;margin:0;max-width:56ch}
.services-grid ul{padding-left:22px;margin:0 0 16px;font-size:.82rem;line-height:1.8}
.services-extra{grid-column:1/-1;border-top:1px solid #cfcfcf;padding-top:20px}
.services-extra p{max-width:74ch}
.tech-block{border-left:1px solid #cfcfcf;padding-left:30px;min-width:0}
.tech-block p{font-size:.82rem;line-height:1.7;color:#555;margin:14px 0 0;overflow-wrap:anywhere}
.contact-section{margin-top:92px}
.contact-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(30px,8vw,140px);padding-top:14px}
.contact-intro p{font-size:.86rem;line-height:1.7;max-width:43ch;color:#444}
.contact-intro a{font-weight:700;border-bottom:1px solid #888;overflow-wrap:anywhere}
.contact-intro a:hover{border-color:#111}
.enquiry-form{min-width:0;display:grid;gap:18px}
.enquiry-form label{display:grid;gap:9px;font-size:.77rem;line-height:1.45;font-weight:700;min-width:0}
.enquiry-form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.enquiry-form input,.enquiry-form select,.enquiry-form textarea{width:100%;min-width:0;border:1px solid #aaa;border-radius:2px;background:#fff;color:#161616;padding:13px 14px;font:inherit;font-size:.82rem;font-weight:400;line-height:1.5}
.enquiry-form textarea{resize:vertical;min-height:142px}
.enquiry-form input:focus-visible,.enquiry-form select:focus-visible,.enquiry-form textarea:focus-visible{outline:2px solid #111;outline-offset:2px}
.enquiry-form__footer{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.enquiry-form__footer button{background:#161616;color:#fff;border:1px solid #161616;padding:15px 22px;font-size:.8rem;cursor:pointer}
.enquiry-form__footer button:hover:not(:disabled){background:#333}
.enquiry-form__footer button:disabled{opacity:.55;cursor:wait}
.form-status{font-size:.77rem;line-height:1.5;min-height:1.5em;margin:0}
.form-status--success{color:#216145}
.form-status--error{color:#9d2222}
.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:1100px){.hero-offerings article{grid-template-columns:28px minmax(0,1fr);gap:12px}.hero-offerings strong{grid-column:2;padding-top:0}}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr;min-height:0;margin-top:36px}.hero-layout .intro{min-height:390px;padding:48px 0 52px}.hero-layout .intro h1{max-width:740px}.hero-offerings{border-left:0;border-top:1px solid #ccc;padding:35px 0 0}.hero-offerings article{grid-template-columns:38px minmax(0,1fr) auto}.hero-offerings strong{grid-column:3;padding-top:5px}.contact-grid{gap:30px}}
@media(max-width:700px){
  .site-shell:not(.detail-shell){margin:0;padding:24px 18px;border:0}
  .hero-layout{margin:38px 0 38px}
  .hero-layout .intro{order:0;margin:0;min-height:0;padding:24px 0 50px}
  .hero-layout .intro h1{font-size:clamp(2.15rem,9vw,3.25rem);line-height:1.16;margin:15px 0 18px}
  .hero-layout .intro p{font-size:.9rem}
  .hero-layout .view-work{margin-top:46px;font-size:.85rem}
  .hero-offerings{order:1;padding-top:25px}
  .hero-offerings__heading{font-size:.68rem}
  .hero-offerings article{grid-template-columns:28px minmax(0,1fr);gap:12px;padding:19px 0}
  .hero-offerings article strong{grid-column:2;padding-top:0}
  .hero-offerings h2{font-size:1.1rem}
  .services-section{margin-bottom:62px}
  .services-grid,.contact-grid{grid-template-columns:1fr;gap:27px}
  .about-grid{grid-template-columns:1fr;gap:27px}
  .tech-block{border-left:0;border-top:1px solid #cfcfcf;padding:20px 0 0}
  .contact-section{margin-top:70px}
  .enquiry-form__row{grid-template-columns:1fr}
  .site-shell:not(.detail-shell)>main{display:block}
}
/* Project case studies share the restrained portfolio language. */
.case-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,4vw,64px);align-items:center;margin:52px 0 0}
.case-hero__copy h1{margin:10px 0 14px;font-size:clamp(2.1rem,3.3vw,3.4rem)}
.case-positioning{font-size:.94rem;line-height:1.65;margin:0;max-width:44ch;color:#333}
.case-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:28px}
.case-cta{display:inline-flex;align-items:center;justify-content:center;font-size:.79rem;letter-spacing:.02em;border-radius:2px;transition:background .2s ease,color .2s ease,border-color .2s ease}
.case-cta--primary{background:#161616;color:#fff;border:1px solid #161616;padding:14px 22px}
.case-cta--primary:hover{background:#333;border-color:#333}
.case-cta--ghost{background:transparent;color:#161616;border:1px solid #aaa;padding:14px 22px}
.case-cta--ghost:hover{border-color:#161616}
.case-cta--large{padding:17px 30px;font-size:.86rem}
.case-cta--narrow{display:none}
.case-hero__media{margin:0;min-width:0}
.case-loop{width:100%;display:block;aspect-ratio:16/9;object-fit:contain;background:#f4f4f4;border:1px solid #aaa;border-radius:2px}
.case-chapters{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;margin-top:64px;padding:18px 0;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf}
.case-chapters__label{font-size:.64rem;letter-spacing:.08em;color:#777;margin-right:auto}
.case-chapters a{display:inline-flex;align-items:center;gap:7px;font-size:.71rem;color:#333;padding:5px 0;border-bottom:1px solid transparent;white-space:nowrap}
.case-chapters a span{font-size:.61rem;color:#888}
.case-chapters a:hover,.case-chapters a:focus-visible{color:#111;border-color:#111}
.case-problem,.case-design,.case-pillars,.case-journey,.case-shots,.case-demo,.case-tech,.case-limits{margin-top:76px;scroll-margin-top:24px}
.case-shell h2{font-size:clamp(1.6rem,2.5vw,2.45rem);line-height:1.16;letter-spacing:-.05em;margin:20px 0 16px}
.case-problem p,.case-design p,.case-limits p{font-size:.94rem;line-height:1.75;max-width:68ch;margin:0;color:#333}
.case-design__palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:26px}
.case-design__swatch{min-width:0;display:grid;gap:10px;font-size:.79rem;font-weight:700}
.case-design__color{display:block;height:74px;border:1px solid #d8dcd8;border-radius:2px}
.case-design__swatch small{display:block;margin-top:3px;font-size:.67rem;font-weight:400;color:#777}
.case-pillar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:20px}
.case-pillar{min-width:0;border:1px solid #cfcfcf;border-radius:2px;padding:24px}
.case-pillar__index{font-size:.72rem;color:#777}
.case-pillar h3{font-size:1.15rem;letter-spacing:-.04em;line-height:1.25;margin:12px 0 10px}
.case-pillar p{font-size:.82rem;line-height:1.6;color:#555;margin:0}
.case-journey__intro{font-size:.94rem;line-height:1.75;max-width:68ch;color:#333;margin:0 0 30px}
.case-journey__steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0;margin:0;padding:0;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf}
.case-journey__steps li{min-width:0;padding:26px 24px 30px 0;margin-right:24px;border-right:1px solid #ddd}
.case-journey__steps li:last-child{border-right:0;margin-right:0}
.case-journey__number{font-size:.68rem;color:#777}
.case-journey__steps h3{font-size:1rem;letter-spacing:-.035em;line-height:1.3;margin:16px 0 8px}
.case-journey__steps p{font-size:.8rem;line-height:1.62;color:#555;margin:0}
.case-shot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.case-shot-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.case-shot{min-width:0;margin:0}
.case-shot__frame{aspect-ratio:8/5;background:#f4f4f4;border:1px solid #e9e9e9;border-radius:2px;overflow:hidden}
.case-shot-grid--two .case-shot__frame{aspect-ratio:4/3}
.case-shot__frame img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.case-shot__frame--contain{padding:14px;background:#edf3ed}
.case-shot__frame--contain img{object-fit:contain;object-position:center}
.case-shot figcaption{font-size:.75rem;color:#777;margin-top:10px;line-height:1.5}
.case-demo__standalone{color:#161616}
.case-demo__standalone:hover{text-decoration:underline;text-underline-offset:4px}
.case-tech__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 40px;font-size:.82rem;line-height:1.6}
.case-tech__list li{min-width:0;border-bottom:1px solid #ebebeb;padding-bottom:9px;color:#333;overflow-wrap:anywhere}
.case-final{margin-top:84px;padding:52px 0 20px;border-top:1px solid #cfcfcf;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.case-final__secondary{font-size:.72rem;color:#777;border-bottom:1px solid #d5d5d5;padding-bottom:2px}
.case-final__secondary:hover{color:#161616;border-color:#aaa}
@media(max-width:900px){
  .case-hero{grid-template-columns:1fr;gap:32px;margin-top:44px}
  .case-cta--wide{display:none}
  .case-cta--narrow{display:inline-flex}
}
@media(max-width:700px){
  .case-hero{margin-top:36px}
  .case-hero__copy h1{font-size:2rem;margin:8px 0 12px}
  .case-positioning{font-size:.88rem}
  .case-hero__actions{gap:12px;margin-top:24px}
  .case-cta{width:100%;text-align:center}
  .case-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:44px;padding:17px 0}
  .case-chapters__label{grid-column:1/-1;margin:0 0 3px}
  .case-chapters a{font-size:.69rem;white-space:normal}
  .case-problem,.case-design,.case-pillars,.case-journey,.case-shots,.case-demo,.case-tech,.case-limits{margin-top:56px}
  .case-shell h2{font-size:1.7rem}
  .case-design__palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .case-pillar-grid,.case-shot-grid,.case-shot-grid--two,.case-tech__list{grid-template-columns:minmax(0,1fr)}
  .case-journey__steps{grid-template-columns:minmax(0,1fr)}
  .case-journey__steps li{margin-right:0;padding:20px 0;border-right:0;border-bottom:1px solid #ddd}
  .case-journey__steps li:last-child{border-bottom:0}
  .case-shot-grid--two .case-shot__frame--portrait{aspect-ratio:3/4}
  .case-pillar{padding:18px}
  .case-shell .preview-tools{flex-direction:column;align-items:flex-start;gap:8px}
  .case-shell .preview-tools span{display:block;line-height:1.6}
  .case-final{margin-top:60px;padding:40px 0 12px}
}
@media(prefers-reduced-motion:reduce){.case-cta{transition:none}}
