/* DEADEYE Studio page, /deadeye-studio (owner 2026-11-26 23:11 «Build it, but until "Drag to see the difference" and the
   smallprint underneath and the Font and logo needs to be the same as in the picture used for the entrance image on discord»).
   Type and mark = the Studio entrance picture (saul/assets/studio/studio_entrance.png, design
   saul/assets/design/studio_entrance_20261125/project/B_Art.dc.html): Barlow Condensed 700 .08em for DEADEYE STUDIO,
   600 .22em for POSE · LIGHT · SNAP, JetBrains Mono 600 amber #E3A04F for labels, cyan #05C7FC, the 6-blade aperture.
   Private family names, like dossier.css: declaring the real names here would restyle every page. */
@font-face { font-family: "StBarlow"; font-weight: 600; font-display: swap; src: url(fonts/BarlowCondensed-latin-600.woff2) format("woff2"); }
@font-face { font-family: "StBarlow"; font-weight: 700; font-display: swap; src: url(fonts/BarlowCondensed-latin-700.woff2) format("woff2"); }
@font-face { font-family: "StInter"; font-weight: 400 700; font-display: swap; src: url(fonts/Inter-latin-var.woff2) format("woff2"); }
@font-face { font-family: "StMono"; font-weight: 400 700; font-display: swap; src: url(fonts/JetBrainsMono-latin-var.woff2) format("woff2"); }

#view-studio { --st-cy: #05C7FC; --st-cy-hot: #6FE3FF; --st-am: #E3A04F; --st-wh: #E8F1FA; --st-tag: #B8C7D6;
               --st-d: "StBarlow", var(--f-display); --st-b: "StInter", var(--f-body); --st-m: "StMono", var(--f-mono);
               font-family: var(--st-b); }
.st-col { max-width: 1240px; margin: 0 auto; padding: 0 44px 64px; }

/* reveal on scroll: only once studio.js runs (st-js), so the page is complete without script */
#view-studio.st-js .st-rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
#view-studio.st-js .st-rv.in { opacity: 1; transform: none; }

/* ── hero ── */
.st-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; padding: 52px 0 30px; }
/* two columns from 901px up: a min-width block, so the max-width blocks of the site's CSS keep running descending (shell_check) */
@media (min-width: 901px) { .st-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; } }
.st-tag { margin: 0 0 16px; font: 600 22px/1 var(--st-d); letter-spacing: .22em; color: var(--st-tag); text-transform: uppercase; }
.st-tag span { display: inline-block; opacity: 0; animation: st-word .6s ease forwards; }
.st-tag span:nth-of-type(2) { animation-delay: .25s } .st-tag span:nth-of-type(3) { animation-delay: .5s }
.st-tag i { font-style: normal; }
@keyframes st-word { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.st-lockup { display: flex; align-items: center; gap: 18px; margin: 0; }
.st-mark { width: 64px; height: 64px; flex: 0 0 64px; animation: st-spin 16s linear infinite;
           filter: drop-shadow(0 0 10px rgba(5,199,252,.45)); }
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-title { margin: 0; font: 700 clamp(40px, 4.1vw, 66px)/1 var(--st-d); letter-spacing: .08em; color: var(--st-wh); white-space: nowrap; }
/* one line beside the mark, as on the entrance picture: the line is 7 font-sizes wide (measured there: 446 px at 64 px),
   the mark and its gap 82 px, so the size follows the column (container units; the clamp above is the fallback) */
@supports (font-size: 1cqi) { .st-title { font-size: min(66px, calc((100cqi - 84px) / 7.1)); } }
.st-copy { min-width: 0; container-type: inline-size; }
.st-title .w1 { color: var(--st-wh); }
.st-title .w2 { color: var(--st-cy);
  background: linear-gradient(100deg, var(--st-cy) 0%, var(--st-cy) 40%, #FFFFFF 50%, var(--st-cy) 60%, var(--st-cy) 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: st-shine 5.5s ease-in-out infinite; }
@keyframes st-shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
.st-lede { margin: 24px 0 0; font-size: 17px; line-height: 1.65; color: var(--text); max-width: 46ch; text-wrap: pretty; }
.st-lede b { color: var(--text-hi); }

.st-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.st-btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box;
          font: 700 18px/1 var(--st-d); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
          color: #EFFBFF; border: 1px solid #22B8F0; border-radius: 10px; padding: 14px 26px; overflow: hidden;
          background: linear-gradient(180deg, #0A86C8, #064A86); box-shadow: 0 8px 30px rgba(5,140,220,.35);
          animation: st-pulse 2.8s ease-out infinite; transition: transform .15s, filter .15s; }
.st-btn::after { content: ""; position: absolute; inset: 0; pointer-events: none;
                 background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
                 transform: translateX(-120%); animation: st-sweep 3.6s ease-in-out infinite 1s; }
.st-btn:hover, .st-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.15); }
.st-bmark { width: 24px; height: 24px; flex: 0 0 24px; }
.st-btn:hover .st-bmark { animation: st-spin 1.2s linear infinite; }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(5,199,252,.45), 0 8px 30px rgba(5,140,220,.35); }
                      70%, 100% { box-shadow: 0 0 0 16px rgba(5,199,252,0), 0 8px 30px rgba(5,140,220,.35); } }
