/* WAI / Trinity Monsters — second design iteration. */
.home-body .hero-stage{min-height:790px;background:var(--blue)}
.home-body .hero{padding-top:60px;padding-bottom:58px}
.home-body .hero h1{font-size:clamp(44px,6.8vw,104px);line-height:1.12;letter-spacing:-.055em;margin:0 0 32px}
.home-body .hero-word{color:inherit;text-decoration:none;border:0;position:relative;cursor:pointer}
.home-body .hero-word:hover{color:inherit;text-shadow:inherit}
.home-body .hero-copy{pointer-events:none}
.home-body .hero-copy .hero-word{pointer-events:auto}
.home-body .hero-subline{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:var(--cream);font-size:20px;line-height:1.4;text-shadow:none;max-width:none}
.ai-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 11px;border:1px solid #fbf1df70;border-radius:12px;background:#fbf1df12;color:var(--cream);font-size:20px;font-weight:500;line-height:1.3;box-shadow:inset 0 1px 1px #fff2;pointer-events:auto;transition:background .18s,color .18s}
.ai-trigger>span{font-size:13px;color:#f6b7d5}
.ai-trigger:hover,.ai-trigger[aria-expanded=true]{background:var(--cream);color:var(--ink)}
.ai-trigger:hover>span,.ai-trigger[aria-expanded=true]>span{color:#ac547e}
.fde-plus{opacity:.7}
.fde-trigger{display:inline-flex;align-items:center;gap:12px;padding:11px 15px;background:var(--orange);color:var(--ink);border:1px solid #ffe2bb;border-radius:12px;box-shadow:inset 0 2px 1px #fff8,0 4px 0 #bc8e5d;font-size:18px;font-weight:500;line-height:1.3;pointer-events:auto;transition:transform .18s,background .18s}
.fde-trigger:hover,.fde-trigger[aria-expanded=true]{background:#ffd9a6;transform:translateY(-2px)}
.fde-help{display:grid;place-items:center;width:21px;height:21px;border:1px solid #29306655;border-radius:50%;font:500 13px/1 var(--font)}
.fde-team{font-size:19px;margin-left:5px}
.fde-note{position:fixed;inset:auto;width:430px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:0;padding:24px;background:var(--cream);color:var(--ink);border:1px solid white;border-radius:20px;box-shadow:0 5px 0 #c1c8e3,0 18px 55px #17235940;overflow:auto}
.fde-note-header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:16px}
.fde-note h2{font-size:25px;line-height:1.1;letter-spacing:-.04em}
.fde-close{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;background:#e7e9f5;border-radius:9px;font-size:23px;line-height:1}
.fde-close:hover{background:var(--orange)}
.fde-note>p{font-size:17px;line-height:1.5}
.fde-note .fde-note-source{font-size:14px;line-height:1.55;border-top:1px solid #29306625;padding-top:15px;margin-top:18px}
.fde-note-source a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:3px}
.fde-note-source strong{font-weight:500;white-space:nowrap}
.ai-note{width:410px;padding:0;background:#fff5ef;border-color:#ffedf5;box-shadow:0 5px 0 #ccb6cf,0 18px 55px #17235940}
.ai-note-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px 13px 21px;background:#e8dff3;border-bottom:1px solid #c7b5d44d}

.ai-note .fde-close{background:#fff5efb3}
.ai-note-art{width:100%;height:clamp(64px,calc(var(--note-space,500px) - 310px),110px);object-fit:cover;object-position:50% 35%;border-bottom:1px solid #e8c6d5}
.ai-note-copy{padding:20px 24px 24px}
.ai-note h2{font-size:21px;line-height:1.1;letter-spacing:-.035em;margin:0}
.ai-note-copy p{font-size:15px;line-height:1.5}
.ai-note-copy .ai-note-lead{font-size:17px;line-height:1.45;margin-bottom:13px}
.ai-note-link{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:19px;padding:11px 15px;border:1px solid #ffe2bb;border-radius:10px;background:var(--orange);box-shadow:0 3px 0 #ce9f73;text-decoration:none;font-size:15px;font-weight:500}
.ai-note-link:hover{background:#ffd9a6}
@media(max-width:760px){
  .home-body .hero-subline{font-size:18px;max-width:none;gap:10px 8px}
  .ai-trigger{font-size:16px;padding:9px 8px;gap:4px}
  .ai-trigger>span{font-size:10px}
  .fde-trigger{font-size:clamp(13px,3.7vw,16px);padding:10px 11px;gap:8px}
  .fde-help{width:18px;height:18px;font-size:12px}
  .fde-team{flex-basis:100%;font-size:17px;margin:4px 0 0}
  .fde-note{padding:20px;border-radius:17px}
  .fde-note h2{font-size:23px}
  .fde-note>p{font-size:16px}
  .ai-note{padding:0}
  .ai-note-art{height:100px}
  .ai-note-copy{padding:17px 20px 21px}
  .ai-note h2{font-size:20px;margin:0}
  .ai-note-copy .ai-note-lead{font-size:16px}
}
.home-body .hero h1 .teaching-line{margin-top:10px}
.home-body .hero-bottom{margin-top:72px;align-items:end}
.home-body .hero-origin{font-size:14px;line-height:1.5;text-align:right;color:var(--cream)}
.home-body .hero-origin span{color:#d8dfff}
.home-body .hero-eyebrow{font-size:14px}
.home-body .hero-eyebrow::before{display:none}
.home-body .desk-jump{font-size:14px}
.home-body .reveal-canvas{opacity:.8}
@media(max-width:760px){.home-body .hero-stage{min-height:650px}.home-body .hero{padding-top:38px;padding-bottom:64px}.home-body .hero h1{font-size:clamp(36px,8.5vw,60px);line-height:1.2;margin-top:0}.home-body .hero-bottom{margin-top:57px;gap:20px}.home-body .hero-origin{font-size:12px}.home-body .hero-eyebrow{font-size:13px}}
@media(max-width:380px){.home-body .hero h1{font-size:34px}.home-body .hero-origin{font-size:12px}.home-body .desk-jump{font-size:12px}}

/* A desktop you can actually use. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-body .lab-desktop{padding:32px clamp(20px,4.5vw,68px) 58px;border-radius:38px 38px 0 0;background:#e1e5f7;margin-top:-28px;min-height:0}
.desk-frame{max-width:1320px;margin:auto;background:#e9ebf8;border:1px solid #fff;border-radius:26px;box-shadow:inset 0 1px 2px #fff,0 6px 0 #b9c3e7,0 25px 55px #29306615;overflow:visible}
.desk-toolbar{height:68px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #2930661c;background:#eff1fb;border-radius:26px 26px 0 0}
.desk-view-tabs{display:flex;align-items:center;gap:5px}.desk-view-tabs button{background:none;border-radius:10px;padding:10px 16px;font-size:14px;display:flex;align-items:center;gap:9px}.desk-view-tabs button[aria-pressed=true]{background:var(--cream);box-shadow:0 2px 0 #cdd1e3,inset 0 1px 1px white}.desk-view-tabs button span{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:var(--blue);color:var(--cream);font-size:11px}
.desk-actions{display:flex;align-items:center;gap:14px}.desk-actions button{background:none;font-size:13px;display:flex;align-items:center;gap:10px;padding:8px}.desk-actions button:hover{color:var(--blue)}.desk-settings-button svg{width:23px;height:23px;stroke-width:1.5}
.desk-space{height:430px;position:relative;isolation:isolate;overflow:hidden;background-image:radial-gradient(#29306614 .8px,transparent .8px);background-size:18px 18px}
.desk-wallpaper{position:absolute;top:112px;left:19%;font-size:clamp(50px,6.4vw,88px);line-height:.99;font-weight:600;letter-spacing:-.07em;color:#2930660b;pointer-events:none;transform:rotate(-5deg)}.desk-wallpaper span{display:block}
.home-body .desktop-files{position:absolute;inset:0;width:min(1100px,100%);margin-inline:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:center;gap:38px 32px;padding:32px clamp(22px,5vw,80px);z-index:2}
.home-body .desktop-file{position:relative;justify-self:center;width:138px;padding:12px;gap:18px;cursor:pointer;user-select:none;touch-action:manipulation;z-index:1}
.home-body .folder{width:98px;height:73px;border-radius:13px;box-shadow:inset 0 3px 2px #ffffffb0,3px 7px 0 var(--folder-edge),8px 17px 20px #56629824}.home-body .folder:before{width:35px;height:11px;top:-10px;left:5px}.home-body .folder svg{width:29px;height:29px}.home-body .file-label{background:#e9ebf8a6;border-radius:6px;padding:2px 5px;font-size:14px;white-space:nowrap}.home-body .desktop-file:hover .folder{transform:translateY(-5px) rotate(4deg)}
.desk-side-note{position:absolute;right:20%;bottom:28px;background:#fbf1df;color:var(--ink);font:10px var(--mono);letter-spacing:.02em;width:207px;padding:19px 21px;border-radius:3px 3px 26px 3px;transform:rotate(7deg);box-shadow:4px 7px 0 #29306616;z-index:1;transition:opacity .25s}.desk-side-note strong{font:400 25px/1.05 var(--font);letter-spacing:-.04em;display:block;margin:14px 0 12px}.desk-side-note>span{font:12px var(--font)}
.home-body .desk-chat{max-width:none;padding:20px 26px 16px;border:0;border-top:1px solid #2930661c;background:#eff1fb;border-radius:0 0 26px 26px;box-shadow:none}
.home-body .chat-shortcuts{gap:9px;margin-bottom:15px;flex-wrap:wrap}.home-body .chat-shortcuts button{font-size:14px;padding:8px 12px;border:0;background:transparent;display:flex;align-items:center;gap:20px}.home-body .chat-shortcuts button span{opacity:.5}.home-body .chat-shortcuts button:hover{background:#e0e5fa;color:var(--blue)}
.home-body .composer{display:flex;flex-direction:column;align-items:stretch;gap:0;border:2px solid var(--blue);border-radius:21px;padding:16px 16px 12px 24px;background:#fffbf2;box-shadow:0 7px 0 var(--blue),0 14px 28px #344ce818;transition:box-shadow .2s,transform .2s}
.composer textarea{width:100%;min-height:48px;max-height:150px;padding:8px 6px 8px 0;resize:none;border:0;background:none;color:var(--ink);font:500 22px/1.5 var(--font);outline-offset:1px}.composer textarea::placeholder{color:#51577f;opacity:1}.composer textarea:focus{outline:none}.home-body .composer:focus-within{transform:translateY(-2px);box-shadow:0 9px 0 var(--blue),0 0 0 5px #fac581a6,0 18px 30px #344ce818}
.composer-toolbar{display:flex;align-items:center;gap:15px;min-height:48px}.tone-menu{position:relative}.tone-menu summary{list-style:none;display:flex;align-items:center;gap:8px;padding:8px 6px 8px 0;cursor:pointer;font-size:14px;font-weight:500}.tone-menu summary::-webkit-details-marker{display:none}.tone-indicator{font-size:26px;color:var(--blue);line-height:1}.tone-chevron{margin-left:9px;opacity:.6}.tone-menu[open] .tone-chevron{transform:rotate(180deg)}
.tone-menu fieldset{position:absolute;bottom:50px;left:-10px;width:330px;z-index:35;border:1px solid white;background:#fbf1df;border-radius:17px;padding:10px;margin:0;box-shadow:0 4px 0 #b9beda,0 16px 50px #29306636}.tone-menu legend{float:left;width:100%;font-size:12px;padding:8px 12px 12px;color:#6e718b}.tone-menu label{display:flex;gap:11px;align-items:center;padding:12px;border-radius:10px;cursor:pointer;clear:both}.tone-menu label:hover{background:#e5e7f7}.tone-menu label:has(input:checked){background:var(--blue);color:var(--cream)}.tone-menu input{accent-color:var(--orange);width:15px;height:15px}.tone-menu label span{display:flex;flex-direction:column;gap:4px}.tone-menu strong{font-size:14px;font-weight:500}.tone-menu small{font-size:12px;opacity:.8}.tone-menu em{font:10px var(--mono);padding:3px 5px;background:#fac58160;border-radius:4px;margin-left:8px}
.reply-length{background:none;border-left:1px solid #29306625;border-radius:0;padding:3px 0 3px 15px;font-size:13px;color:#70758b}.reply-length[aria-pressed=true]{color:var(--blue)}.composer-key{margin-left:auto;font:12px var(--mono);color:#989aa8}.home-body .send{width:48px;height:48px;flex:0 0 48px;margin-left:auto;font-size:29px;border-radius:13px;background:var(--blue);box-shadow:0 3px 0 #2638aa,inset 0 1px 1px #8f9aff}.composer-key+.send{margin-left:0}.home-body .chat-note{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;padding:0 5px;margin-top:14px}.home-body .chat-note a{border:0}
.conversation-view{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;padding:26px 9% 18px;z-index:5;background:#e9ebf8}.chat-empty{margin:auto;text-align:center}.chat-empty>span{font-size:60px;color:var(--blue);line-height:1}.chat-empty h2{font-size:36px;letter-spacing:-.05em;margin:14px 0}.chat-empty p{font-size:16px;color:#6b718e}.home-body .chat-messages{max-height:100%;gap:23px;padding:0;scrollbar-gutter:stable}.home-body .chat-message{font-size:16px;line-height:1.65}.home-body .chat-message-user{padding:10px 18px;border-radius:20px 20px 4px 20px;background:#d8def5;max-width:85%;margin-left:10%;}.home-body .chat-message-answer{padding-left:0;max-width:850px}.chat-answer-label{display:flex;align-items:center;gap:8px;font:12px var(--mono);color:#737895;margin-bottom:9px}.chat-answer-label b{font:500 20px var(--font);color:var(--blue)}.chat-message .chat-jump{display:inline-flex;align-items:center;gap:14px;margin-top:12px;padding:8px 13px;border:1px solid #aab8ec;border-radius:8px;color:var(--blue);background:none;text-decoration:none;font-size:14px}.chat-message .chat-jump:hover{background:var(--blue);color:var(--cream)}

/* Choose a fish, a rod, or both. */
.home-body .toolkit{padding:83px clamp(22px,5vw,80px) 0;background:var(--cream);overflow:hidden}
.toolkit-heading{max-width:1280px;margin:0 auto 45px;display:flex;justify-content:space-between;align-items:end;gap:32px}.toolkit-heading h2{font-size:clamp(58px,7.4vw,108px);line-height:.95;letter-spacing:-.065em;margin-top:19px}.toolkit-heading>p{font-size:18px;line-height:1.65;margin-bottom:4px}.toolkit-heading>p span{color:#797c8d;font-size:15px}
.toolkit-console{max-width:1280px;margin:auto;border-radius:25px;background:#dee4fa;border:1px solid white;box-shadow:0 6px 0 #bac6e5,inset 0 1px 1px white;position:relative;isolation:isolate}
.kit-selector{display:grid;grid-template-columns:repeat(3,1fr);padding:15px;gap:8px;border-bottom:1px solid #abb7d94d;background:#e8ecfa;border-radius:25px 25px 0 0}.kit-selector button{display:flex;align-items:center;gap:20px;padding:16px 22px;border-radius:13px;background:transparent;font-size:16px;box-shadow:none;text-align:left}.kit-selector button>span{font:12px var(--mono);opacity:.6}.kit-selector button[aria-pressed=true]{background:var(--blue);color:var(--cream);box-shadow:0 3px 0 #263da2,inset 0 1px 1px #8a9bff}
.kit-stage{min-height:490px;display:grid;grid-template-columns:1.05fr 1fr;position:relative}.kit-objects{position:relative;min-height:460px;isolation:isolate}.kit-orbit{position:absolute;width:74%;aspect-ratio:1;left:13%;top:7%;border:1px solid #778dd52d;border-radius:50%}.kit-orbit::after{content:'';position:absolute;inset:12%;border:1px solid #778dd525;border-radius:50%}
.kit-fish,.kit-rod{position:absolute;object-fit:contain;filter:drop-shadow(10px 24px 13px #53608f2b);transition:transform .65s cubic-bezier(.22,.8,.2,1),opacity .5s;pointer-events:none;width:82%;height:90%;left:7%;top:4%;will-change:transform}.kit-fish{transform:rotate(-8deg) scale(.86);animation:fish-bob 7s ease-in-out infinite}.kit-rod{opacity:0;transform:translateY(40px) rotate(25deg) scale(.6)}.kit-stage[data-active-kit=learn] .kit-fish{opacity:1;animation:none;transform:translateX(-80px) rotate(-20deg) scale(.35)}.kit-stage[data-active-kit=learn] .kit-rod{opacity:1;transform:rotate(-7deg) scale(.95)}.kit-stage[data-active-kit=together] .kit-fish{animation:none;transform:translate(-70px,55px) rotate(-8deg) scale(.55)}.kit-stage[data-active-kit=together] .kit-rod{opacity:1;transform:translate(80px,-25px) rotate(10deg) scale(.71)}
@keyframes fish-bob{0%,100%{transform:translateY(0) rotate(-8deg) scale(.86)}50%{transform:translateY(-10px) rotate(-3deg) scale(.86)}}
.kit-sticker{position:absolute;left:9%;top:45px;z-index:2;display:grid;place-items:center;border-radius:50%;background:var(--cream);color:var(--ink);border:1px solid #fff;box-shadow:3px 4px 0 #a1b0d545;width:108px;height:108px;transform:rotate(-13deg);font-size:18px;line-height:1.05;text-align:center;letter-spacing:-.03em}
.kit-copy{padding:55px 50px 55px 25px;align-self:center}.kit-code{font:12px var(--mono);color:#6975a0;letter-spacing:.02em}.kit-copy h3{font-size:clamp(38px,4.5vw,65px);line-height:1.06;letter-spacing:-.055em;margin:22px 0}.kit-copy p{font-size:17px;line-height:1.6;max-width:370px;min-height:82px;margin-bottom:28px}.kit-copy .button{font-size:15px}.kit-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #abb7d94d;padding:17px 30px;font-size:13px;color:#6c7695}.kit-bottom>span:last-child{font-size:21px;line-height:1}
.identity-strip{max-width:1280px;margin:70px auto 0;padding:0 0 70px;display:grid;grid-template-columns:.4fr 2fr .7fr;gap:30px;align-items:center}.identity-strip>p{font:12px var(--mono);text-transform:uppercase;color:#737689}.identity-strip h3{font-size:clamp(27px,3vw,42px);line-height:1.25;letter-spacing:-.045em}.identity-strip h3 span{color:#8b8b98}.identity-strip button{font-size:14px;padding:8px 0;border-bottom:1px solid #29306640;background:none;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left}

/* Each folder has its own visual character. */
.home-body .desktop-dialog{position:fixed;margin:0;left:50%;top:50%;transform:translate(calc(-50% + var(--window-x,0px)),calc(-50% + var(--window-y,0px)));width:min(1020px,calc(100vw - 60px));max-height:88vh;border-radius:23px;border:2px solid #fefaff;box-shadow:0 7px 0 #939fc6,0 35px 120px #1e285850;overflow:auto;overscroll-behavior:contain}.home-body .desktop-dialog::backdrop{background:#27387868;backdrop-filter:blur(7px)}
.home-body .dialog-bar{padding:13px 18px;background:#e8ecf9;border-bottom:1px solid #bfc8e0;cursor:grab;user-select:none;touch-action:none}.home-body .dialog-bar:active{cursor:grabbing}.home-body .dialog-title{gap:13px}.window-mark{font-size:24px;color:#7d8cc0}.home-body .dialog-bar h2{font:13px var(--mono);font-weight:400}.window-controls{display:flex;gap:8px}.home-body .dialog-close,.dialog-maximize{min-width:34px;height:34px;border-radius:8px;display:grid;place-items:center;line-height:1;font-size:21px;border:1px solid #b9c4e0;background:var(--cream);box-shadow:0 2px 0 #adb5cf}.home-body .dialog-close:hover{background:var(--orange)}.dialog-maximize{background:#d2dcfc}.home-body .dialog-content{padding:0}.dialog-status{position:sticky;bottom:0;padding:11px 19px;background:#e8ecf9;border-top:1px solid #c3cae0;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#677291;z-index:1}.dialog-status kbd{font:11px var(--mono)}.desktop-dialog.is-maximized{width:calc(100vw - 30px);height:calc(100dvh - 30px);max-height:none;--window-x:0px!important;--window-y:0px!important}
.window-intro{background:var(--blue);color:var(--cream);padding:38px 42px 36px;display:grid;grid-template-columns:1.6fr 1fr;gap:12px 25px;align-items:end}.window-kicker{font:12px var(--mono);letter-spacing:.025em;display:block}.window-intro .window-kicker{grid-column:1/-1;color:#c7d1ff}.home-body .window-intro h3{font-size:clamp(42px,5vw,67px);line-height:1.02;letter-spacing:-.06em;margin:12px 0 0}.window-intro p{font-size:16px;color:#d3dcff}
.awards-wall{padding:26px;display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#e1e6f8}.award-piece{display:flex;flex-direction:column;text-decoration:none;padding:26px 28px;border-radius:16px;min-height:265px;box-shadow:inset 0 2px 1px #ffffff85,0 4px 0 #29306620;transition:transform .2s}.award-piece:hover{transform:translateY(-4px) rotate(-1deg)}.award-edition{font:12px var(--mono)}.award-piece>strong{font-size:clamp(44px,5vw,70px);font-weight:500;line-height:1;letter-spacing:-.05em;margin:32px 0 20px}.award-piece strong em{font-style:normal;opacity:.65}.award-piece strong span{font-size:19px;font-weight:400;letter-spacing:-.025em;margin-left:10px}.award-piece p{font-size:14px;line-height:1.65;margin-top:auto}.award-source{font-size:12px;margin-top:20px}.award-grand{background:var(--orange);transform:rotate(-1deg)}.award-blue{background:var(--blue);color:var(--cream);transform:rotate(1deg)}.award-lilac{background:#c9bced;transform:rotate(.7deg)}.award-cream{background:var(--cream);transform:rotate(-.7deg)}
.awards-international{padding:20px 35px 34px;background:#e1e6f8}.awards-international h4{font-size:22px;font-weight:400;margin:0 0 20px;letter-spacing:-.03em}.awards-international a{display:grid;grid-template-columns:1fr auto;gap:4px 20px;padding:18px 0;border-top:1px solid #aab6d8;text-decoration:none}.awards-international a>span{font-size:20px}.awards-international strong{font-weight:500}.awards-international small{font-size:12px;color:#6c7895}.awards-international b{text-align:right;font-weight:400;color:var(--blue)}.awards-international a:hover>span{color:var(--blue)}
.press-masthead{padding:37px 42px;background:var(--orange);position:relative;border-bottom:2px solid var(--ink)}.press-masthead>span{font:12px var(--mono)}.home-body .press-masthead h3{font-size:clamp(45px,5.8vw,78px);line-height:.98;letter-spacing:-.06em;margin:30px 0 25px}.press-masthead p{font-size:16px;max-width:360px}.press-spread{display:grid;grid-template-columns:1fr 1fr;background:var(--cream)}.press-story{padding:31px 35px;color:var(--ink);text-decoration:none;border-right:1px solid #29306635;border-bottom:1px solid #29306635;display:flex;flex-direction:column;gap:19px;min-height:300px}.press-outlet{font-size:15px;font-weight:600}.press-story h4{font-size:clamp(25px,3vw,39px);font-weight:400;line-height:1.08;letter-spacing:-.045em;margin:0}.press-story p{font-size:14px;color:#71768d}.press-story .story-arrow{font-size:13px;margin-top:auto;align-self:start;border-bottom:1px solid #29306640}.press-lead,.press-last{background:#dce3ff}.press-story:hover{background:var(--blue);color:var(--cream)}.press-story:hover p{color:#dae2ff}
.school-window{background:var(--orange);position:relative;min-height:640px;padding:40px;overflow:hidden}.home-body .school-window h3{font-size:clamp(50px,7vw,96px);line-height:.97;letter-spacing:-.06em;margin:35px 0;position:relative;z-index:1}.school-window>img{position:absolute;right:-45px;top:65px;width:49%;height:470px;object-fit:contain;transform:rotate(-15deg);filter:drop-shadow(10px 20px 15px #b56e2630)}.school-window-copy{max-width:52%;position:relative;z-index:1}.school-window-copy p{font-size:17px;line-height:1.6}.school-window-copy .button{margin-top:25px}.school-stamp{position:absolute;right:30px;bottom:42px;width:132px;height:132px;border:1px solid #fff8;background:var(--cream);border-radius:50%;display:grid;place-items:center;text-align:center;transform:rotate(11deg);font-size:21px;line-height:1.1}
.about-window{background:var(--blue);color:var(--cream);padding:40px}.home-body .about-window h3{font-size:clamp(45px,6vw,85px);line-height:1.03;letter-spacing:-.06em;margin:30px 0 34px}.about-window h3 em{font-style:normal;color:var(--orange)}.about-body{display:grid;grid-template-columns:1fr 1fr;gap:40px}.about-body p{font-size:16px;line-height:1.65}.home-body .about-body p+p{margin:0}.about-timeline{display:grid;grid-template-columns:1fr auto 1fr;gap:30px;margin:40px 0 6px;padding:28px 0;border-top:1px solid #ced6ff50}.about-timeline>div{display:flex;flex-direction:column;gap:12px}.about-timeline strong{font-size:40px;letter-spacing:-.045em;font-weight:400}.about-timeline span{font-size:14px;color:#d0d7fb}.about-timeline>b{font-size:32px;font-weight:400;color:var(--orange)}
.secret-window{padding:40px;background:#f6cfd4}.home-body .secret-window h3{font-size:clamp(50px,6vw,84px);line-height:.98;letter-spacing:-.06em;margin:26px 0}.secret-window>p{font-size:17px;line-height:1.6}.home-body .secret-lab{border-radius:17px;border:3px solid #ffe6e7;box-shadow:0 5px 0 #cd9eb6;max-height:470px;margin-top:30px;object-fit:cover}.secret-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:22px}.secret-bottom>p{font-size:16px}.secret-bottom .button{margin:0}
.settings-window{padding:38px;background:#e2e8ff}.home-body .window-settings{max-width:700px}.home-body .settings-window h3{font-size:55px;line-height:1.02;letter-spacing:-.06em;margin:30px 0}.setting-row{border-top:1px solid #a7b4dc;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative}.setting-row>span:first-child{display:flex;flex-direction:column;gap:8px}.setting-row strong{font-size:17px;font-weight:400}.setting-row small{font-size:13px;max-width:400px;color:#6d7793}.setting-row input{position:absolute;right:0;opacity:0;width:54px;height:32px;cursor:pointer}.toggle-track{flex:0 0 54px;height:32px;border-radius:20px;background:#b9c2dc;box-shadow:inset 0 2px 2px #59668f30;pointer-events:none}.toggle-track:after{content:'';display:block;width:26px;height:26px;border-radius:50%;background:var(--cream);margin:3px;box-shadow:0 2px 2px #29306625;transition:transform .2s}.setting-row input:checked+.toggle-track{background:var(--blue)}.setting-row input:checked+.toggle-track:after{transform:translateX(22px)}.setting-row input:focus-visible+.toggle-track{outline:3px solid var(--orange);outline-offset:4px}.setting-row>kbd,.settings-arrange{border:1px solid #afbcdf;border-radius:8px;width:42px;height:40px;display:grid;place-items:center;background:var(--cream);font-size:22px;box-shadow:0 3px 0 #b8c3dc}
.motion-off *, .motion-off *::before,.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1000px){.home-body .lab-desktop{padding-inline:24px}.home-body .desktop-file{width:120px}.home-body .folder{width:83px;height:63px}.desk-side-note{width:178px;right:19%;font-size:10px}.desk-side-note strong{font-size:22px}.kit-selector button{font-size:14px;padding:14px;gap:12px}.kit-copy{padding-right:30px}.kit-sticker{width:87px;height:87px;font-size:16px}.kit-stage{min-height:460px}.toolkit-heading>p{font-size:16px}.identity-strip{grid-template-columns:.3fr 2fr}.identity-strip button{grid-column:2;max-width:220px}.award-piece>strong{font-size:53px}}
@media(max-width:760px){.home-body .lab-desktop{padding:18px 12px 32px;border-radius:26px 26px 0 0}.desk-frame{border-radius:20px}.desk-toolbar{height:64px;padding:0 12px;gap:5px;border-radius:20px 20px 0 0}.desk-view-tabs button{font-size:13px;padding:9px 11px}.desk-actions{gap:0}.desk-actions button{font-size:12px;padding:8px 6px}.desk-actions #arrange-files{font-size:0;gap:0}.desk-actions #arrange-files span{font-size:23px}.desk-settings-button svg{width:20px;height:20px}.desk-space{height:444px}.home-body .desktop-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 0;align-content:center;padding:20px 2px;}.home-body .desktop-file{position:relative;left:auto;top:auto;width:100%;justify-self:center;padding:8px 0;gap:15px;transform:none;touch-action:manipulation}.home-body .desktop-file:nth-child(n){left:auto;top:auto}.home-body .folder{width:72px;height:53px;border-radius:10px}.home-body .folder svg{width:24px;height:24px}.home-body .file-label{font-size:12px;white-space:normal;padding:2px}.desktop-file.file-about{grid-column:2}.desk-side-note{display:none}.desk-wallpaper{top:178px;left:8%;font-size:45px;opacity:.8}.home-body .desk-chat{padding:13px 12px 14px;border-radius:0 0 20px 20px}.home-body .chat-shortcuts{gap:4px 7px;margin-bottom:9px}.home-body .chat-shortcuts button{font-size:12px;gap:8px;padding:7px 5px}.home-body .chat-shortcuts button:last-child{display:none}.home-body .composer{border-radius:17px;padding:11px 9px 7px 13px}.composer textarea{font-size:16px;min-height:58px}.composer-toolbar{gap:6px}.tone-menu summary{font-size:12px;gap:6px}.tone-indicator{font-size:21px}.tone-chevron{margin-left:0}.tone-menu fieldset{width:290px;left:-5px;bottom:48px}.reply-length{font-size:12px;padding-left:8px}.composer-key{display:none}.home-body .send{width:38px;height:38px;flex-basis:38px;margin-left:auto}.home-body .chat-note{font-size:10px;gap:12px;align-items:start}.home-body .chat-note span{max-width:140px}.conversation-view{padding:20px 15px}.home-body .chat-message{font-size:15px}.home-body .chat-message-user{max-width:90%;margin-left:5%}.chat-empty h2{font-size:30px}.chat-empty p{font-size:14px}.home-body .toolkit{padding:48px 20px 0}.toolkit-heading{align-items:start;flex-direction:column;gap:24px;margin-bottom:30px}.toolkit-heading h2{font-size:66px}.toolkit-heading>p{font-size:16px}.kit-selector{padding:9px;gap:5px}.kit-selector button{flex-direction:column;align-items:start;gap:9px;font-size:12px;padding:12px 8px;line-height:1.3;border-radius:10px}.kit-selector button>span{font-size:11px}.kit-stage{grid-template-columns:1fr}.kit-objects{min-height:300px;height:300px}.kit-copy{padding:10px 26px 32px}.kit-copy h3{font-size:41px;margin-top:17px}.kit-copy p{font-size:16px;min-height:0}.kit-code{font-size:10px}.kit-sticker{left:8%;top:28px;width:78px;height:78px;font-size:14px}.kit-fish,.kit-rod{width:90%;height:100%;left:5%;top:0}.kit-stage[data-active-kit=together] .kit-fish{transform:translate(-40px,35px) rotate(-8deg) scale(.57)}.kit-stage[data-active-kit=together] .kit-rod{transform:translate(48px,-20px) rotate(10deg) scale(.73)}.kit-bottom{padding:15px 20px;font-size:12px}.identity-strip{grid-template-columns:1fr;gap:18px;padding-bottom:45px;margin-top:47px}.identity-strip h3{font-size:29px}.identity-strip button{grid-column:1;margin-top:4px}.home-body .desktop-dialog{width:calc(100vw - 20px);max-height:91dvh;border-radius:17px}.home-body .dialog-bar{padding:10px 12px}.home-body .dialog-bar h2{font-size:11px}.home-body .dialog-close,.dialog-maximize{min-width:31px;height:31px}.dialog-status{padding:10px 13px;font-size:10px}.dialog-status kbd{font-size:10px}.window-intro{padding:29px 24px;grid-template-columns:1fr;gap:20px}.home-body .window-intro h3{font-size:46px}.window-intro p{font-size:14px}.window-kicker{font-size:10px}.awards-wall{padding:17px;grid-template-columns:1fr;gap:19px}.award-piece{padding:23px;min-height:250px}.award-edition{font-size:11px}.award-piece>strong{font-size:56px}.awards-international{padding:15px 23px 25px}.awards-international a>span{font-size:18px}.awards-international h4{font-size:21px}.awards-international small{grid-column:1/-1;font-size:11px}.awards-international b{display:none}.press-masthead{padding:30px 24px}.home-body .press-masthead h3{font-size:48px}.press-masthead>span{font-size:10px}.press-masthead p{font-size:14px}.press-spread{grid-template-columns:1fr}.press-story{padding:27px 24px;min-height:265px}.press-story h4{font-size:33px}.school-window{padding:28px 24px;min-height:690px}.home-body .school-window h3{font-size:62px;margin:30px 0 230px}.school-window>img{width:65%;height:280px;right:0;top:180px}.school-window-copy{max-width:100%}.school-window-copy p{font-size:16px}.school-stamp{width:95px;height:95px;font-size:16px;right:auto;left:28px;bottom:auto;top:275px}.about-window{padding:28px 24px}.home-body .about-window h3{font-size:49px}.about-body{grid-template-columns:1fr;gap:20px}.about-body p{font-size:16px}.about-timeline{gap:12px}.about-timeline strong{font-size:31px}.about-timeline span{font-size:12px}.secret-window{padding:29px 22px}.home-body .secret-window h3{font-size:60px}.secret-window>p{font-size:15px}.secret-bottom{align-items:start;flex-direction:column;gap:20px}.secret-bottom>p{font-size:14px}.settings-window{padding:28px 24px}.home-body .settings-window h3{font-size:48px}.setting-row strong{font-size:16px}.setting-row small{font-size:12px}.setting-row>span:first-child{max-width:75%}}
@media(prefers-reduced-motion:reduce){.kit-fish,.kit-rod{animation:none!important;transition:none!important}}

/* Anime props use opaque white source paper, blended into the scene. */
.kit-objects{background:#dee4fa;overflow:hidden}
.kit-fish,.kit-rod,.school-window>img{mix-blend-mode:multiply;filter:none}
.kit-stage[data-active-kit=together] .kit-fish{transform:translate(-95px,70px) rotate(-8deg) scale(.55)}
.kit-stage[data-active-kit=together] .kit-rod{transform:translate(115px,-15px) rotate(-18deg) scale(.74)}
@media(max-width:760px){
  .kit-orbit{width:260px;max-width:80%;left:50%;top:20px;transform:translateX(-50%)}
  .kit-stage[data-active-kit=together] .kit-fish{transform:translate(-70px,30px) rotate(-8deg) scale(.58)}
  .kit-stage[data-active-kit=together] .kit-rod{transform:translate(75px,-10px) rotate(-18deg) scale(.78)}
}

/* Supporting copy beside the section headline. */
.toolkit-intro{flex:0 1 490px;min-width:0;padding-top:12px}
.toolkit-intro>p{font-size:18px;line-height:1.65;margin:0 0 4px}
.toolkit-intro>p>span{color:#797c8d;font-size:15px}
@media(max-width:760px){
  .toolkit-intro{flex:none;width:100%;max-width:490px;padding-top:0}
  .toolkit-intro>p{font-size:16px}
}

/* Keep small-screen controls and folder content readable. */
@media(max-width:760px){
  .home-body .file-label,.kit-selector button{font-size:14px}
  .home-body .chat-shortcuts button,.tone-menu summary{font-size:13px}
  .home-body .chat-note,.kit-code,.window-kicker,.award-edition,.dialog-status,.dialog-status kbd{font-size:12px}
  .home-body .desktop-dialog{max-width:none}
  .home-body .dialog-bar h2{font-size:12px}
  .home-body .dialog-close,.dialog-maximize{min-width:38px;height:38px}
  .window-intro p,.press-masthead p,.press-story p,.award-piece p,.secret-window>p,.secret-bottom>p{font-size:16px}
}

/* Full-width introduction, experience strip and desktop. */
.home-body .hero-stage>.page-shell{width:100%;max-width:none}
.heritage-strip{display:flex;flex-wrap:wrap;align-items:center;gap:22px 38px;width:100%;padding:23px clamp(22px,5vw,80px);background:var(--orange);color:var(--ink);border-top:1px solid #fff7}
.heritage-intro{display:flex;flex:1 1 560px;align-items:center;gap:20px;font-size:15px;line-height:1.4;letter-spacing:-.025em}
.heritage-brand{font-size:14px;font-weight:600;white-space:nowrap}
.heritage-copy{padding-left:20px;border-left:1px solid #29306640;white-space:nowrap}
.heritage-strip strong{font-weight:600}
.heritage-logos{display:flex;flex:1 1 425px;min-width:0;align-items:center;justify-content:space-between;gap:25px;list-style:none;margin:0;padding:0}
.heritage-logos li{display:flex;align-items:center;justify-content:center;min-width:0}
.heritage-logos img{width:100%;height:32px;object-fit:contain;filter:brightness(0);opacity:.78}
.client-gazprom{width:113px}.client-bork{width:97px}.client-vtb{width:82px}.client-azbuka{width:125px}
.home-body .lab-desktop{padding:0;margin-top:0;border-radius:0}
.home-body .desk-frame{width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}
.home-body .desk-toolbar{padding-inline:clamp(22px,5vw,80px);border-radius:0}
.home-body .desk-space{height:clamp(430px,54vh,620px)}
.home-body .desk-chat{padding:22px clamp(22px,5vw,80px) 20px;border-radius:0}
.home-body .toolkit{padding-bottom:70px}
@media(max-width:760px){
  .heritage-strip{padding:19px 22px 21px;gap:19px}
  .heritage-intro{flex-basis:100%;flex-wrap:wrap;gap:5px 16px;font-size:14px}
  .heritage-brand{font-size:13px}
  .heritage-copy{padding:0;border:0;white-space:normal}
  .heritage-logos{display:grid;grid-template-columns:1.1fr .95fr .8fr 1.2fr;flex-basis:100%;width:100%;gap:16px}
  .heritage-logos li{width:auto}
  .heritage-logos img{height:28px}
  .home-body .desk-toolbar{padding-inline:16px}
  .home-body .desk-space{height:444px}
  .home-body .desk-chat{padding:16px 16px 18px}
  .home-body .toolkit{padding-bottom:48px}
}

/* A headline and three small, playable illustrations. */
.toolkit-heading{display:grid;grid-template-columns:1fr;gap:0;align-items:end}
.toolkit-heading>div:first-child{min-width:0}
.toolkit-heading h2{font-size:clamp(44px,5.4vw,82px);line-height:1.08;letter-spacing:-.055em;margin-top:0}
.kit-censor{display:inline-block;padding:0 .15em .07em;border-radius:.12em;background:var(--blue);color:var(--cream);transform:rotate(-3deg);line-height:.95}
.toolkit-console{border-radius:25px;overflow:clip}.kit-copy h3{margin-top:0}.dialog-status{justify-content:flex-end}
.kit-play{touch-action:pan-y;cursor:crosshair;outline-offset:-5px;user-select:none;-webkit-user-select:none}
.kit-play:focus-visible{outline:3px solid var(--blue)}
.kit-play .kit-fish,.kit-play .kit-rod{left:0;top:0;max-width:none;transform-origin:center;animation:none!important;transition:none!important;pointer-events:none}
.kit-play .kit-sticker{pointer-events:none;white-space:pre-line;z-index:3;line-height:1.15}
.kit-play.is-caught .kit-sticker{background:var(--orange);color:var(--ink)}
.kit-hook-marker{position:absolute;left:0;top:0;width:30px;height:30px;border:1px dashed var(--blue);border-radius:50%;pointer-events:none;z-index:2;opacity:.75}
.is-catch-ready .kit-hook-marker{border:2px solid #de783b;background:#fac58155;box-shadow:0 0 0 5px #fac58133}
.kit-play-controls{position:absolute;bottom:17px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:4;pointer-events:none}
.kit-play-controls p{font-size:12px;line-height:1.4;max-width:350px;color:#626d97}
.kit-play-controls button{flex-shrink:0;font-size:13px;padding:9px 12px;background:var(--cream);border:1px solid white;border-radius:9px;box-shadow:0 3px 0 #bcc4dc;pointer-events:auto}
.kit-play-controls button:hover{background:var(--orange)}
.kit-play-buttons{display:flex;gap:7px;flex-shrink:0;align-items:center;pointer-events:auto}
.kit-play-controls #kit-play-action{min-height:44px;padding:10px 16px;background:var(--blue);color:var(--cream);border-color:#8190ff;box-shadow:0 3px 0 #2535a8;transition:background .2s,box-shadow .2s}
.kit-play-controls #kit-play-action:hover:not(:disabled),.kit-play-controls #kit-play-action.is-ready{background:var(--orange);color:var(--ink);border-color:#ffc79a;box-shadow:0 3px 0 #c28358}
.kit-play-controls #kit-play-action:disabled{background:#ccd3ed;color:#535f91;box-shadow:0 2px 0 #b8c2e3;border-color:#e9edff;cursor:wait}
.kit-play-controls #kit-play-reset{width:44px;height:44px;padding:0;font-size:22px}
.kit-play-controls button:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
@media(max-width:760px){
  .toolkit-heading{grid-template-columns:1fr;gap:25px}
  .toolkit-heading h2{font-size:clamp(36px,9.5vw,66px)}
  .kit-objects.kit-play{height:350px;min-height:350px}
  .kit-play-controls{left:18px;right:18px;bottom:16px;gap:10px}
  .kit-play-controls p{font-size:12px}
  .kit-play-controls button{font-size:12px;padding:8px 10px}
}

/* Motion trails are drawn separately from the original anime artwork. */
.kit-effects{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.kit-play .kit-fish,.kit-play .kit-rod{z-index:2}
.kit-play .kit-sticker{z-index:4}
.kit-hook-marker{z-index:3}
.kit-play-controls{z-index:5}
.kit-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;mix-blend-mode:multiply}
.kit-play.is-pointer:focus-visible{outline:none}
.has-motion-scene .kit-orbit{display:none}
.has-motion-scene .kit-sticker{transition:background .3s;transform-origin:center}
.has-motion-scene .kit-sticker.kit-pop{animation:kit-reaction .4s cubic-bezier(.2,.8,.3,1) both}
.has-motion-scene.is-reeling .kit-sticker{background:var(--orange)}
@keyframes kit-reaction{0%{transform:rotate(-13deg) scale(.87)}55%{transform:rotate(-8deg) scale(1.08)}100%{transform:rotate(-13deg) scale(1)}}
@media(prefers-reduced-motion:reduce){.has-motion-scene .kit-sticker.kit-pop{animation:none}.has-motion-scene .kit-sticker{transition:none}}
.motion-off .has-motion-scene .kit-sticker.kit-pop{animation:none}
@media(max-width:760px){
  .home-body .composer textarea{font-size:17px;min-height:64px}
  .home-body .send{width:42px;height:42px;flex-basis:42px}
  .home-body .composer{padding:12px 11px 10px 15px}
  .home-body .chat-note{margin-top:19px}
}
@media(prefers-reduced-motion:reduce){.home-body .composer{transition:none}}
.motion-off .composer{transition:none}

/* Three edge-to-edge screens; native snapping preserves touch and keyboard scrolling. */
html.home-document{scroll-snap-type:y mandatory;scroll-padding:0}
.home-document.motion-off{scroll-behavior:auto}
.home-body .page-screen{width:100%;height:100svh;height:100dvh;min-height:0;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin:0}
.home-body .intro-screen{display:flex;flex-direction:column;background:var(--blue)}
.home-body .intro-screen .hero-stage{display:flex;flex:1;flex-direction:column;min-height:0}
.home-body .intro-screen .site-header{flex:none;padding-block:clamp(18px,3svh,32px)}
.home-body .intro-screen .hero{display:flex;flex:1;flex-direction:column;justify-content:center;padding-block:clamp(22px,4svh,48px)}
.home-body .intro-screen .hero h1{font-size:clamp(34px,min(6.8vw,11svh),104px);margin-bottom:24px}
.home-body .intro-screen .hero-bottom{margin-top:clamp(24px,4svh,56px)}
.home-body .intro-screen .heritage-strip{flex:none;padding-block:clamp(16px,2.5svh,23px)}
.home-body .lab-desktop{box-shadow:none;background:#e9ebf8}
.home-body .desk-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;background:#e9ebf8}
.home-body .desk-toolbar{background:transparent;border-bottom-color:#29306612;height:60px}
.home-body .desk-space{height:auto;min-height:0}
.home-body .desktop-files{gap:clamp(20px,3.5svh,38px) 32px;padding-block:24px;overflow:auto;align-content:safe center;scrollbar-width:thin}
.home-body .desk-chat{background:transparent;border-top-color:#29306612}
.home-body .toolkit{display:flex;flex-direction:column;padding:0;background:var(--cream)}
.home-body .toolkit-heading{flex:none;width:100%;max-width:none;margin:0;padding:clamp(20px,3.5svh,40px) clamp(22px,5vw,80px)}
.home-body .toolkit-heading h2{font-size:clamp(36px,4.4vw,70px);white-space:nowrap;line-height:1.08}
.home-body .toolkit-console{display:flex;flex:1;min-height:0;flex-direction:column;width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:clip}
.home-body .kit-selector{flex:none;border-radius:0;padding-inline:clamp(16px,3vw,48px)}
.home-body .kit-stage{flex:1;min-height:0}
.home-body .kit-objects.kit-play{height:auto;min-height:0}
.home-body .kit-copy{padding:30px clamp(24px,4vw,64px) 30px 25px}
.home-body .kit-copy h3{font-size:clamp(34px,min(4.3vw,7.5svh),65px)}
.home-body .home-outro{scroll-snap-align:end;scroll-snap-stop:always}
.home-body .home-outro .home-cta{margin:0}
/* Direct touch exploration keeps vertical page scrolling available. */
.home-body .hero-stage{touch-action:pan-y pinch-zoom}
.reveal-hint{display:none;font:11px/1.4 var(--mono);color:#dce1fa;pointer-events:none;transition:opacity .3s}
.home-body .hero-stage.is-reveal-touched .reveal-hint{opacity:0}
.home-body a.desktop-file{text-decoration:none;display:flex;flex-direction:column;align-items:center;background:none}
@media(max-width:760px){
  .home-body .intro-screen .hero h1{font-size:clamp(34px,min(8.5vw,8.6dvh),60px)}
  .home-body .intro-screen .hero{padding-block:22px}
  .home-body .intro-screen .heritage-strip{padding-block:16px;row-gap:13px}
  .heritage-brand{display:none}
  .heritage-intro{font-size:14px}
  .home-body .hero-bottom{align-items:center;flex-wrap:wrap;gap:14px}
  .reveal-hint{display:block}
  .home-body .desk-frame{grid-template-rows:52px minmax(0,1fr) auto}
  .home-body .desk-toolbar{height:52px}
  .home-body .desktop-files{grid-template-rows:repeat(3,minmax(0,1fr));align-content:stretch;align-items:center;gap:clamp(6px,1.4dvh,14px) 0;padding:20px 8px 12px;overflow:auto}
  .home-body .desktop-file{gap:10px;padding:6px 0}
  .home-body .folder{width:clamp(60px,17vw,78px);height:clamp(43px,6.8dvh,58px)}
  .home-body .desk-chat{padding:12px 14px max(16px,env(safe-area-inset-bottom))}
  .home-body .composer textarea{min-height:44px;font-size:16px}
  .home-body .chat-note{margin-top:16px}
  .home-body .toolkit-heading{padding:clamp(14px,2.5dvh,23px) 22px}
  .home-body .toolkit-heading h2{font-size:clamp(40px,10.7vw,66px);white-space:normal;line-height:1.02;letter-spacing:-.055em}
  .kit-heading-tail{display:block}
  .home-body .kit-selector{padding:9px 10px;gap:5px}
  .home-body .kit-selector button{font-size:12px;gap:5px;padding:10px 8px}
  .home-body .kit-stage{min-height:0;grid-template-rows:minmax(0,1fr) auto}
  .home-body .kit-objects.kit-play{height:auto;min-height:0}
  .home-body .kit-copy{padding:12px 22px max(20px,env(safe-area-inset-bottom))}
  .home-body .kit-copy h3{font-size:clamp(26px,4.3dvh,38px);line-height:1.08;margin:0 0 12px}
  .home-body .kit-copy p{font-size:clamp(14px,1.9dvh,16px);line-height:1.45;margin-bottom:15px;min-height:0}
  .home-body .kit-copy .button{min-height:44px;padding:11px 18px}
  .home-body .kit-play-controls{bottom:10px}
  .home-body .kit-play-controls p{font-size:11px;max-width:240px}
  .home-body .kit-sticker{top:18px;width:64px;height:64px;font-size:12px}
}
@media(max-width:360px){
  .home-body .toolkit-heading h2{font-size:36px}
  .home-body .kit-stage[data-active-kit=learn] .kit-copy h3 br{display:none}
}
/* Landscape and zoomed layouts may need more than one viewport to keep every control reachable. */
@media(max-height:540px){
  .home-body .page-screen{height:auto;min-height:100dvh}
  .home-body .desk-frame{min-height:620px}
  .home-body .kit-objects.kit-play{min-height:200px}
  .home-body .intro-screen .hero{flex:auto}
}
@media(pointer:coarse){
  html.home-document:has(#chat-input:focus){scroll-snap-type:none}
}
@media(min-width:761px) and (max-height:700px){
  .home-body .desk-toolbar{height:56px}
  .home-body .desktop-files{gap:18px 32px;padding-block:20px}
  .home-body .desktop-file{padding:8px;gap:12px}
  .home-body .folder{width:78px;height:56px}
}

/* Live answers stay readable; status and retry remain available to keyboard users. */
.home-body .chat-answer-copy{white-space:pre-wrap;overflow-wrap:anywhere}
.home-body .chat-sources{display:flex;flex-wrap:wrap;gap:0 8px}
.home-body .send:disabled{cursor:wait;opacity:.62;box-shadow:none;transform:none}
.home-body .chat-message-answer.is-loading .chat-answer-copy{color:#666c8c}
.home-body .chat-retry:focus-visible,.home-body .chat-jump:focus-visible{outline:3px solid var(--orange);outline-offset:3px}

.home-body .send.chat-stop{font-size:16px;margin-left:0}

/* Touch layouts follow the document, without nested desktop scroll areas. */
@media(max-width:1024px), (hover:none) and (pointer:coarse){
  html.home-document{scroll-snap-type:none;scroll-padding:16px}
  .home-body .page-screen{height:auto;min-height:0;scroll-snap-align:none;scroll-snap-stop:normal}
  .home-body .home-outro{scroll-snap-align:none;scroll-snap-stop:normal}
  .home-body .intro-screen{min-height:100svh}
  .home-body .intro-screen .hero-stage{flex:1 0 auto}
  .home-body .intro-screen .hero{flex:1 0 auto;padding-block:48px}
  .home-body .intro-screen .hero h1{font-size:clamp(34px,8.5vw,66px)}
  .home-body .intro-screen .hero-bottom{margin-top:32px}
  .home-body .desk-frame{height:auto;min-height:0;display:block}
  .home-body .desk-toolbar{height:auto;min-height:64px;padding:8px 12px;gap:8px;border-radius:0}
  .desk-view-tabs{min-width:0;gap:4px}
  .desk-view-tabs button{min-height:44px;padding:10px 12px;font-size:14px}
  .desk-actions button{min-width:44px;min-height:44px;justify-content:center}
  .home-body .desk-space{height:auto;min-height:0;overflow:visible}
  .home-body .desktop-files{position:relative;inset:auto;grid-template-rows:none;grid-auto-rows:minmax(116px,auto);gap:26px 8px;padding:34px 12px 28px;overflow:visible;align-content:start;align-items:start}
  .home-body .desktop-file{width:100%;max-width:138px;min-width:0;padding:8px 0;gap:14px}
  .home-body .folder{width:clamp(60px,17vw,78px);height:58px;flex-shrink:0}
  .home-body .file-label{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.35}
  .home-body .conversation-view{position:relative;inset:auto;min-height:280px;justify-content:start;padding:26px 20px}
  .home-body .chat-messages{max-height:none;overflow:visible;scrollbar-gutter:auto;overscroll-behavior:auto}
  .home-body .chat-message{scroll-margin-block:20px;min-width:0}
  .home-body .chat-message .chat-jump{min-height:44px}
  .home-body .desk-chat{padding:18px 16px 24px;border-radius:0}
  .home-body .composer{padding:12px 12px 10px;border-radius:20px;transform:none}
  .home-body .composer:focus-within{transform:none}
  .home-body .composer textarea{min-height:64px;font-size:16px;line-height:24px;padding:8px 2px;overflow-y:auto;scroll-margin-block:24px}
  .home-body .composer-toolbar{flex-wrap:wrap;gap:4px 8px;min-height:48px}
  .home-body .tone-menu summary{min-height:44px;gap:5px;font-size:13px;padding:8px 0}
  .home-body .tone-indicator{font-size:22px}
  .home-body .tone-chevron{margin-left:2px}
  .home-body .reply-length{min-height:44px;font-size:12px;padding:8px 0 8px 8px}
  .home-body .send{width:44px;height:44px;flex-basis:44px;margin-left:auto}
  .home-body .composer-key{display:none}
  .home-body .tone-menu fieldset{position:fixed;inset:auto 16px max(16px,env(safe-area-inset-bottom));width:auto;max-width:420px;margin-inline:auto;max-height:min(350px,calc(100svh - 32px));overflow:auto;overscroll-behavior:contain;z-index:120;box-shadow:0 4px 0 #b9beda,0 16px 60px #29306655}
  .home-body .chat-note{flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:18px;font-size:12px}
  .home-body .chat-note>a{display:inline-flex;align-items:center;min-height:44px}
  .home-body .toolkit{overflow:visible}
  .home-body .toolkit-heading{padding:30px 22px}
  .home-body .toolkit-heading h2{font-size:clamp(38px,10.7vw,66px);white-space:normal}
  .home-body .toolkit-console{flex:none;overflow:visible}
  .home-body .kit-selector{padding:12px 10px;gap:6px}
  .home-body .kit-selector button{min-height:64px;min-width:0;font-size:13px;line-height:1.35}
  .home-body .kit-stage{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;flex:none}
  .home-body .kit-objects.kit-play{height:clamp(280px,82vw,390px);min-height:280px;touch-action:pan-y pinch-zoom}
  .home-body .kit-copy{padding:24px 22px 32px}
  .home-body .kit-copy h3{font-size:clamp(30px,8vw,42px);margin:0 0 16px}
  .home-body .kit-copy p{font-size:16px;line-height:1.5;margin-bottom:22px}
  .home-body .kit-copy .button{min-height:48px}
  .home-body .kit-play-controls p{font-size:12px}
  .home-body .desktop-dialog{inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;transform:none;border:0;border-radius:0;box-shadow:none;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:var(--panel)}
  .home-body .dialog-bar{min-height:64px;padding:10px 16px;gap:12px;cursor:auto;touch-action:pan-y pinch-zoom}
  .home-body .dialog-title{min-width:0;gap:8px}
  .home-body .dialog-bar h2{font:500 14px/1.35 var(--font);overflow-wrap:anywhere}
  .home-body .dialog-close{min-width:44px;width:44px;height:44px;flex:none;font-size:26px}
  .home-body .window-controls{flex-shrink:0}
  .home-body .dialog-maximize,.home-body .dialog-status{display:none}
  .home-body .dialog-content{overflow-wrap:anywhere}
  .home-body .dp-project-action{position:static;margin-bottom:0;padding-bottom:0}
  .home-body.is-modal-open{position:fixed;top:var(--locked-scroll-top);left:0;right:0}
  .home-body .footer-links{flex-wrap:wrap;gap:8px 20px}
  .home-body .footer-links a,.home-body .footer-dna{display:inline-flex;align-items:center;min-height:44px}
}
@media(hover:none) and (pointer:coarse){
  .home-body .desktop-file:hover .folder{transform:none}
}
