*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#ececec;color:#070a0e;font:400 16px/1.45 Geist,Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid #c90c16;outline-offset:4px}img{display:block;width:100%;height:auto}figure,p,h1,h2{margin:0}.wrap{width:min(100% - 64px,1550px);margin:auto}.bar{position:sticky;z-index:10;top:12px;margin:12px auto 0;width:min(100% - 48px,1550px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:16px;padding:12px 18px;min-height:56px}.brand{font-size:22px;letter-spacing:-.04em;font-weight:500}.brand small{font-size:12px;letter-spacing:0}.back{font-size:14px}.intro{padding:72px 0 110px}.eyebrow{display:flex;justify-content:space-between;color:#8e8e8e;font-size:14px}.eyebrow span:first-child{color:inherit;display:flex;align-items:center;gap:8px}.eyebrow i{width:12px;height:16px;border-right:2px solid #c90c16;background:linear-gradient(90deg,transparent 0 25%,#eeb4b6 25% 35%,transparent 35% 55%,#db555a 55% 65%,transparent 65%)}h1{font-weight:500;font-size:clamp(92px,17vw,240px);line-height:1;letter-spacing:-.075em;margin:42px 0 36px}h1 span,.wordmark span{color:#c90c16}.introgrid{display:grid;grid-template-columns:1fr 1.45fr;gap:45px;margin-bottom:54px}.meta{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:14px 20px;max-width:380px;font-size:15px}.meta span{color:#8e8e8e}h2{font-weight:500;font-size:clamp(33px,4.2vw,64px);letter-spacing:-.045em;line-height:1.08}.lead,.split p{max-width:590px;margin:22px 0;color:#686868;font-size:18px}.button{display:inline-flex;gap:26px;align-items:center;justify-content:space-between;background:#121212;color:#fff;border:0;border-radius:12px;padding:6px 6px 6px 18px;font-size:15px;font-weight:500;min-height:50px}.button b{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#fff;color:#c90c16;font-size:21px;transition:background .2s,color .2s}.button:hover b{background:#c90c16;color:#fff}figure img{border-radius:8px}figcaption{display:flex;justify-content:space-between;gap:10px;padding:10px 2px;color:#777;font-size:13px}.mainvisual{background:white;border-radius:16px;padding:8px}.details{padding:35px 0 110px}.split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:55px 0}.phone{max-width:350px;justify-self:center;background:#fff;border-radius:20px;padding:8px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pair figure{background:#fff;padding:8px;border-radius:16px}.demoband{background:#121212;color:#fff;padding:90px 0 100px;scroll-margin-top:85px}.demointro{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:40px 0}.demointro p{color:#b5b5b5;max-width:420px}.demotools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.modes{display:flex;gap:6px}.modes button{background:transparent;color:#ddd;border:1px solid #555;border-radius:8px;padding:8px 15px}.modes button[aria-pressed=true]{background:#fff;color:#121212;border-color:#fff}.viewer{position:relative;margin:auto;background:#0e0e0e;border:1px solid #444;border-radius:16px;padding:6px;overflow:hidden;max-width:100%;transition:max-width .3s}.viewer iframe{display:block;width:100%;height:clamp(500px,75vh,900px);border:0;border-radius:10px;background:#121212}.viewer img{border-radius:10px}.viewer.mobile{max-width:390px}.viewer.mobile iframe{height:min(760px,78vh)}#launch{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 4px 40px #0008;white-space:nowrap}.status{color:#b5b5b5;font-size:13px;margin-top:12px}.credits{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:65px 0}.credits p{max-width:760px;color:#686868;font-size:14px}footer{background:#121212;color:#fff;padding:45px 0 25px}.footlinks{display:flex;gap:25px;justify-content:flex-end}.wordmark{font-size:clamp(78px,21vw,300px);letter-spacing:-.085em;font-weight:500;line-height:1.1;margin:20px 0}footer p{color:#a0a0a0;font-size:13px}@media(max-width:809.98px){.wrap{width:calc(100% - 32px)}.bar{width:calc(100% - 24px);top:6px}.brand small{display:none}.intro{padding:45px 0 65px}h1{font-size:clamp(77px,22vw,140px);margin:32px 0}.introgrid,.split,.pair,.demointro{grid-template-columns:1fr;gap:24px}.meta{gap:8px 16px}.lead,.split p{font-size:16px}.details{padding:10px 0 60px}.split{padding:28px 0}.phone{max-width:310px}.demoband{padding:55px 0}.demointro{margin:26px 0}.demotools{flex-wrap:wrap}.viewer iframe{height:65vh;min-height:420px}.credits{padding:40px 0;flex-direction:column;align-items:flex-start}.footlinks{justify-content:flex-start}.wordmark{font-size:22vw}figcaption{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.viewer,.button b{transition:none}}
/* V7.5: independent preview viewport, without changes to the demo. */
.viewer.mobile{max-width:404px}.viewer>img{height:auto;max-width:100%}.viewer .preview-stage{position:relative;width:100%;overflow:hidden;border-radius:10px}.viewer .preview-stage iframe{position:absolute;inset:0 auto auto 0;max-width:none;min-width:0;min-height:0;transform-origin:top left;border-radius:0;display:block;border:0}.viewer .preview-stage:focus-within{outline:1px solid #777;outline-offset:-1px}

/* V7.6: compact smartphone preview, preserving its full aspect ratio. */
@media(max-width:809.98px){
  .viewer.mobile{max-width:min(260px, calc(25.4vh + 14px));max-width:min(260px, calc(25.4svh + 14px));}
  .viewer.mobile #launch{min-height:42px;padding:5px 5px 5px 12px;gap:12px;font-size:13px;}
  .viewer.mobile #launch b{width:32px;height:32px;font-size:18px;}
}
/* V7.8: mobile presentation only; original demos and their inner viewports are unchanged. */
@media(max-width:809.98px){
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:76px}
 .bar{gap:12px;min-height:54px;padding:7px 13px}.bar a{display:flex;align-items:center;min-height:44px}.brand{white-space:nowrap}
 .intro{padding:34px 0 52px}h1{font-size:clamp(52px,16vw,105px);line-height:.99;letter-spacing:-.065em;margin:26px 0 28px;overflow-wrap:normal}h2{font-size:clamp(27px,7.4vw,42px);line-height:1.12}.introgrid{gap:22px;margin-bottom:32px}.details{padding-bottom:45px}.split{padding:22px 0;gap:18px}.phone{width:min(100%,240px)}.pair{gap:12px}.lead,.split p{line-height:1.48;margin:16px 0}
 .demoband{padding:44px 0 48px;scroll-margin-top:10px}.demointro{gap:13px;margin:23px 0}.demotools{gap:10px}.modes button{min-height:44px;padding:8px 12px}#newtab{min-height:44px;display:flex;align-items:center;font-size:13px}#newtab[hidden]{display:none}.credits{gap:20px;padding:34px 0}.wordmark{font-size:clamp(65px,21vw,145px)}
}
@media(max-width:359px){.wrap{width:calc(100% - 24px)}.bar{width:calc(100% - 16px)}.demotools{gap:6px}.modes button{padding-inline:10px}.back{font-size:13px}}

