/* Studio: a separate design iteration, based on design/pro. The original
 * stylesheet stays intact; this file controls the composition of this branch. */
.studio { --studio-width: 1280px; }
.studio .wrap { max-width: var(--studio-width); }
.studio .masthead-in { max-width: var(--studio-width); }
.studio .progress { display: none; }
[data-look="pro"] .studio .brand { font-size: 26px; letter-spacing: -.055em; }
.studio .mobile-actions { display: none; }
[data-look="pro"] .studio .hero--open { padding-top: calc(var(--mast) + 62px); padding-bottom: 24px; }
[data-look="pro"] .studio .hero-open-in { text-align: left; max-width: var(--studio-width); }
[data-look="pro"] .studio .hero--open .hero-title { font-size: clamp(48px, 6.5vw, 90px); line-height: 1.01; letter-spacing: -.045em; margin: 0 0 30px; text-wrap: initial; }
.studio .hero-title > span { color: #5a6259; }
.studio-hero-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
[data-look="pro"] .studio .hero--open .lede { margin: 0; font-size: 19px; line-height: 1.5; max-width: 42ch; }
[data-look="pro"] .studio .hero--open .hero-actions { margin: 0 0 10px; justify-content: flex-start; gap: 10px; }
.studio-hero-start { flex-shrink: 0; }
.studio .hero-line { font-size: 13px; text-align: center; }
.studio .hero-film-wrap { margin-top: 34px; }
.studio .hero-film-frame { aspect-ratio: 2.5; }
.studio .hero-film-frame.is-playing { aspect-ratio: 16/9; }
[data-look="pro"] .studio .hero-film-frame { box-shadow: none; border-radius: 20px; }
.studio .hero-film-frame .hero-loop { object-position: 50% 46%; }
.studio .hero-film-frame .hero-film-video { object-fit: contain; }
.studio .hero-film-frame:not(.is-playing) .hero-film-video { object-fit: cover; }
.studio .hero-film-frame .film-open span { width: 70px; height: 70px; background: #f5f3eef0; }
.studio-film-caption { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; font-size: 13px; color: var(--ink-1); }
.studio-film-caption span:first-child { color: var(--ink-0); font-weight: 500; }
.hero-motion-toggle { display: none; position: absolute; bottom: 18px; right: 20px; z-index: 5; padding: 9px 14px; border: 1px solid #ffffff60; border-radius: 999px; color: white; background: #10232985; backdrop-filter: blur(8px); font: 12px var(--sans); cursor: pointer; }
.film-ui.is-loop .hero-motion-toggle { display: block; }
.hero-motion-toggle:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.studio .hero-film-frame:fullscreen { aspect-ratio: auto; border-radius: 0; }
.studio .hero-film-frame:fullscreen .hero-film-video { object-fit: contain; }

/* Quicker browsing beats between the two large interactive sections. */
[data-look="pro"] .studio .rail-band { padding-block: 44px; }
.studio .rail-head { margin-bottom: 24px; }
.studio .rail { gap: 24px; }
[data-look="pro"] .studio .rcard { background: transparent; border: 0; overflow: visible; box-shadow: none; }
.studio .rcard-shot { border-radius: 12px; overflow: hidden; }
.studio .rcard .k, .studio .rcard-t, .studio .rcard-l { padding-inline: 0; }
.studio .rcard-l { max-width: 40ch; }
.studio .rcard .fcard-play { box-shadow: none; }
[data-look="pro"] .studio .sel { padding-top: 64px; padding-bottom: 40px; }
.studio .sel-all { margin-top: 0; margin-bottom: 48px; }
.studio .cx-rail { gap: 16px 28px; margin-bottom: 32px; }
.studio .cx-card-photo { border-radius: 16px; }
.studio .cx-grid { gap: 32px; }
.studio .cx-card-body { padding-top: 18px; }
.studio .cx-card-title { font-size: 28px; font-weight: 600; letter-spacing: -.025em; }
.studio .cx-card-line { margin-top: 10px; max-width: 45ch; }
.studio .cx-card-meta { margin-top: 12px; font-size: 13px; }
.studio .cx-level-name { font-size: 26px; font-weight: 600; }
.studio .cx-level--empty { opacity: 1; }
.studio .cx-level-name--empty { font-size: 17px; }
.studio .cx-level--empty .cx-empty { font-size: 14px; color: #62645d; }
.studio .cx-rail-item[data-empty] { opacity: 1; }
.studio .cx-dialog { border-radius: 22px; width: min(1150px, calc(100vw - 64px)); }
.studio .cx-dialog::backdrop { background: #111d1ba8; backdrop-filter: blur(7px); }
.studio .cx-modal { padding: 40px; gap: 36px; border-radius: 22px; }
.studio .cx-close { background: #e9e8e1; z-index: 4; }
.studio .cx-video { border-radius: 12px; object-fit: contain; }
.studio .cx-order { margin-top: 24px; }
.studio .cx-order-title { font-size: 16px; margin-bottom: 12px; }
.studio .cx-order-list { padding-left: 22px; }
.studio .cx-order-list li { padding: 9px 0 9px 7px; border-bottom: 1px solid #e6e4df; }
.studio .cx-order-list li::marker { color: #71766d; font-variant-numeric: tabular-nums; }
.studio .cx-modal-title { font-weight: 600; letter-spacing: -.025em; }
.studio .cx-modal-text { padding-right: 0; padding-top: 12px; }
.studio .cx-facts { margin-top: 26px; padding-block: 18px; gap: 10px 24px; }
.studio .cx-actions { padding-top: 4px; }
[data-look="pro"] .studio .studio-lesson { padding-block: 72px 88px; border-top: 1px solid var(--edge); }
.studio .mission-card { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 80px; padding: 70px max(32px, calc((100vw - 1190px)/2)); background: #23332b; }
.studio .mission-card .mission-p { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.03em; max-width: 24ch; }
.mission-support { color: #dbe2d8; font-size: 18px; line-height: 1.6; max-width: 36ch; }
.mission-support p { margin: 0; }
.mission-support p + p { margin-top: 22px; color: #fff; }
.studio .close-card { min-height: 370px; }
.studio .close-card > img { object-position: center 58%; }
.studio .close-card::after { background: #0e1b15a8; }
.studio .foot-brand { letter-spacing: -.05em; }
.studio .who-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.studio .who-card .who-img { aspect-ratio: 3/2; }
.studio [id^="cx-level-"] { scroll-margin-top: calc(var(--mast) + 24px); }
.studio #courses { scroll-margin-top: var(--mast); }

/* Account pages: a human learning scene, sized to sit alongside the form. */
.studio .auth-wrap--split { max-width: var(--studio-width); margin-inline: auto; min-height: min(820px, 100svh); }
.studio .auth-scene img { min-height: 0; object-position: 60% center; }
.studio .auth-scene figcaption { padding: 28px 32px; background: #23332b; color: #f5f3ee; }
.studio .auth-scene h2 { margin: 0 0 10px; font: 600 28px/1.15 var(--sans); letter-spacing: -.025em; }
.studio .auth-scene p { margin: 0; max-width: 43ch; color: #dbe2d8; font-size: 16px; line-height: 1.5; }

/* One light organizations page from first paint, with a readable text measure. */
.studio .studio-organizations .docpage-title { max-width: 26ch; }
.studio .studio-organizations p, .studio .studio-organizations .org-list { max-width: 70ch; }

@media (min-width: 820px) {
  .studio .auth-wrap--split { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .studio .auth-wrap--split .auth-scene { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: clamp(520px, 65vh, 660px); min-height: 0; align-self: center; }
}
@media (max-width: 960px) {
  [data-look="pro"] .studio .nav { gap: 16px; }
  [data-look="pro"] .studio .nav a { font-size: 14px; }
  .studio .mission-card { gap: 40px; padding: 48px 32px; }
  .studio .who-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  :root[data-look="pro"] { --mast: 68px; }
  [data-look="pro"] .studio .masthead-in { height: var(--mast); min-height: var(--mast); flex-wrap: nowrap; padding-block: 0; justify-content: space-between; }
  .studio .mobile-actions { display: flex; align-items: center; gap: 18px; }
  .studio .mobile-signin { color: var(--ink-0); font-size: 14px; font-weight: 500; }
  .studio .mobile-menu-toggle { display: none; align-items: center; gap: 7px; background: none; border: 1px solid var(--edge-hot); padding: 10px 12px; min-height: 44px; border-radius: 999px; font: 500 13px var(--sans); color: var(--ink-0); cursor: pointer; }
  .studio.nav-ready .mobile-menu-toggle { display: flex; }
  /* Without scripting the complete nav stays visible below the wordmark. */
  [data-look="pro"] .studio .nav { position: absolute; top: var(--mast); left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; padding: 18px 24px 24px; background: var(--film-0, #f5f3ee); gap: 8px 20px; border-bottom: 1px solid var(--edge); mask-image: none; -webkit-mask-image: none; overflow: visible; }
  [data-look="pro"] .studio.nav-ready .nav { display: none; }
  [data-look="pro"] .studio.nav-ready .nav.is-open { display: grid; }
  [data-look="pro"] .studio .nav a { display: block; padding: 12px 0; font-size: 17px; }
  [data-look="pro"] .studio .nav .nav-signin { order: initial; justify-self: start; padding: 12px 18px; font-size: 15px; }
  .studio .nav-logout { grid-column: 1/-1; }
  .studio:not(.nav-ready) main { padding-top: 195px; }
  [data-look="pro"] .studio .hero--open { padding-top: calc(var(--mast) + 36px); }
  [data-look="pro"] .studio .hero--open .hero-title { font-size: clamp(42px, 7.5vw, 64px); margin-bottom: 24px; }
  .studio-hero-intro { align-items: start; }
  [data-look="pro"] .studio .hero--open .lede { font-size: 16px; }
  .studio .hero-actions .btn-amber, .studio .hero-actions .btn-ghost { padding: 12px 16px; font-size: 14px; }
  .studio .hero-film-frame { aspect-ratio: 2; }
  .studio .cx-dialog { width: 100%; height: 100dvh; max-width: 100%; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .studio .cx-modal { padding: 72px 22px 28px; display: flex; flex-direction: column; max-height: none; border-radius: 0; gap: 24px; min-height: 100%; }
  .studio .cx-modal-text { order: -1; padding: 0; }
  .studio .cx-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 18px; width: 44px; height: 44px; background: #e9e8e1; }
  .studio .cx-facts { margin-top: 18px; }
  .studio .cx-order-list { font-size: 15px; }
  .studio .auth-wrap--split { min-height: 72svh; }
}
@media (max-width: 640px) {
  [data-look="pro"] .studio .hero--open { padding-top: calc(var(--mast) + 28px); padding-bottom: 12px; }
  [data-look="pro"] .studio .hero--open .hero-title { font-size: clamp(40px, 10.8vw, 60px); letter-spacing: -.045em; line-height: 1.06; }
  .studio-hero-intro { display: block; }
  [data-look="pro"] .studio .hero--open .lede { max-width: 30ch; margin-bottom: 22px; font-size: 16px; }
  .studio .desktop-break { display: none; }
  [data-look="pro"] .studio .hero--open .hero-actions { flex-wrap: nowrap; margin-bottom: 12px; }
  .studio .hero-actions .btn-amber, .studio .hero-actions .btn-ghost { white-space: nowrap; padding-inline: 14px; }
  .studio .hero-line { text-align: left; font-size: 12px; }
  .studio .hero-film-wrap { margin-top: 24px; }
  .studio .hero-film-frame { aspect-ratio: 16/10; }
  [data-look="pro"] .studio .hero-film-frame { border-radius: 16px; }
  .studio .hero-film-frame .film-open span { width: 56px; height: 56px; }
  .studio-film-caption { font-size: 12px; padding-top: 12px; }
  .studio-film-caption span:last-child { display: none; }
  .hero-motion-toggle { bottom: 12px; right: 12px; font-size: 11px; padding: 9px 12px; min-height: 36px; }
  [data-look="pro"] .studio .band-h, [data-look="pro"] .studio .rail-head h2 { font-size: 34px; letter-spacing: -.035em; }
  [data-look="pro"] .studio .rail-band { padding-block: 34px; }
  .studio .rail-head { gap: 12px; }
  .studio .rail-head p { font-size: 15px; }
  [data-look="pro"] .studio .sel { padding-top: 44px; padding-bottom: 28px; }
  .studio .cx-grid { grid-template-columns: 1fr; gap: 32px; }
  .studio .cx-card-title { font-size: 26px; }
  .studio .cx-level--empty { gap: 8px 12px; }
  .studio .cx-level--empty .cx-empty { width: 100%; }
  [data-look="pro"] .studio .studio-lesson { padding-block: 44px; }
  .studio .mission-card { display: block; padding: 38px 24px; border-radius: 18px; }
  .studio .mission-card .mission-p { font-size: 31px; max-width: 22ch; }
  .mission-support { margin-top: 30px; font-size: 16px; }
  .studio .close-card { min-height: 340px; border-radius: 18px; }
  .studio .who-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .studio *, .studio *::before, .studio *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
