/* movetheneedle.studio home: the studio page.
   Loaded after tokens.css and landing.css, which supply the fonts, the grid
   ground, the header, the brand lockup, the theme toggle and the footer. This
   file lays out the statement and the needle beside it. The app-health funnel lives at /app-health. */

body.studio{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.studio-main{flex:1;display:flex;align-items:center;padding:clamp(56px,10vh,120px) 0}
.studio-layout{width:100%;max-width:1120px;margin-inline:auto;padding-inline:var(--edge);
  display:grid;grid-template-columns:minmax(0,1fr);gap:48px;align-items:center}
.studio-copy .eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:22px}
.studio-copy .eyebrow::before{content:"";width:28px;height:1px;background:var(--accent)}
/* The growth trace (public/studio.js draws it on a canvas): bets come up from
   below as thin lines and run experiments (agents race three arms at a dip).
   A bet that works joins at its point: its dot travels into the portfolio's
   dot and its path fades away. Each join thickens the portfolio line, grows
   its dot and sends a ripple that lifts the bets still in flight. Some bets
   fade out. Random every bet. Shown on every screen size. */
.studio-trace{display:block;margin:0 auto;width:100%;max-width:420px}
.studio-trace canvas{display:block;width:100%;height:auto;aspect-ratio:400/290}
/* Narrow screens: one column, the trace between the statement and the body
   (the copy block dissolves so the figure can sit between them). */
@media (max-width:999px){
  .studio-layout{gap:0}
  .studio-copy{display:contents}
  .studio-copy .eyebrow{order:1}
  .studio-statement{order:2}
  .studio-trace{order:3;margin-top:clamp(20px,5vw,32px)}
  .studio-body{order:4}
  .studio-layout{display:flex;flex-direction:column;align-items:stretch}
}
@media (min-width:1000px){
  .studio-layout{grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:clamp(48px,5vw,80px)}
  .studio-statement{font-size:clamp(38px,3.4vw,50px);max-width:none}
  .studio-trace{max-width:none;margin:0}
}
.studio-statement{font-size:clamp(34px,5vw,58px);line-height:1.06;letter-spacing:-.03em;color:var(--ink);max-width:16ch}
.studio-body{margin-top:clamp(24px,3.4vw,36px);display:flex;flex-direction:column;gap:14px;max-width:60ch}
.studio-body p{color:var(--ink-soft);font-size:clamp(16px,1.15vw,18px);line-height:1.65;text-wrap:pretty}
.studio .site-footer{width:100%}
/* The sell line is the contact: its last words are the mailto, in the accent. */
.studio .site-footer .studio-contact{color:var(--accent-text);text-decoration:none;border-bottom:1px solid currentColor}
.studio .site-footer .studio-contact:hover{color:var(--accent-deep)}
/* The header's dot pulses like the pen in the trace (same 1.6s beat). */
.studio .site-header .brand .dot-mark{animation:studio-dot-pulse 1.6s ease-out infinite}
@keyframes studio-dot-pulse{
  0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 55%,transparent)}
  100%{box-shadow:0 0 0 8px color-mix(in srgb,var(--accent) 0%,transparent)}
}
@media (prefers-reduced-motion:reduce){.studio .site-header .brand .dot-mark{animation:none}}
