/* v72.86: the temporary landing page a signed-out visitor sees (from jjs-temp-landing v4): the deck's contact card over
   the showreel loop, a small "Team portal" button, and the studio's logo film while it loads. Drawn by js/landing-temp.js.
   Everything is under .tl so nothing here touches the team app; its fonts and pictures are in assets/landing-temp/. */
@font-face{font-family:"JJT Montserrat";font-weight:300;font-display:swap;src:url(../assets/landing-temp/fonts/montserrat-latin-300-normal.woff2) format("woff2")}
@font-face{font-family:"JJT Montserrat";font-weight:400;font-display:swap;src:url(../assets/landing-temp/fonts/montserrat-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"JJT Montserrat";font-weight:600;font-display:swap;src:url(../assets/landing-temp/fonts/montserrat-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"JJT Montserrat";font-weight:800;font-display:swap;src:url(../assets/landing-temp/fonts/montserrat-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"JJT Jost";font-weight:400;font-display:block;src:url(../assets/landing-temp/fonts/jost-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"JJT Jost";font-weight:700;font-display:block;src:url(../assets/landing-temp/fonts/jost-latin-700-normal.woff2) format("woff2")}

/* one dark look on purpose: the studio is black, white and gray. The page is its own layer (isolation), so the video
   under it sits above the app's light background. */
.tl{--k:#0a0a0b;--w:#f4f3ef;--soft:rgba(244,243,239,.78);
  --sans:"JJT Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;--gut:max(16px,env(safe-area-inset-left,0px),4.4vw);--gutr:max(16px,env(safe-area-inset-right,0px),4.4vw);
  position:relative;z-index:0;isolation:isolate;min-height:100vh;min-height:100svh;color-scheme:dark;background:var(--k);color:var(--w);
  font-family:var(--sans);font-size:16px;line-height:normal;font-feature-settings:normal;letter-spacing:normal;-webkit-font-smoothing:antialiased}
.tl *{box-sizing:border-box}
.tl p,.tl span,.tl div,.tl a{word-break:normal}
.tl a{color:inherit}
.tl a:focus:not(:focus-visible){outline:none}
.tl img{max-width:none}

/* the showreel loop from the landing page, kept dark so the words read like the deck */
.tl .tl-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:#000 url(../assets/landing-temp/hero-poster.webp) 50% 50%/cover no-repeat}
.tl .tl-bg video{display:block;width:100%;height:100%;object-fit:cover}
.tl .tl-bg::after{content:"";position:absolute;inset:0;
  background:radial-gradient(62% 58% at 50% 52%,rgba(10,10,11,.62),rgba(10,10,11,.8) 100%),
    linear-gradient(180deg,rgba(10,10,11,.55) 0%,rgba(10,10,11,0) 22%,rgba(10,10,11,0) 72%,rgba(10,10,11,.6) 100%)}
@media (max-width:700px),(orientation:portrait){.tl .tl-bg{background-image:url(../assets/landing-temp/hero-m-poster.webp)}}

.tl .tl-pg{min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto}

.tl .tl-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:calc(clamp(18px,3vw,44px) + env(safe-area-inset-top,0px)) var(--gutr) 0 var(--gut)}
.tl .tl-logo{display:block;line-height:0}
.tl .tl-logo img{display:block;height:clamp(22px,2.2vw,34px);width:auto;max-width:none}
/* a small pill; its tap area stays finger-sized (the ::before reaches past the edges) */
.tl .tl-portal{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 15px;border-radius:999px;
  background:var(--w);color:#0a0a0a;border:1px solid var(--w);text-decoration:none;white-space:nowrap;
  font:600 12px/1 var(--sans);letter-spacing:.04em;transition:transform .25s,background .25s,color .25s}
.tl .tl-portal::before{content:"";position:absolute;inset:-6px -4px}
.tl .tl-portal svg{width:12px;height:12px;flex:none}
.tl .tl-portal:hover{transform:translateY(-1px)}
.tl .tl-portal:focus-visible,.tl .tl-ct a:focus-visible,.tl .tl-logo:focus-visible{outline:2px solid var(--w);outline-offset:4px;border-radius:999px}

.tl .tl-mid{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:clamp(40px,6vh,80px) var(--gutr) clamp(40px,6vh,80px) var(--gut)}
.tl h1{margin:0;font-family:var(--sans);font-weight:700;font-size:clamp(38px,5.4vw,104px);line-height:1.1;letter-spacing:-.005em;text-wrap:balance;color:inherit;text-transform:none}
.tl h1 span{display:block;font-weight:400}
.tl h1 b{display:block;font-weight:800;letter-spacing:.005em}

.tl .tl-ct{list-style:none;margin:clamp(28px,5.4vh,64px) 0 0;padding:0;display:grid;justify-items:center;gap:clamp(0px,.6vh,8px)}
.tl .tl-ct li{margin:0;padding:0}
.tl .tl-ct a{display:inline-flex;align-items:center;gap:clamp(10px,.8vw,14px);text-decoration:none;min-height:44px;padding:0 6px;
  font-weight:300;font-size:clamp(17px,1.65vw,31px);line-height:1.2;border-radius:999px;overflow-wrap:anywhere}
.tl .tl-ct a:hover span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.tl .tl-ct i{flex:none;display:grid;place-items:center;width:1.45em;height:1.45em;border-radius:50%;background:var(--w);color:#0a0a0a}
.tl .tl-ct i svg{width:58%;height:58%}

.tl .tl-adr{font-style:normal;margin-top:clamp(26px,4.4vh,48px);display:grid;gap:clamp(12px,2vh,22px)}
.tl .tl-adr p{margin:0;font-weight:400}
.tl .tl-adr strong{display:block;font-weight:600;font-size:clamp(17px,1.65vw,31px);line-height:1.25}
.tl .tl-adr small{display:block;margin-top:4px;font-weight:400;font-size:clamp(12px,.95vw,18px);color:var(--soft);letter-spacing:.01em}

.tl .tl-bot{display:flex;justify-content:flex-end;padding:0 var(--gutr) calc(clamp(18px,3vw,40px) + env(safe-area-inset-bottom,0px)) var(--gut)}
.tl .tl-bot p{margin:0;font-size:clamp(13px,1.15vw,22px);font-weight:400}
.tl .tl-bot b{font-weight:800}

@media (max-width:640px){
  .tl .tl-portal{min-height:30px;padding:0 12px;font-size:11px}
  .tl .tl-portal::before{inset:-7px -4px}
  .tl .tl-portal svg{display:none}
  .tl h1{font-size:clamp(30px,9.4vw,46px)}
  .tl .tl-bot{justify-content:center;text-align:center}
}
/* tablets held upright: the words can be bigger than the width-based size */
@media (orientation:portrait) and (min-width:641px){
  .tl h1{font-size:clamp(40px,7.2vw,84px)}
  .tl .tl-ct a,.tl .tl-adr strong{font-size:clamp(18px,2.7vw,28px)}
  .tl .tl-adr small{font-size:clamp(13px,1.8vw,17px)}
  .tl .tl-bot p{font-size:clamp(14px,1.9vw,18px)}
}
/* short screens (phones on their side): tighter so the whole card fits without scrolling */
@media (max-height:520px) and (orientation:landscape){
  .tl .tl-top{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .tl .tl-mid{padding-block:10px}
  .tl h1{font-size:clamp(24px,8.4vh,46px)}
  .tl .tl-ct{margin-top:12px}
  .tl .tl-ct a{min-height:36px;font-size:clamp(14px,4.2vh,20px)}
  .tl .tl-adr{margin-top:8px;gap:6px}
  .tl .tl-adr strong{font-size:clamp(14px,4.2vh,20px)}
  .tl .tl-adr small{margin-top:2px}
  .tl .tl-bot{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.tl .tl-portal{transition:none}.tl .tl-portal:hover{transform:none}}

/* ---------- loading: the studio's logo film from the landing page, drawn live while the page loads ----------
   the black J head turns in on a white wall (3D, lit, with its shadow), a dark circle rises and the head shows white,
   then the Just-Jame Studio logo, which stays, with "We create stories that inspire. connect. sell." under it */
.tl .tl-ld{position:fixed;inset:0;z-index:50;display:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;perspective:calc(100vh * 1.866);perspective-origin:50% 50%;
  --jh:min(20vh,32vw);--jt:calc(50% - var(--jh) * .995);
  background:radial-gradient(circle at 50% 50%,#fff 0%,#fafafa 12%,#e0e0e0 49%,#8a8a8a 87%,#797979 100%)}
.tl.is-loading .tl-ld{display:block}
body.tl-loading{overflow:hidden}
.tl.is-loading .tl-pg,.tl.is-loading .tl-bg{visibility:hidden}
.tl .tl-ld__j,.tl .tl-ld__s,.tl .tl-ld__sh{--hs:calc(var(--jh) * 1.3);position:absolute;left:50%;top:calc(var(--jt) + var(--jh) / 2 - var(--hs) / 2);width:var(--hs);height:var(--hs);margin-left:calc(var(--hs) / -2);overflow:visible}
/* the black J head as a solid: its front face and six side walls, turned by the browser's own 3D (no 3D library to download) */
.tl .tl-ld__s{--t:calc(var(--hs) * .34);transform-style:preserve-3d}
.tl .tl-ld__s>*{position:absolute;display:block;margin:0}
/* every face shows only its outer side, so a face turned away is simply not drawn */
.tl .tl-ld__f,.tl .tl-ld__w{-webkit-backface-visibility:hidden;backface-visibility:hidden}
.tl .tl-ld__f{left:0;top:0;width:100%;height:100%;overflow:visible}
.tl .tl-ld__w{background:currentColor;outline:.75px solid currentColor;color:#262626}
.tl .tl-ld__w[data-n=t]{left:0;top:calc(var(--t) * -1);width:100%;height:var(--t);transform-origin:50% 100%;transform:rotateX(90deg)}
.tl .tl-ld__w[data-n=b]{left:52%;top:100%;width:48%;height:var(--t);transform-origin:50% 0;transform:rotateX(-90deg)}
.tl .tl-ld__w[data-n=h]{left:0;top:52%;width:52%;height:var(--t);transform-origin:50% 0;transform:rotateX(-90deg)}
.tl .tl-ld__w[data-n=r]{left:100%;top:0;width:var(--t);height:100%;transform-origin:0 50%;transform:rotateY(90deg)}
.tl .tl-ld__w[data-n=v]{left:calc(52% - var(--t));top:52%;width:var(--t);height:48%;transform-origin:100% 50%;transform:rotateY(-90deg)}
.tl .tl-ld__w[data-n=l]{left:calc(var(--t) * -1);top:0;width:var(--t);height:52%;transform-origin:100% 50%;transform:rotateY(-90deg)}
/* its soft shadow on the wall */
.tl .tl-ld__sh{fill:#000;fill-opacity:.17;filter:blur(calc(var(--hs) * .045));will-change:transform}
.tl .tl-ld__halo{position:absolute;left:50%;top:115%;width:200px;height:200px;margin:-100px 0 0 -100px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.34) 86%,rgba(0,0,0,0) 100%);transform:scale(0)}
.tl .tl-ld__dk{position:absolute;inset:0;background:radial-gradient(ellipse 62% 78% at 50% 0%,#767676 0%,#5a5a5a 22%,#393939 48%,#262626 74%,#1c1c1c 100%),#1b1b1b;clip-path:circle(0 at 50% 115%)}
.tl .tl-ld__j{fill:#fff}
.tl .tl-ld__wm,.tl .tl-ld__tg{position:absolute;left:50%;transform:translateX(-50%)}
.tl .tl-ld__wm{top:calc(var(--jt) + var(--jh) * 1.43);width:calc(var(--jh) * 1.62);max-width:none;height:auto;visibility:hidden}
.tl .tl-ld__tg{top:calc(var(--jt) + var(--jh) * 1.97);margin:0;white-space:nowrap;text-align:left;font:400 min(calc(var(--jh) * .168),4.2vw)/1 "JJT Jost",var(--sans);letter-spacing:.03em;text-transform:uppercase;color:#fff;visibility:hidden}
.tl .tl-ld__tg b{display:inline-block;font-weight:700}