/* V8.3 — retain the real cover while the embedded demo is loading. */
.viewer .preview-stage.is-loading{position:absolute;inset:6px;opacity:0;pointer-events:none}.viewer #launch[disabled]{cursor:wait}.viewer .preview-stage:not(.is-loading){position:relative;inset:auto;opacity:1}

/* V13: narrow portfolio presentation, without changing embedded demo dimensions. */
@media(max-width:809.98px){
 .introgrid,.split,.pair,.demointro{grid-template-columns:minmax(0,1fr)}
 .intro h1{overflow-wrap:anywhere}
 .demotools{min-width:0;align-items:center}
 .demotools .modes{max-width:100%;flex-wrap:wrap}
 .demotools #newtab{max-width:100%;overflow-wrap:anywhere}
 .demotools #newtab svg{flex:none}
 figcaption{flex-wrap:wrap;overflow-wrap:anywhere}
 .viewer.mobile #launch{min-height:44px}
}
@media(max-width:359px){
 .intro h1{font-size:clamp(42px,15.5vw,56px)}
 .bar .back{min-width:0;white-space:normal}
}

/* V14: a clear next step in the existing project closing section. */
.credits .ads-project-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 24px;min-width:0}
.credits .ads-project-return{font-size:14px;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.credits .ads-project-actions .button{max-width:100%;gap:16px;white-space:normal}
.credits .ads-project-actions .button b{flex:none}
@media(max-width:809.98px){.credits .ads-project-actions{justify-content:flex-start}.credits .ads-project-actions .button{order:-1}}
