/* Step2App: the interface is a quiet product surface; the entrance owns the spectacle. */
:root{color-scheme:light;--paper:#f7f7f5;--ink:#171917;--muted:#62665f;--line:#d9dbd6;--accent:#c84025;--white:#fff;--gutter:clamp(20px,5.2vw,84px);font-family:Arial,'Helvetica Neue',sans-serif;background:var(--paper);color:var(--ink);font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}a:focus-visible,button:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}img{max-width:100%;display:block}::selection{background:#f3d5ca;color:var(--ink)}
.studio-header{height:76px;padding-inline:var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1800px;margin:auto}.wordmark-small{font-size:23px;font-weight:750;letter-spacing:-1.5px;white-space:nowrap}.wordmark-small span,.brand-dot,.entrance-brand span{color:var(--accent)}.studio-header nav{display:flex;align-items:center;gap:clamp(18px,3vw,42px);font-size:14px}.studio-header nav a{min-height:44px;display:flex;align-items:center}.studio-header nav a:hover,.home-foot a:hover,footer a:hover{color:var(--accent)}.nav-contact{border-bottom:1px solid var(--ink)}
.studio-home{min-height:calc(100svh - 76px);display:grid;grid-template-rows:1fr auto;position:relative;padding:0 var(--gutter);isolation:isolate}.studio-core{align-self:center;justify-self:center;width:min(100%,680px);padding:26px 0 76px;transform:translateY(-1.5vh)}.wordmark{font-size:clamp(60px,9.2vw,128px);font-weight:760;letter-spacing:-.085em;text-align:center;line-height:1;margin:0;white-space:nowrap}.brand-two{font-weight:400;letter-spacing:-.09em}.brand-dot{font-size:.85em;letter-spacing:-.05em;margin-left:.03em}.tagline{text-align:center;font-size:clamp(19px,2.1vw,27px);letter-spacing:-.045em;margin:12px 0 clamp(46px,7vh,76px);font-weight:400;color:#434842}.idea-composer label{font-size:clamp(17px,2vw,21px);font-weight:600;display:block;margin:0 1px 13px;letter-spacing:-.025em}.writing-surface{background:var(--white);border:1px solid #c5c8c2;border-radius:17px;box-shadow:0 2px 2px #1c24110a,0 16px 42px -25px #222b1740;transition:border-color .2s,box-shadow .2s;padding:18px 19px 12px}.writing-surface:focus-within{border-color:#747e72;box-shadow:0 0 0 3px #57664e12,0 16px 42px -25px #222b1740}.writing-surface textarea{display:block;width:100%;min-height:94px;max-height:42vh;resize:vertical;background:transparent;color:var(--ink);border:0;padding:0 2px 6px;line-height:1.65;font-size:18px;outline:none!important}.writing-surface textarea::placeholder{color:#737871;opacity:1}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.composer-actions small{font-size:12px;line-height:1.5;color:var(--muted)}.send-idea{width:46px;height:46px;border:0;border-radius:12px;display:grid;place-items:center;flex:none;color:white;background:var(--ink);transition:background .2s,transform .2s}.send-idea:hover{background:var(--accent);transform:translateY(-2px)}.studio-note{color:var(--muted);font-size:13px;text-align:center;margin:20px 0 0;line-height:1.7}.home-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);padding:12px 0 20px}.home-foot a,.home-foot button{min-height:44px;display:inline-flex;align-items:center;gap:12px}.home-foot button{background:none;border:0;color:inherit;padding:0}.home-foot button:hover{color:var(--accent)}
.page-section{padding:clamp(58px,9vw,140px) var(--gutter);max-width:1800px;margin-inline:auto;scroll-margin-top:14px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:clamp(30px,5vw,60px)}.section-head h2{font-size:clamp(32px,5vw,67px);font-weight:600;letter-spacing:-.055em;line-height:1.1;margin:0}.section-head p{color:var(--muted);font-size:16px;margin:0;line-height:1.6}.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,30px)}.work-image{overflow:hidden;background:#e9ebe7;aspect-ratio:1; border-radius:3px}.work-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.work-grid a:hover img{transform:scale(1.035)}.work-caption{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding-block:14px;border-bottom:1px solid var(--line)}.work-caption strong{font-size:20px;letter-spacing:-.045em}.work-caption>span:not(.external){color:var(--muted);font-size:12px}.external{margin-inline-start:auto;font-size:18px}.services-section{border-block:1px solid var(--line)}.services-layout{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(30px,6vw,100px);align-items:center}.service-copy article+article{border-top:1px solid var(--line);margin-top:28px;padding-top:28px}.service-copy h3{font-size:23px;margin:0 0 9px;letter-spacing:-.03em}.service-copy p{margin:0;color:var(--muted);font-size:17px;line-height:1.8;max-width:43ch}.launch-visual{position:relative}.launch-gallery{aspect-ratio:1672/941;background:#e2e4df;overflow:hidden}.launch-gallery img{width:100%;height:100%;object-fit:cover}.launch-toggle{position:absolute;left:12px;bottom:12px;background:var(--paper);color:var(--ink);border:0;border-radius:50%;width:44px;height:44px}.contact-section{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,7vw,110px)}.contact-section .section-head{display:block}.contact-section .section-head p{margin-top:15px}.contact-methods form{display:grid;gap:12px}.contact-methods label{font-size:14px;font-weight:600;margin-top:8px}.contact-methods input,.contact-methods textarea{width:100%;border:1px solid #bfc3bb;border-radius:4px;background:white;color:var(--ink);padding:13px;min-height:48px;font-size:16px}.contact-methods textarea{min-height:120px;resize:vertical}.contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:10px}.contact-actions button{border:0;border-radius:4px;background:var(--ink);color:white;padding:13px 20px;min-height:46px}.contact-actions a{min-height:44px;display:flex;align-items:center;border-bottom:1px solid var(--ink)}#status{line-height:1.6;color:var(--muted)}footer{max-width:1800px;margin:auto;border-top:1px solid var(--line);padding:22px var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:13px;color:var(--muted)}footer>a:first-child{color:var(--ink);font-size:19px;font-weight:700;letter-spacing:-.06em}
/* Cinematic opening: same orbital geometry; a neutral photographic studio instead of a galaxy. */
.entrance{position:fixed;inset:0;z-index:100;background:#1d201e;color:#f8f8f5;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;isolation:isolate;opacity:1;transition:opacity .24s ease;overscroll-behavior:contain}.intro-pending .entrance[hidden]{display:flex!important}.entrance.is-leaving{opacity:0;pointer-events:none}.entrance::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 38%,#70766f 0%,#3e443e 35%,#202421 69%,#121613 100%)}.entrance::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(150deg,#fff1,transparent 36%,#0003 82%)}.entrance-brand{position:absolute;top:max(24px,env(safe-area-inset-top));left:var(--gutter);font-size:22px;font-weight:750;letter-spacing:-.06em}.entrance .app-lab{display:block;width:min(100%,1100px);height:auto;min-height:0;max-width:none;padding:0;margin:0;background:none;overflow:visible}.entrance .lab{width:100%;max-width:none;margin:0;--world:#d9ded4;pointer-events:none}.entrance .lab-top,.entrance .lab-bottom,.entrance .satellite,.entrance .world-index,.entrance .starfield,.entrance .orbit-ring,.entrance .screen-story{display:none!important}.entrance .lab-glow{inset:8% 0 -8%;background:radial-gradient(ellipse at 50% 60%,#e9f1df18,transparent 63%);opacity:1;mask-image:none}.entrance .cosmos{height:min(66svh,580px);min-height:0;max-height:none;width:100%;margin:0;perspective:1100px;cursor:default;overflow:visible}.entrance .phone-orbit{opacity:1}.entrance .orbit-phone{top:5%;left:50%;height:88%;width:auto;aspect-ratio:9/19.5}.entrance .phone-shell{box-shadow:0 0 0 1px #d5d9d3aa,2px 0 0 #8a908b,5px 2px 0 #292e2b,8px 5px 0 #101411,19px 32px 50px #090c0a99,inset 0 0 0 2px #e1e6df40;background:linear-gradient(110deg,#252b28 0%,#ccd0cb 2%,#505951 5%,#171c19 48%,#a3aaa4 97%,#202622)}.entrance-end{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:var(--gutter);right:var(--gutter);display:flex;justify-content:space-between;align-items:center;direction:ltr;gap:20px;font-size:15px;letter-spacing:-.02em}.entrance-end button{color:#f8f8f5;border:1px solid #ffffff55;background:#1115;border-radius:4px;min-height:44px;padding:8px 17px;direction:rtl}.intro-pending body,.intro-active body{overflow:hidden}.entrance:not([hidden])~.studio-header,.entrance:not([hidden])~main,.entrance:not([hidden])~footer{pointer-events:none}
@media(max-width:760px){.studio-header{height:64px;gap:12px}.wordmark-small{font-size:19px}.studio-header nav{gap:16px;font-size:13px}.studio-home{min-height:calc(100svh - 64px)}.studio-core{padding:16px 0 48px;transform:translateY(-2vh)}.wordmark{font-size:clamp(59px,15.5vw,92px)}.tagline{margin:10px 0 48px}.writing-surface{padding:15px 14px 12px}.writing-surface textarea{font-size:16px;min-height:105px}.studio-note{font-size:12px}.home-foot{font-size:11px;gap:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.section-head{display:block}.section-head p{margin-top:12px}.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.work-caption strong{font-size:17px}.work-caption>span:not(.external){font-size:11px}.services-layout,.contact-section{grid-template-columns:1fr}.contact-section{gap:0}.entrance .cosmos{height:min(58svh,470px);perspective:850px}.entrance .orbit-phone{height:86%;top:7%}footer{flex-wrap:wrap}footer small{order:3;flex-basis:100%}}
@media(max-width:350px){.studio-header nav{gap:10px}.wordmark-small{font-size:17px}.wordmark{font-size:54px}.home-foot{font-size:10px}}
@media(max-height:460px) and (orientation:landscape){.studio-core{padding:16px 0 28px;transform:none}.tagline{margin-bottom:20px}.wordmark{font-size:65px}.entrance .cosmos{height:72svh}.entrance .orbit-phone{height:88%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.intro-pending .entrance[hidden]{display:none!important}}
/* The single action stays explicit while AI generation is not connected. */
.brand-two{color:var(--ink)}.send-idea{width:auto;min-width:46px;padding-inline:13px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:600}.send-idea svg{width:19px;height:19px}.intro-active .studio-core{transform:translateY(-1.5vh) scale(.985)}.studio-core{transition:transform .35s ease-out}.entrance .app-lab{pointer-events:none}
@media(max-width:760px){.intro-active .studio-core{transform:translateY(-2vh) scale(.985)}}
/* Studio V2 — one inviting instrument, not a logo-led hero. */
:root{--paper:#f5f5f3;--ink:#232724;--muted:#626762;--line:#d8dbd6;--accent:#53685b}
html{scrollbar-gutter:stable}body{background:var(--paper)}
.wordmark-small{display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.06;letter-spacing:normal}
.wordmark-small .header-name{font-size:23px;font-weight:750;letter-spacing:-.055em;color:var(--ink)}
.wordmark-small .header-tagline{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}
.studio-home{background:radial-gradient(ellipse 68% 60% at 50% 37%,#fff 0%,#fafaf8 40%,transparent 100%)}
.studio-core{width:min(100%,780px);padding:20px 0 80px;transform:translateY(-3vh);transition:none}
.studio-question{text-align:center;font-size:clamp(29px,3.7vw,49px);font-weight:550;letter-spacing:-.055em;line-height:1.2;margin:0 0 31px;color:var(--ink)}
.idea-composer .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.writing-surface{position:relative;display:flex;align-items:flex-start;gap:12px;padding:9px 10px 9px 23px;border:1px solid #b8beb7;border-radius:36px;background:linear-gradient(165deg,#fff 5%,#fdfdfc 55%,#f0f2ef 100%);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 2px #d2d7d141,0 2px 5px #26372b0e,0 18px 38px -22px #354d4060;transition:border-color .2s,box-shadow .25s,border-radius .2s;cursor:text}
.writing-surface:hover{border-color:#939e94;box-shadow:inset 0 1px 0 #fff,0 3px 8px #26372b13,0 20px 44px -20px #354d4059}
.writing-surface:focus-within{border-color:#697e70;box-shadow:0 0 0 3px #6f857423,0 16px 36px -19px #354d405c}
.writing-surface.is-expanded{border-radius:24px}
.writing-surface textarea{flex:1;min-width:0;width:100%;min-height:46px;max-height:230px;resize:none;padding:10px 11px 9px 0;font-size:clamp(16px,2vw,20px);line-height:26px;overflow-y:auto;scrollbar-width:thin}
.writing-surface textarea::placeholder{color:#717a72}
.composer-actions{flex:none;align-self:flex-end;display:flex;align-items:center}
.send-idea{width:46px;height:46px;min-width:46px;padding:0;border-radius:50%;display:grid;place-items:center;background:#303b34;box-shadow:inset 0 1px 1px #ffffff36,0 2px 5px #1d2b2226}
.send-idea:hover{transform:translateX(-2px);background:#53685b}.send-idea svg{width:22px;height:22px}
#draft-status{display:block;text-align:center;margin:14px 0 0;color:var(--muted);font-size:12px;min-height:20px;line-height:1.5}
.intro-active .studio-core{transform:translateY(-3vh)}
/* Same light studio material on both sides of the transition. */
.entrance{background:var(--paper);color:var(--ink);transition:opacity .16s ease;direction:ltr}
.entrance::before{background:radial-gradient(ellipse at 50% 40%,#fff 0%,#f5f6f3 43%,#e0e5df 100%)}
.entrance::after{background:linear-gradient(145deg,#fff9,transparent 44%,#a1aaa214 100%)}
.entrance .lab-glow{background:radial-gradient(ellipse at 50% 75%,#778a7724,transparent 67%)}
.entrance .phone-shell{box-shadow:0 0 0 1px #9ea8a2,2px 0 0 #c1c9c2,5px 2px 0 #737e77,8px 5px 0 #434a45,18px 30px 48px #35423740,inset 0 0 0 2px #f5f7f380;background:linear-gradient(115deg,#515b54 0%,#e4e9e3 3%,#7c8780 6%,#303832 48%,#cdd6ce 96%,#66736a)}
.entrance .phone-float{animation:none!important;transform:none!important}
.entrance-end button{color:var(--ink);background:#ffffff88;border:1px solid #aab4ab;border-radius:24px}
.entrance-brand,.entrance-end{transition:opacity .16s ease}
.entrance.is-portal .entrance-brand,.entrance.is-portal .entrance-end{opacity:0;pointer-events:none}
.entrance.is-portal .orbit-phone:not([data-index="0"]){opacity:0!important;transition:opacity .18s ease!important}
.entrance.is-portal .orbit-phone[data-index="0"]{transition:none!important;z-index:1000!important;filter:none!important}
.entrance.is-portal .phone-hardware,.entrance.is-portal .home-indicator{opacity:0;transition:opacity .16s}
@media(max-width:760px){.studio-header{height:70px}.wordmark-small .header-name{font-size:20px}.wordmark-small .header-tagline{font-size:10px}.studio-home{min-height:calc(100svh - 70px)}.studio-core{padding:20px 0 65px;transform:translateY(-4vh)}.intro-active .studio-core{transform:translateY(-4vh)}.studio-question{margin-bottom:24px;font-size:32px}.writing-surface{padding:7px 9px 7px 12px;gap:8px}.writing-surface textarea{font-size:16px;padding:10px 8px 9px 0;min-height:44px;line-height:24px}.send-idea{width:44px;height:44px;min-width:44px}.entrance .cosmos{height:min(62svh,490px)}}
@media(max-width:350px){.wordmark-small .header-name{font-size:17px}.studio-question{font-size:28px}.studio-header nav{gap:8px;font-size:12px}}
@media(max-height:460px) and (orientation:landscape){.studio-core,.intro-active .studio-core{transform:none;padding:12px 0 30px}.studio-question{margin-bottom:16px;font-size:29px}.studio-home{min-height:calc(100svh - 76px)}}
/* Global studio lighting already supplies the depth; avoid a rectangular glow layer. */
.entrance .lab-glow{display:none!important}

/* Studio V3 — uninterrupted bright product choreography. */
.studio-header{flex-direction:row-reverse}
.wordmark-small{display:grid;justify-items:stretch;width:max-content;gap:3px}
.wordmark-small .header-tagline{font-size:14px;line-height:1.1;letter-spacing:.015em;text-align:justify;text-align-last:justify;white-space:nowrap}
.entrance-brand,.entrance-end>span{display:none!important}
.entrance-end{justify-content:flex-end;z-index:1100;pointer-events:none}
.entrance-end button{opacity:0;pointer-events:auto;transition:opacity .2s}
.entrance-end button:focus-visible{opacity:1}
.entrance .app-lab{width:100%;max-width:none}
.entrance .lab{max-width:none}
.entrance .phone-orbit{transform-style:flat;perspective:1400px}
.entrance .cosmos{height:min(78svh,680px);perspective:1400px}
.entrance .orbit-phone{top:5%;height:90%}
.entrance .orbit-phone[data-index="0"] .phone-screen{background:var(--paper);color:var(--ink);container-type:inline-size}
.entrance .orbit-phone[data-index="0"] .phone-hardware{background:var(--paper);color:var(--ink)}
.entrance .orbit-phone[data-index="0"] .home-indicator{background:#24282488}
.entrance .orbit-phone[data-index="0"] .cell-bars{filter:invert(1)}
.entrance .orbit-phone[data-index="0"] .wifi-icon,.entrance .orbit-phone[data-index="0"] .battery-icon{filter:invert(1)}
.studio-mini{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 37%,#fff,#fafaf8 45%,var(--paper));font-family:Arial,'Helvetica Neue',sans-serif;color:var(--ink);direction:rtl;overflow:hidden}
.mini-brand{position:absolute;top:11%;left:7%;display:grid;width:max-content;gap:1px;text-align:left}
.mini-brand b{font-size:8cqw;line-height:1;letter-spacing:-.055em}
.mini-brand span{font-size:4.8cqw;text-align:justify;text-align-last:justify;color:var(--muted);white-space:nowrap}
.mini-core{position:absolute;top:43%;left:6%;right:6%;transform:translateY(-30%);text-align:center}
.mini-core strong{display:block;font-size:8cqw;line-height:1.2;letter-spacing:-.055em;font-weight:550;margin-bottom:8cqw}
.mini-prompt{display:flex;align-items:center;justify-content:space-between;gap:2cqw;white-space:nowrap;border:1px solid #b8beb7;border-radius:12cqw;padding:2cqw;background:linear-gradient(165deg,#fff,#f0f2ef);box-shadow:0 3px 8px #26372b15;font-size:5cqw;color:#717a72;text-align:right}
.mini-prompt span{overflow:hidden;text-overflow:ellipsis;padding-inline-start:1cqw}
.mini-prompt i{flex:none;display:grid;place-items:center;width:10cqw;height:10cqw;border-radius:50%;background:#303b34;color:white;font-style:normal;font-size:6cqw}
.portal-reveal .mini-core,.portal-reveal .mini-brand{opacity:var(--mini-content,1)}
.intro-active.portal-reveal .studio-header,.intro-active.portal-reveal .studio-core,.intro-active.portal-reveal .home-foot{opacity:var(--portal-content,0);transition:none}
.mini-core small{display:block;color:var(--muted);font-size:3.6cqw;margin-top:4cqw}
@media(max-width:760px){.wordmark-small .header-tagline{font-size:12px}.entrance .cosmos{height:min(76svh,620px);perspective:1100px}.entrance .phone-orbit{perspective:1100px}}
@media(max-width:350px){.wordmark-small .header-tagline{font-size:10px}}

/* Studio V4 — one screen, no landing-page sections. */
html{height:100%;scrollbar-gutter:auto;scroll-behavior:auto;overflow:hidden}
body{height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.studio-header{width:100%;margin:0 auto;max-width:1800px;padding-top:env(safe-area-inset-top);height:calc(76px + env(safe-area-inset-top))}
.studio-header nav button,.studio-footer button{background:none;border:0;padding:0;color:inherit;font:inherit;white-space:nowrap;min-height:44px}
.studio-header nav button:hover,.studio-footer button:hover,.replay-link:hover{color:var(--accent)}
#main{min-height:0;min-width:0;display:grid;grid-template-rows:minmax(0,1fr)}
.studio-home{min-height:0;height:100%;grid-template-rows:minmax(0,1fr)}
.studio-core,.intro-active .studio-core{padding:12px 0 30px;transform:translateY(-1.5vh)}
.studio-footer{width:100%;max-width:1800px;margin:0 auto;padding:4px var(--gutter) calc(5px + env(safe-area-inset-bottom));border:0;min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;color:var(--muted);font-size:12px;background:transparent}
.footer-links{display:flex;align-items:center;gap:clamp(15px,2.5vw,34px);flex-wrap:wrap}
.studio-footer small{font-size:11px;white-space:nowrap}
.info-dialog{color:var(--ink);background:#fbfcfa;border:1px solid #c9d0c9;border-radius:20px;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;box-shadow:0 24px 90px #202a2429;overflow:auto;overscroll-behavior:contain;text-align:start}
.info-dialog::backdrop{background:#26332c42;backdrop-filter:blur(5px)}
.info-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px 12px;position:sticky;top:0;z-index:1;background:#fbfcfa}
.info-head h2{font-size:25px;font-weight:600;letter-spacing:-.035em;margin:0;line-height:1.25;outline:none}
.info-close{border:0;border-radius:50%;background:#e8ece7;color:var(--ink);font-size:25px;line-height:1;width:44px;height:44px;flex:none}
.info-body{padding:0 24px 24px;font-size:15px;line-height:1.75}
.info-body p{margin:0 0 14px}.info-body p:last-child{margin-bottom:0}
.info-body .info-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}
.info-tagline{font-size:18px;font-weight:600;text-align:right}
.replay-link{border:0;background:none;padding:0;color:var(--muted);font:inherit;font-size:13px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.info-body #brief{width:100%;display:grid;gap:8px;margin-top:16px}
.info-body #brief label{font-size:13px;font-weight:600;margin-top:5px}
.info-body #brief input,.info-body #brief textarea{width:100%;min-height:44px;min-width:0;background:#fff;border:1px solid #c9d0c9;border-radius:9px;padding:10px 12px;color:var(--ink);font-size:16px}
.info-body #brief textarea{min-height:100px;max-height:160px;resize:vertical}
.info-body .contact-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.info-body .contact-actions button,.info-body .contact-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:8px 13px;font-size:13px}
.info-body .contact-actions button{background:#303b34;border:1px solid #303b34;color:white}
.info-body .contact-actions a{border:1px solid var(--line)}
.info-body #status{font-size:12px;margin-top:5px}
.intro-active.portal-reveal .studio-footer{opacity:var(--portal-content,0)}
@media(max-width:760px){.studio-header{height:calc(70px + env(safe-area-inset-top));gap:10px}.studio-header nav{gap:14px}.studio-home{min-height:0}.studio-core,.intro-active .studio-core{padding:10px 0 24px;transform:translateY(-1vh)}.studio-footer{font-size:11px;gap:4px 12px}.studio-footer small{order:0;flex-basis:auto;font-size:10px}.footer-links{gap:12px}.info-head{padding-inline:18px}.info-body{padding-inline:18px}}
@media(max-width:350px){.studio-header nav{gap:8px}.studio-footer{justify-content:center;gap:0 12px;flex-wrap:wrap}.footer-links{justify-content:center}}
@media(max-height:460px){.studio-header{height:auto;min-height:54px}.studio-core,.intro-active .studio-core{transform:none;padding:5px 0}.studio-question{font-size:clamp(24px,4vw,32px);margin-bottom:12px}#draft-status{margin-top:6px}.studio-footer{min-height:44px;padding-block:0}.writing-surface textarea{max-height:22dvh}}
/* Emergency accessibility fallback only: extremely short or zoomed viewports must not hide controls. */
@media(max-height:320px){html,body{overflow:auto;height:auto;min-height:100dvh}body{grid-template-rows:auto minmax(150px,1fr) auto}}

/* Studio V5 — ambient video and plain wordmark with an occasional light sweep. */
:root{--ambient-opacity:.60;--ambient-fade:1800ms}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .wordmark-small .header-name{
   background-image:linear-gradient(112deg,var(--ink) 0%,var(--ink) 44%,#aebbb2 49%,#e8eee9 50%,#aebbb2 51%,var(--ink) 56%,var(--ink) 100%);
   background-size:300% 100%;background-position:100% 50%;background-repeat:no-repeat;
   background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
   animation:brand-light-sweep 10s linear infinite;
 }
}
@keyframes brand-light-sweep{0%,85%{background-position:100% 50%}97%,100%{background-position:0% 50%}}
.ambient-scene{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;display:grid;place-items:center}
.ambient-scene video{display:block;width:min(100%,60dvh);height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity var(--ambient-fade) ease-in-out;mask-image:radial-gradient(ellipse 58% 65% at 50% 50%,#000 30%,#000d 49%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 58% 65% at 50% 50%,#000 30%,#000d 49%,transparent 100%)}
.ambient-scene video.is-visible{opacity:var(--ambient-opacity)}
.studio-core{position:relative;z-index:1}
@media(max-width:760px){.ambient-scene video{width:100%;object-fit:cover}}
@media(prefers-reduced-motion:reduce){.ambient-scene{display:none!important}.wordmark-small .header-name{animation:none;background:none;-webkit-text-fill-color:currentColor;color:var(--ink)}}
@media(forced-colors:active){.wordmark-small .header-name{animation:none;background:none;-webkit-text-fill-color:currentColor;color:LinkText}.ambient-scene{display:none}}

/* Studio V5.2 — full-height ambient */
body{isolation:isolate}
.ambient-scene{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:hidden}
.studio-header,#main,.studio-footer{position:relative;z-index:1;background:transparent}
html:not(.intro-active):not(.intro-pending) body{background:radial-gradient(ellipse 68% 60% at 50% 44%,#fff 0%,#fafaf8 40%,var(--paper) 100%)}
html:not(.intro-active):not(.intro-pending) .studio-home{background:transparent}
.ambient-scene video{height:100%;width:min(100%,60dvh);object-fit:cover;mask-image:linear-gradient(to right,transparent,#000 16%,#000 84%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 16%,#000 84%,transparent)}
@media(max-width:760px){.ambient-scene video{width:100%;mask-image:none;-webkit-mask-image:none}}


/* Studio V5.3 — device dialogs */
/* The native dialog keeps its top-layer semantics and the existing event handlers. */
.info-dialog {
  --device-rim: 9px;
  --device-radius: 45px;
  position: fixed; inset: 0; margin: auto;
  box-sizing: border-box;
  width: min(354px, calc(100vw - 38px));
  height: min(690px, calc(100dvh - 42px));
  max-width: none; max-height: none;
  padding: var(--device-rim);
  border: 1px solid #8c958e;
  border-radius: var(--device-radius);
  background: linear-gradient(110deg,#b8c0b9 0%,#e2e6e1 2%,#79847d 5%,#343c37 11%,#353e38 83%,#737f76 96%,#e1e6df 98%,#8c978e 100%);
  box-shadow: inset 0 0 0 2px #ffffff6b, inset 0 0 0 5px #222923,
              0 1px 1px #2228, 0 22px 46px -14px #18251c59, 0 55px 95px -30px #18251c44;
  overflow: visible; overscroll-behavior: contain;
}
.info-dialog::before,.info-dialog::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 4px; border-radius: 2px; background: linear-gradient(90deg,#6c796f,#aeb8af,#4e5951);
}
.info-dialog::before {left:-4px;top:22%;height:11%;box-shadow:0 2px 3px #26332b24}
.info-dialog::after {right:-4px;top:29%;height:13%}
.info-dialog::backdrop {background: #39443c2b;backdrop-filter: blur(5px)}
.info-device-screen {
  position: relative; width: 100%; height: 100%; min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
  border: 1px solid #131914;
  border-radius: calc(var(--device-radius) - var(--device-rim));
  background: #fbfcfa;
  box-shadow: inset 0 0 0 1px #ffffff90;
}
.info-device-hardware {height:36px;flex:none;display:flex;align-items:center;justify-content:center;pointer-events:none}
.info-device-camera {
  display:block; position:relative; width:72px;height:19px;border-radius:20px;
  background:#171b18;box-shadow:inset 0 1px 2px #0008,0 1px 0 #fff;
}
.info-device-camera::after {content:'';position:absolute;width:7px;height:7px;right:8px;top:6px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#788c9a,#273341 45%,#111513 80%)}
.info-dialog .info-head {position:relative;top:auto;flex:none;padding:12px 19px 16px;gap:12px;background:#fbfcfa;border-bottom:1px solid #e5e9e3}
.info-dialog .info-head h2 {font-size:25px;line-height:1.22;letter-spacing:-.035em;font-weight:650;overflow-wrap:anywhere}
.info-dialog .info-close {width:44px;height:44px;display:grid;place-items:center;border:1px solid #dce2db;background:#f1f3ef;font-size:24px;font-weight:400;transition:background .18s ease}
.info-dialog .info-close:hover {background:#e2e7e0}
.info-dialog .info-body {flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:23px 19px 16px;font-size:15px;line-height:1.8;scrollbar-width:thin;scrollbar-color:#bcc6bd transparent;overflow-wrap:anywhere}
.info-dialog .info-body p {margin-bottom:17px}
.info-dialog .info-body #brief {gap:7px;margin-top:12px}
.info-dialog .info-body #brief textarea {min-height:88px;max-height:145px}
.info-dialog .contact-actions {gap:8px}
.info-device-bottom {height:24px;flex:none;display:grid;place-items:center;background:#fbfcfa;pointer-events:none}
.info-device-bottom span {width:35%;max-width:110px;height:4px;border-radius:4px;background:#242b25}
.info-dialog[open] {animation:s2a-device-appear 360ms cubic-bezier(.2,.75,.28,1) both}
.info-dialog[open]::backdrop {animation:s2a-device-backdrop 260ms ease-out both}
@keyframes s2a-device-appear {from{opacity:0;transform:translateY(24px) scale(.95) rotateX(5deg)}to{opacity:1;transform:none}}
@keyframes s2a-device-backdrop {from{opacity:0}to{opacity:1}}
@media(max-width:430px){
  .info-dialog {--device-rim:7px;--device-radius:38px;width:min(354px,calc(100vw - 26px));height:min(690px,calc(100dvh - 24px))}
  .info-dialog .info-head{padding:9px 17px 12px}.info-dialog .info-body{padding:19px 17px 12px}
}
@media(max-height:500px){
  .info-dialog{--device-rim:6px;--device-radius:28px;width:min(390px,calc(100vw - 28px));height:calc(100dvh - 22px)}
  .info-device-hardware{height:22px}.info-device-camera{width:55px;height:12px}.info-device-camera::after{width:5px;height:5px;top:3px;right:6px}
  .info-dialog .info-head{padding:5px 16px}.info-dialog .info-head h2{font-size:21px}.info-dialog .info-body{padding:12px 16px}.info-device-bottom{height:16px}
}
@media(prefers-reduced-motion:reduce){.info-dialog[open],.info-dialog[open]::backdrop{animation:none}.info-dialog .info-close{transition:none}}
@media(forced-colors:active){.info-dialog,.info-device-screen{border:2px solid CanvasText}.info-device-hardware,.info-device-bottom{display:none}.info-dialog::before,.info-dialog::after{display:none}}

/* Studio V5.4 — landscape ambient */
.ambient-scene video{width:100%;height:100%;object-fit:cover;object-position:50% 50%;mask-image:none;-webkit-mask-image:none}

/* Studio V5.5 — ambient light: keep the video continuous, soften it under text. */
:root{--ambient-text-mask:.80;--ambient-focus-width:44%;--ambient-focus-height:24%}
.ambient-scene video{
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,var(--ambient-text-mask)) 0 7%,#000 19% 81%,rgba(0,0,0,var(--ambient-text-mask)) 93% 100%),radial-gradient(ellipse var(--ambient-focus-width) var(--ambient-focus-height) at 50% 47%,rgba(0,0,0,var(--ambient-text-mask)) 0 60%,#000 100%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,var(--ambient-text-mask)) 0 7%,#000 19% 81%,rgba(0,0,0,var(--ambient-text-mask)) 93% 100%),radial-gradient(ellipse var(--ambient-focus-width) var(--ambient-focus-height) at 50% 47%,rgba(0,0,0,var(--ambient-text-mask)) 0 60%,#000 100%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
}
@media(max-width:760px){:root{--ambient-focus-width:85%;--ambient-focus-height:23%}}
@media(max-height:460px){:root{--ambient-focus-height:36%}}

/* Studio V5.9 — crossfade two video layers, apply light mask once to the composite. */
.ambient-scene{
  opacity:0;transition:opacity 3000ms ease-in-out;
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,var(--ambient-text-mask)) 0 7%,#000 19% 81%,rgba(0,0,0,var(--ambient-text-mask)) 93% 100%),radial-gradient(ellipse var(--ambient-focus-width) var(--ambient-focus-height) at 50% 47%,rgba(0,0,0,var(--ambient-text-mask)) 0 60%,#000 100%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,var(--ambient-text-mask)) 0 7%,#000 19% 81%,rgba(0,0,0,var(--ambient-text-mask)) 93% 100%),radial-gradient(ellipse var(--ambient-focus-width) var(--ambient-focus-height) at 50% 47%,rgba(0,0,0,var(--ambient-text-mask)) 0 60%,#000 100%);
  -webkit-mask-composite:source-in;mask-composite:intersect;
}
.ambient-scene.is-reel-active{opacity:var(--ambient-opacity)}
.ambient-scene video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:none;mask-image:none;-webkit-mask-image:none}
html.intro-active .ambient-scene,html.intro-pending .ambient-scene{opacity:0!important;transition:none!important}

/* Studio V5.15 — experimental live phone-to-viewport video portal. */
.entrance{background:#fff}
.entrance::before,.entrance::after{background:none}
.portal-video-mirror{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;pointer-events:none;z-index:0}
.portal-video-mirror.has-frame{opacity:var(--ambient-opacity)}
.studio-mini .mini-brand,.studio-mini .mini-core{z-index:1}
/* The existing even-odd aperture reveals the real, already-running player. */
html.intro-active.portal-reveal .ambient-scene.is-reel-active{opacity:var(--ambient-opacity)!important;transition:none!important}
.ambient-scene.portal-video-geometry #ambient-video{inset:auto;left:var(--portal-video-x);top:var(--portal-video-y);width:var(--portal-video-w);height:var(--portal-video-h)}
@media(prefers-reduced-motion:reduce),(forced-colors:active){.portal-video-mirror{display:none!important}}


/* V5.15 finish polish — soft ambient overlay instead of header/footer scars. */
:root{
  --ambient-overlay-top:.52;
  --ambient-overlay-bottom:.58;
  --ambient-overlay-center:.18;
}

.ambient-scene,
.ambient-scene video{
  -webkit-mask-image:none !important;
  mask-image:none !important;
}

.ambient-scene::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(
      to bottom,
      rgba(248,249,246,var(--ambient-overlay-top)) 0%,
      rgba(248,249,246,.26) 10%,
      rgba(248,249,246,0) 23%,
      rgba(248,249,246,0) 77%,
      rgba(248,249,246,.28) 90%,
      rgba(248,249,246,var(--ambient-overlay-bottom)) 100%
    ),
    radial-gradient(
      ellipse 44% 24% at 50% 47%,
      rgba(248,249,246,var(--ambient-overlay-center)) 0%,
      rgba(248,249,246,.10) 54%,
      rgba(248,249,246,0) 100%
    );
  opacity:1;
  transition:opacity 360ms ease;
}

html.intro-active .ambient-scene::after,
html.intro-pending .ambient-scene::after,
html.portal-reveal .ambient-scene::after{
  opacity:0;
}

@media(max-width:760px){
  :root{
    --ambient-overlay-top:.42;
    --ambient-overlay-bottom:.46;
    --ambient-overlay-center:.12;
  }

  .ambient-scene::after{
    background:
      linear-gradient(
        to bottom,
        rgba(248,249,246,var(--ambient-overlay-top)) 0%,
        rgba(248,249,246,.20) 11%,
        rgba(248,249,246,0) 24%,
        rgba(248,249,246,0) 78%,
        rgba(248,249,246,.22) 89%,
        rgba(248,249,246,var(--ambient-overlay-bottom)) 100%
      ),
      radial-gradient(
        ellipse 78% 22% at 50% 49%,
        rgba(248,249,246,var(--ambient-overlay-center)) 0%,
        rgba(248,249,246,.07) 58%,
        rgba(248,249,246,0) 100%
      );
  }
}


/* Studio V5.16 — seamless handoff: one paper background, one moving crop. */
html body{background:radial-gradient(ellipse 68% 60% at 50% 44%,#fff 0%,#fafaf8 40%,var(--paper) 100%)}
html .studio-home,html #main,html .studio-header,html .studio-footer{background:transparent}
/* The white splash remains opaque outside the growing aperture. */
html.intro-active.portal-reveal .ambient-scene.portal-video-geometry{
  -webkit-mask-image:none;mask-image:none;
}
.ambient-scene.portal-video-geometry.portal-video-settling #ambient-video{
  transition:left 500ms cubic-bezier(.22,.61,.36,1),top 500ms cubic-bezier(.22,.61,.36,1),width 500ms cubic-bezier(.22,.61,.36,1),height 500ms cubic-bezier(.22,.61,.36,1)!important;
}
@media(prefers-reduced-motion:reduce){.ambient-scene.portal-video-geometry.portal-video-settling #ambient-video{transition:none!important}}

/* V5.37 — Mobile title spacing */
@media (max-width: 760px) {
    .studio-question {
        position: relative;
        top: 12px;
    }
}

/* V5.38 — Mobile miniature alignment and browser tint */

@media (max-width: 760px) {

    html, body {
        background-color: #F6F6F4;
    }

    .studio-mini .mini-core > :first-child:not(.mini-prompt) {
        translate: 0 .375em;
    }

}