@keyframes st-sweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.st-chan { font: 400 12px var(--st-m); color: var(--text-dim); }

.st-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; }
.st-chips li { display: flex; align-items: baseline; gap: 7px; padding: 8px 14px; border: 1px solid var(--line-hi); border-radius: 999px;
               font: 600 11.5px var(--st-m); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
               background: rgba(5,199,252,.05); }
.st-chips b { font: 700 18px/1 var(--st-d); letter-spacing: .06em; color: var(--text-hi); }

/* viewfinder */
.st-vf { position: relative; aspect-ratio: 4 / 5; justify-self: center; width: 100%; max-width: 496px;
         border-radius: 6px; overflow: hidden; background: #02060D;
         box-shadow: 0 0 0 1px rgba(5,199,252,.25), 0 30px 80px rgba(0,0,0,.6), 0 0 120px rgba(5,199,252,.12); }
.st-vf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.st-vf img.on { opacity: 1; animation: st-kb 7s ease-out forwards; }
@keyframes st-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.st-vf::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
                 background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%); }
.st-hud { position: absolute; inset: 16px; z-index: 3; pointer-events: none; font: 600 11px var(--st-m);
          letter-spacing: .18em; color: rgba(239,251,255,.9); text-transform: uppercase; text-shadow: 0 1px 3px #000; }
.st-hud .c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(239,251,255,.85); }
.st-hud .tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.st-hud .tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.st-hud .bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.st-hud .br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.st-hud .rec { position: absolute; top: 6px; left: 40px; display: flex; align-items: center; gap: 8px; }
.st-hud .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF3B4E; box-shadow: 0 0 8px #FF3B4E;
                       animation: st-blink 1.2s steps(2, start) infinite; }
