/* SHIPPED TOOLS — stacked sections: sticky overview sidebar on the left, live tool on the right */
.work-title{font-style:italic;font-weight:600}
/* page intro fills the first screen */
/* the paper behind the intro stays still (like the landing page); the banner and intro text scroll off it,
   then the first tool slides up over it. site.js sets the hero height and the first tool's overlap. */
.tools-hero{position:relative}
.tools-hero-bg{position:sticky;top:var(--nav-h);height:calc(100vh - var(--nav-h));height:calc(100svh - var(--nav-h));
  background:var(--paper) url("../images/paper-tile.webp?v=82b1c0bc") 0 0/701px 981px repeat}
.tools-hero-in{position:relative;z-index:1;margin-top:calc(-100vh + var(--nav-h));margin-top:calc(-100svh + var(--nav-h));
  min-height:calc(100vh - var(--nav-h));min-height:calc(100svh - var(--nav-h));display:flex;flex-direction:column}
.tools-intro{display:flex;justify-content:center;padding:72px 16px 0}
.tools-intro p{max-width:760px;font-size:20px;line-height:1.5;text-align:center}

/* each tool is a scroll "track" with a stage stuck under the nav. Scrolling moves the tool first, then the sidebar,
   then the next track's stage slides up over this one. site.js sets track heights, overlaps, and the offsets. */
.tool-stack{position:relative}
.tool-sec{position:relative;z-index:calc(1 + var(--i,0))}
.tool-stage{position:sticky;top:var(--nav-h);height:calc(100vh - var(--nav-h));height:calc(100svh - var(--nav-h));overflow:hidden;
  display:grid;grid-template-columns:440px minmax(0,1fr);grid-template-rows:100%;align-items:start;
  background:var(--paper) url("../images/paper-tile.webp?v=82b1c0bc") 0 0/701px 981px repeat}
.tool-stage{box-shadow:0 -14px 28px rgba(0,0,0,.18)}
.tool-sec .sidebar{position:relative;top:auto;height:100%;min-height:0;overflow:hidden}
.tool-sec .sidebar-in,.tool-main{will-change:transform}
.tool-name{font-weight:400;font-size:28px;line-height:1.3;color:#fff;margin:0;text-wrap:balance}
.tool-desc{font-weight:500;font-size:15px;line-height:1.5;color:var(--panel-text)}
.tool-desc p+p,.tool-desc ul+p,.tool-desc p+ul+p{margin-top:14px}
.tool-desc p+ul{margin-top:2px}
.tool-desc ul.gap{margin-top:14px}
.tool-desc ul{margin:0;padding-left:1.3em}
.cal-keys{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
/* the three key images stay on one line and shrink together */
.cal-keys img{flex:0 1 auto;min-width:0;max-width:none;height:auto}
.tool-sec .stat-v{white-space:normal}

.tool-main{padding:48px 64px 64px;min-width:0}
.window{width:100%;max-width:1000px;margin:0 auto;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.55);box-shadow:.72px .36px 7.19px rgba(0,0,0,.25);container-type:inline-size}
.window-bar{height:40px;display:flex;align-items:center;gap:8px;padding:0 16px;background:#141416 url("../images/nav-bg.webp?v=4f35360a") center/cover}
.window-bar i{width:10px;height:10px;border-radius:50%;background:rgba(242,242,242,.45)}
.window-embed{position:relative;height:660px;background:rgba(255,255,255,.55)}
/* social tool: shown at 85% so more fits; the window fits its whole page, bottom padding included.
   The page is about 566px plus 1.25x its width (stops growing at 800px wide) */
.tool-social .window-embed{height:1328px;height:calc((566px + 1.25 * min(100cqw / .85, 800px)) * .85)}
.tool-social .window-embed iframe{width:calc(100% / .85);height:calc(100% / .85);transform:scale(.85);transform-origin:0 0}
.window-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}
/* calendar: tighter side gutters, and the page inside the window is shown at 90% so more of it fits across */
.tool-cal .tool-main{padding-left:28px;padding-right:28px}
.tool-cal .window-embed iframe{width:calc(100% / .9);height:calc(100% / .9);transform:scale(.9);transform-origin:0 0}

/* stationary dots on the far left; the lit one is the tool in view */
.tool-dots{position:fixed;left:14px;top:50%;z-index:20;display:flex;flex-direction:column;gap:12px;transform:translateY(-50%);
  opacity:0;pointer-events:none;transition:opacity .35s ease}
.tool-dots.show{opacity:1;pointer-events:auto}
.tool-dot{width:10px;height:10px;padding:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);background:transparent;cursor:pointer;
  transition:background-color .3s ease,border-color .3s ease,transform .3s var(--ease-out)}
.tool-dot:hover{transform:scale(1.25)}
.tool-dot.on{background:var(--label);border-color:var(--label)}

@media (max-width:1180px){
  .tool-stage{grid-template-columns:360px minmax(0,1fr)}
  .tool-main{padding:40px 40px 56px}
}
@media (max-width:899px){
  .tool-sec{height:auto!important;margin-top:0!important}
  .tool-stage{position:relative;top:auto;height:auto;display:block;overflow:visible}
  .tool-stage{box-shadow:none}
  .tool-sec .sidebar-in,.tool-main{transform:none!important}
  .tool-main,.tool-cal .tool-main{padding:24px 16px 56px}
  .tool-dots{display:none}
  .tools-intro p{font-size:18px}
  .tools-hero{height:auto!important}
  .tools-hero-bg{display:none}
  .tools-hero-in{margin-top:0}
}
@media (max-width:767px){
  .tool-cal .window-embed{height:700px}
}
