.home-studio-shell {
  width: min(1250px, 100%);
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  grid-template-areas: "heading demo" "composer demo" "ideas demo" "teachers demo";
  column-gap: clamp(24px, 4vw, 68px);
  justify-items: stretch;
}
.home-studio-heading { grid-area: heading; text-align: left; }
.home-studio-heading h1 { font-size: clamp(60px, 6.1vw, 90px); }
.home-studio-heading > p:last-child { margin: 18px 0 0; max-width: 53ch; }
.home-build-composer { grid-area: composer; margin-top: 20px; }
.home-build-composer textarea { min-height: 86px; height: 86px; font-size: 16px; }
.home-starter-row { grid-area: ideas; flex-wrap: wrap; justify-content: flex-start; }
.home-teacher-links { grid-area: teachers; justify-content: flex-start; }
.home-save-note { flex-wrap: wrap; gap: 4px 10px; padding-block: 8px; }
.student-demo { grid-area: demo; align-self: center; min-width: 0; border: 1px solid #b6b6aa; border-radius: 16px; overflow: hidden; background: #fffdf7; box-shadow: 0 16px 40px #25272217; }
.demo-bar, .player-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; }
.demo-bar { font: 700 12px Manrope, sans-serif; color: #43524a; }
.demo-bar span:last-child { color: #68665f; font-weight: 500; }
.demo-launch { display: grid; position: relative; place-items: center; background: #100f27; color: white; }
.demo-launch img { width: 100%; height: auto; }
.demo-play { position: absolute; padding: 10px 18px; border-radius: 24px; background: white; color: #201832; font: 800 14px Manrope, sans-serif; box-shadow: 0 3px 16px #0007; }
.demo-launch:hover .demo-play { background: #ffdc89; }
.demo-launch:focus-visible { outline: 3px solid var(--persimmon); outline-offset: -3px; }
.demo-caption { padding: 16px 20px 19px; }
.demo-caption h2 { margin: 0; font: 500 clamp(21px, 2.3vw, 33px)/1.1 Fraunces, Georgia, serif; }
.demo-caption p { margin: 5px 0 0; font-size: 14px; color: #58574e; }
.project-player { padding: 0; width: min(940px, 94vw); max-width: 100%; border: 1px solid #aea899; border-radius: 14px; background: var(--rice); }
.project-player::backdrop { background: #151321bc; }
.player-header { height: 52px; }
.player-header button, .class-actions button { min-height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; background: white; font: inherit; cursor: pointer; }
.project-player iframe { display: block; border: 0; width: 100%; height: min(78dvh, 810px); background: #101020; }
.class-main { width: min(1120px, 90%); margin: auto; }
.class-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; align-items: center; padding: clamp(36px, 6vw, 86px) 0; }
.class-label { margin: 0 0 12px; font: 800 12px Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--celadon-deep); }
.class-main h1, .class-main h2 { margin: 0; font: 500 clamp(44px, 6vw, 78px)/.98 Fraunces, Georgia, serif; letter-spacing: -.045em; }
.class-main h1 em { color: var(--celadon-deep); }
.class-main h2 { font-size: clamp(32px, 4.4vw, 58px); }
.class-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.class-main p:not(.class-label) { color: #56544f; }
.class-page .site-header > a:last-child { font-size: 14px; font-weight: 750; }
.class-main .primary-action { display: inline-block; border: 0; border-radius: 7px; background: #225d51; color: white; padding: 12px 16px; font: 750 14px Manrope, sans-serif; cursor: pointer; }
#copy-status { margin-bottom: 0; font-size: 13px; overflow-wrap: anywhere; }
#copy-status:empty { margin: 0; }
.class-plan { list-style: none; padding: 0 22px; background: #f5f1e7; border: 1px solid var(--line); border-radius: 14px; }
.class-plan li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 15px 0; }
.class-plan li + li { border-top: 1px solid var(--line); }
.class-plan li > span { color: var(--celadon-deep); font-weight: 750; }
.class-plan p { margin: 3px 0 0; font-size: 14px; }
.class-activity { scroll-margin-top: 98px; border-top: 1px solid var(--line); padding: 32px 0 55px; }
.activity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.activity-grid > * { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf9; }
.activity-grid h3 { margin: 0; }
.activity-grid p { margin: 6px 0 14px; font-size: 14px; }
.try-original .demo-launch { border-radius: 8px; overflow: hidden; }
.activity-form textarea { width: 100%; padding: 12px; border: 1px solid #9fada5; border-radius: 8px; margin-bottom: 8px; font: inherit; resize: vertical; }
.class-test { max-width: 78ch; }
@media (max-width: 900px) {
  .home-studio-hero { padding-top: 28px; }
  .home-studio-shell { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "composer" "demo" "ideas" "teachers"; width: min(620px,100%); }
  .home-studio-heading h1 { font-size: clamp(46px,9vw,65px); }
  .home-studio-heading h1 br { display: none; }
  .home-studio-heading h1 em::before { content: " "; }
  .home-studio-heading .eyebrow { margin-bottom: 14px; }
  .home-studio-heading > p:last-child { margin-top: 12px; }
  .student-demo { margin-top: 16px; display: grid; grid-template-columns: minmax(130px,.95fr) 1fr; }
  .student-demo .demo-launch { grid-column: 1; grid-row: 1 / 3; }
  .student-demo .demo-launch img { height: 100%; object-fit: cover; }
  .student-demo .demo-play { padding: 8px 12px; font-size: 12px; }
  .student-demo .demo-bar { grid-column: 2; padding: 12px 12px 0; font-size: 11px; }
  .student-demo .demo-bar span:last-child { display: none; }
  .student-demo .demo-caption { grid-column: 2; padding: 5px 12px 12px; }
  .student-demo .demo-caption p { font-size: 12px; }
  .home-starter-row { width: 100%; flex-wrap: nowrap; }
  .home-teacher-links > span { text-align: left; }
  .class-intro, .activity-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .home-studio-hero { padding-top: 20px; }
  .home-build-composer { margin-top: 14px; }
  .home-build-composer textarea { height: 70px; min-height: 70px; }
  .home-composer-footer { grid-template-columns: minmax(0,1fr) auto; }
  .home-composer-footer > button { min-width: 84px; padding: 10px; gap: 6px; }
  .home-save-note { min-height: 52px; gap: 2px; }
  .home-starter-row, .home-teacher-links { margin-top: 9px; }
}
.activity-form .class-actions a { color: var(--celadon-deep); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
#home-build-brief { scroll-margin-top: 116px; }