@keyframes st-blink { to { visibility: hidden; } }
.st-hud .res { position: absolute; top: 6px; right: 40px; color: var(--st-cy-hot); }
.st-hud .who { position: absolute; bottom: 6px; left: 40px; font: 700 22px/1 var(--st-d); letter-spacing: .12em; color: #fff; }
.st-hud .num { position: absolute; bottom: 6px; right: 40px; color: var(--st-am); }
.st-focus { position: absolute; left: 50%; top: 38%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
            border: 1.5px solid var(--st-cy-hot); border-radius: 4px; opacity: 0; }
.st-vf.snap .st-focus { animation: st-focus .9s ease-out; }
@keyframes st-focus { 0% { opacity: 0; transform: scale(1.8); } 35% { opacity: 1; transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; } }
.st-flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
.st-vf.snap .st-flash { animation: st-flash .35s ease-out; }
@keyframes st-flash { 0% { opacity: .5; } 100% { opacity: 0; } }

/* ── Quick Snap vs Studio Render ── */
.st-sec { margin-top: 90px; }
.st-sec-head { margin-bottom: 34px; }
.st-kicker { margin: 0 0 12px; font: 600 13px var(--st-m); letter-spacing: .2em; text-transform: uppercase; color: var(--st-am); }
.st-sec h3 { margin: 0; font: 700 clamp(34px, 3.8vw, 52px)/1.02 var(--st-d); letter-spacing: .06em; color: var(--st-wh); text-transform: uppercase; }
.st-sec-head p:last-child { margin: 14px 0 0; max-width: 62ch; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.st-compare { position: relative; --pos: 50%; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto; border-radius: 8px; overflow: hidden;
              background: #0B0714; box-shadow: 0 0 0 1px rgba(5,199,252,.25), 0 30px 90px rgba(0,0,0,.55); user-select: none; }
.st-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.st-compare .render { z-index: 0; }
.st-compare .snap { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.st-compare .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff;
                    box-shadow: 0 0 14px rgba(5,199,252,.9); pointer-events: none; }
.st-compare .knob { position: absolute; top: 50%; left: var(--pos); width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%;
                    background: rgba(2,10,20,.75); border: 2px solid #fff; box-shadow: 0 0 20px rgba(5,199,252,.8); display: grid; place-items: center;
                    pointer-events: none; }
.st-compare .knob svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-compare .lab { position: absolute; top: 18px; padding: 7px 12px; border-radius: 6px; font: 600 12px var(--st-m);
                   letter-spacing: .2em; text-transform: uppercase; background: rgba(2,8,16,.72); color: var(--text-hi); pointer-events: none; }
.st-compare .lab.l { left: 18px; } .st-compare .lab.r { right: 18px; color: var(--st-cy-hot); }
.st-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.st-compare input:focus-visible ~ .knob { outline: 3px solid var(--st-cy-hot); outline-offset: 3px; }
.st-pairs { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.st-pairs button { font: 700 15px/1 var(--st-d); letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px;
                   min-height: 44px; border-radius: 999px; border: 1px solid var(--line-hi); background: none; color: var(--text-dim); cursor: pointer; }
.st-pairs button:hover { color: var(--text-hi); }
.st-pairs button[aria-pressed="true"] { color: var(--paper); background: rgba(5,199,252,.14); box-shadow: inset 0 0 0 1px rgba(5,199,252,.5); }

/* ── small print ── */
.st-fine { margin: 56px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.75; color: var(--text-dim); }
.st-fine span + span::before { content: " · "; }

@media (prefers-reduced-motion: reduce) {
  #view-studio *, #view-studio *::before, #view-studio *::after { animation: none !important; transition: none !important; }
  #view-studio .st-tag span, #view-studio.st-js .st-rv { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .rail-item[data-route="studio"] { display: none; }   /* the Studio is desktop only (owner 2026-11-25): the phone bar keeps its 8 tabs */
  .st-col { padding: 0 18px 56px; }
  .st-hero { padding-top: 30px; gap: 30px; }
  .st-tag { font-size: 18px; }
  .st-mark { width: 48px; height: 48px; flex-basis: 48px; }
  .st-lockup { gap: 12px; }
  .st-title { font-size: min(40px, calc((100cqi - 62px) / 7.1)); }
  .st-btn { width: 100%; justify-content: center; font-size: 16px; letter-spacing: .1em; padding: 14px 16px; }
  .st-sec { margin-top: 72px; }
  .st-compare .lab { top: 10px; padding: 5px 8px; font-size: 9.5px; letter-spacing: .14em; }
  .st-compare .lab.l { left: 10px; } .st-compare .lab.r { right: 10px; }
  .st-compare .knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
}
