/* Interactive fieldwork, using the deck's existing experience / reason palette. */
.media-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(300px,.85fr); gap:clamp(32px,6vw,100px); align-items:center; }
.media-copy { min-width:0; }
.media-copy h2 { max-width:19ch; }
.media-copy .dek { font-size:clamp(20px,2vw,27px); margin-top:20px; }
.media-copy .knowledge { gap:24px; margin-top:24px; }
.media-copy .knowledge h3 { font:600 26px var(--display); }
.media-copy .knowledge p { font-size:19px; margin-top:8px; }
.media-copy .knowledge article:last-child::before { display:none; }
.media-copy .bridge { font-size:19px; margin-top:20px; padding-top:14px; }
.media-copy .instructions { margin-top:22px; }
.media-copy .instructions li { font-size:22px; padding:15px 0; grid-template-columns:30px 1fr; }
.media-copy .spectrum { margin-top:20px; padding-top:16px; }
.media-copy .spectrum-question { font-size:19px; margin-top:14px; }
.media-copy .spectrum-labels b { font-size:23px; }
.media-copy .spectrum-labels small { font-size:13px; }
.media-copy .spectrum-response { font-size:13px; }
.device { position:relative; width:min(100%,360px); margin:auto; color:#292b36; }
.device-shell { height:min(64vh,610px); min-height:370px; border:7px solid #292b36; border-radius:34px; overflow:hidden; background:#fffaf0; box-shadow:0 18px 40px #24273122,0 3px 5px #24273126; position:relative; }
.device-head { height:38px; display:flex; justify-content:space-between; align-items:center; padding:0 18px; background:#292b36; color:#f3eddf; font:500 11px var(--sans); letter-spacing:.06em; }
.device-head span:last-child { opacity:.65; }
.embed-screen { position:relative; height:calc(100% - 38px); }
.embed-screen iframe { width:100%; height:100%; border:0; background:#fffaf0; display:block; }
.embed-cover { position:absolute; inset:0; display:grid; place-content:center; gap:18px; padding:28px; text-align:center; background:#e6e9ee; overflow:hidden; }
.embed-cover img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:top; inset:0; }
.embed-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(transparent 20%,#262934aa 100%); pointer-events:none; }
.embed-cover .load-embed { z-index:1; align-self:end; margin-top:160px; background:#fffaf0ee; color:#292b36; backdrop-filter:blur(12px); box-shadow:0 5px 22px #0003; border:1px solid #fffc; }
.embed-cover .cover-title { z-index:1; font:600 52px/1 var(--display); color:#292b36; }
.embed-cover:not(:has(img))::after { background:none; }
.embed-cover:not(:has(img)) .load-embed { margin-top:0; }
.embed-cover .cover-detail { z-index:1; font:400 17px/1.5 var(--sans); color:#5e6069; }
.device-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:14px; }
.device-actions button,.device-actions a,.interaction-button { font:500 14px/1.3 var(--sans); color:var(--reason); background:transparent; border:0; min-height:44px; padding:8px 0; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.interaction-button.primary,.load-embed { border:1px solid var(--ink); background:var(--ink); color:var(--paper); border-radius:6px; min-height:48px; padding:12px 18px; font:500 16px var(--sans); text-decoration:none; cursor:pointer; }
.embed-caption { font:400 12px/1.45 var(--sans); color:var(--muted); margin-top:6px; }
.device-exit { display:none; }
.device.expanded { position:fixed; inset:14px 0; margin:auto; width:min(480px,calc(100vw - 28px)); height:calc(100dvh - 28px); z-index:110; }
.device.expanded::before { content:''; position:fixed; inset:-100vh -100vw; background:#151821d9; z-index:-1; backdrop-filter:blur(8px); }
.device.expanded .device-shell { height:100%; min-height:0; border:1px solid #fff6; border-radius:24px; padding-top:70px; background:#f3eddf; }
.device.expanded .device-head,.device.expanded .device-actions,.device.expanded .embed-caption { display:none; }
.device.expanded .embed-screen { height:100%; }
.device.expanded .device-exit { display:flex; position:absolute; top:12px; right:16px; z-index:5; width:46px; height:46px; align-items:center; justify-content:center; border-radius:50%; border:1px solid #fff9; background:#fff5; color:#292b36; font:300 30px/1 var(--sans); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:0 8px 15px #292b3626,inset 0 1px 1px #fffd; cursor:pointer; }
.device.expanded .device-exit::after { content:''; position:absolute; width:34px; height:9px; bottom:-9px; border-radius:50%; background:#292b3626; filter:blur(6px); pointer-events:none; }
.device.expanded .device-exit-label { display:block; position:absolute; top:25px; left:20px; z-index:4; color:#5e6069; font:500 14px var(--sans); }
.device-exit-label { display:none; }
.mobile-launch-copy { display:none; }
.slide.ink .interaction-button.primary { background:#f3eddf; color:#262934; border-color:#f3eddf; }
body.on-ink .route-label { color:var(--light); }
body.embed-open .slide.active { overflow:visible; }
body.embed-open .deck { z-index:100; }
body.embed-open .slide.active > .frame { animation:none!important; transform:none!important; }
.poll-actions { display:flex; align-items:center; gap:20px; margin-top:10px; }
.poll-state { font:400 12px/1.4 var(--sans); color:var(--muted); }
.poll-device { width:100%; }
.poll-device .device-shell { border:1px solid var(--line); border-radius:8px; height:260px; min-height:0; box-shadow:none; }
.poll-device .device-head { display:none; }
.poll-device .embed-screen { height:100%; }
.poll-device.expanded { width:min(720px,calc(100vw - 28px)); }
.poll-device.expanded .device-shell { height:100%; padding-top:70px; }
.poll-device .device-actions { margin-top:0; }
.poll-device .embed-cover .load-embed { margin-top:0; }
.poll-device .cover-title { font-size:32px; }
.poll-device:not(.connected) .device-shell { height:70px; }
.poll-device:not(.connected) .cover-title,.poll-device:not(.connected) .cover-detail,.poll-device:not(.connected) .device-actions { display:none; }
.poll-device:not(.connected) .embed-cover { padding:8px; }
.media-copy:has(.poll-device.connected) > .knowledge,.media-copy:has(.poll-device.connected) > .dek { display:none; }
.poll-fallback { margin-top:12px; }
.poll-fallback summary { cursor:pointer; font-size:13px; color:var(--muted); padding:8px 0; }
.route-choices button { overflow:hidden; position:relative; }
.route-choices .choice-image { height:145px; width:100%; object-fit:cover; object-position:50% 38%; display:block; margin:0 0 20px; }
.route-choices .choice-flow { height:145px; display:flex; align-items:center; justify-content:space-around; gap:12px; margin-bottom:20px; }
.choice-flow span { border:1px solid var(--reason); padding:14px 10px; min-height:100px; width:27%; font:600 22px var(--display); display:grid; align-content:center; }
.choice-flow b { font-size:26px; font-weight:400; color:var(--reason); }
.hero-figure { border:1px solid #606577; padding:10px; transform:rotate(2deg); }
.hero-figure img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.hero-figure figcaption { margin:18px 8px 10px; font:italic 450 23px/1.45 var(--serif); }
.hero-figure small { display:block; font:400 12px var(--sans); color:var(--muted); margin-top:12px; }
.slide.hero { padding-top:80px; padding-bottom:80px; }
.hero-figure.hero-live { padding:0; border:0; transform:none; animation:none; width:100%; max-width:350px; justify-self:center; }
.hero-live .device:not(.expanded) { width:100%; max-width:350px; }
.hero-live .device:not(.expanded) .device-shell { height:clamp(300px,calc(100svh - 275px),570px); min-height:0; border-color:#505568; box-shadow:0 20px 60px #0005,inset 0 1px 0 #ffffff26; }
.hero-live .device-actions { flex-wrap:wrap; gap:4px 14px; margin-top:8px; }
.hero-live .device-actions button,.hero-live .device-actions a { color:var(--reason); font-size:14px; }
.hero-live .embed-caption { display:none; }
.hero-live figcaption { margin:10px 0 0; font:500 14px/1.45 var(--sans); text-align:center; color:var(--ink); }
.hero-live figcaption small { margin-top:3px; }
.hero-live .embed-cover img { height:100%; aspect-ratio:auto; object-position:50% 50%; }
.sketch-studio { border:1px solid var(--line); background:var(--white); padding:18px; box-shadow:9px 10px 0 #292b360c; transform:rotate(1deg); }
.sketch-studio canvas { width:100%; height:320px; background-color:#fffaf0; background-image:radial-gradient(#c5c3ba 1px,transparent 1px); background-size:18px 18px; border:1px solid #c5c3ba; display:block; touch-action:none; }
.sketch-toolbar { display:flex; gap:8px; align-items:center; justify-content:space-between; padding:12px 0; font-size:13px; }
.sketch-toolbar button { border:1px solid var(--line); background:transparent; color:var(--ink); padding:10px; min-height:44px; cursor:pointer; }
.sketch-studio textarea { width:100%; font:400 16px/1.5 var(--sans); color:var(--ink); background:var(--white); border:1px solid var(--line); padding:10px; margin-top:10px; resize:vertical; min-height:75px; }
.sketch-studio label { display:block; font-size:13px; margin-top:12px; }
.sketch-studio { transform:none; max-height:min(75vh,700px); overflow:auto; }
.sketch-studio canvas { height:220px; }
.sketch-studio input:not([type=checkbox]) { width:100%; font:400 16px var(--sans); background:var(--white); color:var(--ink); border:1px solid var(--line); padding:10px; }
.sketch-studio textarea { min-height:60px; }
.sketch-reasoning { margin:10px 0; }
.sketch-reasoning summary { cursor:pointer; font-size:14px; padding:10px 0; color:var(--reason); }
.sketch-actions>div { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; }
.sketch-actions .sketch-consent { display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.4; margin:12px 0; }
.sketch-consent input { flex-shrink:0; width:22px; height:22px; margin:0; accent-color:var(--reason); }
.sketch-actions [role=status] { font-size:14px; line-height:1.4; margin:10px 0 0; }
.sketch-actions button:disabled { opacity:.6; cursor:not-allowed; }
.sketch-studio canvas { touch-action:pan-y pinch-zoom; }
.sketch-studio.is-drawing canvas { touch-action:none; cursor:crosshair; outline:2px solid var(--reason); outline-offset:2px; }
.sketch-toolbar { flex-wrap:wrap; background:var(--white); }
.sketch-toolbar > span { flex:1 0 100%; }
.sketch-draw-toggle { margin-right:auto; font-weight:600; }
.is-drawing .sketch-draw-toggle { background:#274fa3; color:#fffaf0; }
@media(max-width:900px), (max-height:540px) { .sketch-studio { max-height:none; overflow:visible; } .sketch-studio canvas { height:260px; } }
/* Keep the toolbar in normal flow: sticky controls obscured the drawing on phones. */
.sketch-toolbar { position:static; }
.journey { display:flex; align-items:center; gap:16px; margin-top:30px; }
.journey > div { flex:1; border-top:3px solid var(--reason); padding-top:18px; }
.journey strong { display:block; font:600 32px var(--display); }
.journey small { display:block; font:400 16px/1.5 var(--sans); margin-top:10px; color:var(--muted); }
.journey > span { font-size:25px; color:var(--reason); }
.journey .is-current { border-color:var(--experience); }
.journey .is-current strong { color:var(--experience); }
.brief-board { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:30px; margin-top:38px; padding:30px; background:var(--white); border:1px solid var(--line); }
.brief-board label { font:450 23px var(--serif); color:var(--experience); }
.brief-board input { width:100%; display:block; font:400 22px var(--sans); border:0; border-bottom:2px solid var(--line); padding:18px 0 10px; background:transparent; color:var(--ink); }
.brief-connector { font-size:34px; color:var(--reason); }
.revision-journey { margin-top:55px; }
.revision-journey strong { font-size:40px; }
.closing-journey { margin:45px 0; }
.workshop-dialog { width:min(700px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); border-radius:12px; }
.workshop-dialog label { display:block; font-size:14px; margin:20px 0 7px; }
.workshop-dialog input { display:block; width:100%; min-height:46px; font:400 16px var(--sans); color:var(--ink); background:var(--white); border:1px solid var(--line); padding:10px; }
.workshop-dialog small { display:block; font-size:13px; line-height:1.5; margin-top:7px; color:var(--muted); }
.workshop-dialog .settings-actions { display:flex; gap:18px; flex-wrap:wrap; margin-top:24px; }
.workshop-dialog .settings-status { font-size:15px; }
.share-url { word-break:break-all; }
.audience-mode .reveal-ready [data-reveal] { opacity:1; visibility:visible; }
.phone-progress { display:none; }
@media(prefers-reduced-motion:no-preference) {
  .hero-figure { animation:specimen-arrive .65s ease-out both; }
  .journey .is-current { animation:step-emphasis .45s ease-out; }
  .device-shell { transition:box-shadow .25s; }
  .device:not(.expanded):hover .device-shell { box-shadow:0 22px 48px #24273130,0 3px 5px #24273126; }
  @keyframes specimen-arrive { from {opacity:0;transform:translateY(20px) rotate(0deg)} to {opacity:1;transform:translateY(0) rotate(2deg)} }
  @keyframes step-emphasis { from {transform:translateY(6px);opacity:.5} to {transform:none;opacity:1} }
}
@media(min-width:901px) and (max-height:780px) {
  .media-layout { gap:5vw; }
  .media-copy h2 { font-size:50px; }
  .media-copy .kicker { margin-bottom:15px; }
  .media-copy .knowledge { margin-top:18px; }
  .media-copy .knowledge p { font-size:17px; }
  .media-copy .spectrum { margin-top:15px; padding-top:12px; }
  .media-copy .knowledge { gap:16px; margin-top:12px; }
  .media-copy .knowledge article { padding-top:10px; }
  .media-copy .knowledge p { margin-top:4px; }
  .media-copy .dek { margin-top:12px; font-size:21px; }
  .media-copy .bridge { margin-top:12px; padding-top:10px; font-size:17px; }
  .media-copy .spectrum-question { margin-top:8px; font-size:17px; }
  .poll-fallback { margin-top:4px; }
  .poll-device:not(.connected) .device-shell { height:60px; }
  .device-shell { height:440px; min-height:0; }
  .device:not(.expanded) { max-width:330px; }
  .device-actions { margin-top:4px; }
  .device .embed-caption { font-size:11px; }
  .poll-device { max-width:none; }
  .poll-device .device-shell { height:215px; }
  .route-choices { margin:22px 0; }
  .route-choices .choice-image,.route-choices .choice-flow { height:95px; margin-bottom:12px; }
  .choice-flow span { min-height:75px; }
  .route-choices strong { font-size:34px; margin-bottom:8px; }
  .route-choices button > span:last-child { font-size:20px; }
}
@media(max-width:900px), (max-height:540px) {
  html,body { min-height:100%; }
  .slide { padding:94px 22px 116px; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; }
  .media-layout { grid-template-columns:1fr; gap:28px; }
  .media-layout .device { width:min(100%,390px); }
  .device-shell { height:480px; min-height:0; border-width:5px; border-radius:26px; }
  .media-copy h2 { font-size:clamp(40px,8vw,58px); }
  .media-copy .knowledge { grid-template-columns:1fr 1fr; }
  .media-copy .knowledge h3 { font-size:24px; }
  .media-copy .knowledge p { font-size:17px; }
  .device.expanded { width:100%; max-width:none; height:100dvh; inset:0; margin:0; }
  .device.expanded .device-shell { border:0; border-radius:0; padding-top:calc(68px + env(safe-area-inset-top)); }
  .device.expanded .device-exit { top:calc(10px + env(safe-area-inset-top)); right:16px; }
  .device.expanded .device-exit-label { top:calc(25px + env(safe-area-inset-top)); }
  .device.expanded .embed-screen { padding-bottom:env(safe-area-inset-bottom); }
  .chrome { padding:calc(10px + env(safe-area-inset-top)) 16px 10px; min-height:68px; gap:10px; }
  .brand { font-size:9px; max-width:76px; }
  .tools { gap:5px; align-items:center; }
  .tools button,.route-label select { min-height:44px; padding:8px; font-size:12px; }
  #themeBtn,#notesBtn { display:none; }
  .footer { padding:10px 20px calc(10px + env(safe-area-inset-bottom)); justify-content:space-between; border-top:1px solid var(--line); }
  .nav { width:100%; justify-content:space-between; gap:8px; }
  .nav button { min-height:46px; min-width:64px; font-size:21px; }
  #counter { font-size:14px; }
  #buildCounter { font-size:11px; }
  .hero .split { gap:28px; }
  .hero h1 { font-size:clamp(66px,15vw,100px); }
  .hero-figure { max-width:450px; transform:none; }
  .hero-figure figcaption { font-size:21px; }
  .slide.hero { padding-top:94px; padding-bottom:116px; }
  .hero-figure.hero-live { max-width:390px; }
  .hero-live .device:not(.expanded) { max-width:390px; }
  .hero-live .device:not(.expanded) .device-shell { height:560px; }
  .hero-live figcaption { font-size:14px; }
  .poll-device { width:100%!important; }
  .poll-device .device-shell { height:340px; }
  .route-choices { grid-template-columns:1fr 1fr; gap:14px; }
  .route-choices button { padding:16px; }
  .route-choices strong { font-size:30px; }
  .route-choices button > span:last-child { font-size:18px; }
  .route-choices .choice-image,.route-choices .choice-flow { height:105px; }
  .choice-flow span { font-size:14px; padding:5px; min-height:70px; }
  .choice-flow { gap:4px!important; }
  .choice-flow b { font-size:14px; }
  .sketch-studio { transform:none; }
  .journey { flex-direction:column; align-items:stretch; }
  .journey > span { transform:rotate(90deg); text-align:center; line-height:1; }
  .journey > div { padding-top:12px; }
  .journey strong { font-size:30px; }
  /* Phone readers get the whole slide. Presenter reveals stay on larger screens. */
  .reveal-ready [data-reveal]:not(.is-revealed) { opacity:1; visibility:visible; pointer-events:auto; }
  .workshop-dialog { padding:24px 18px; }
  .workshop-dialog h2 { font-size:32px; }
  .brief-board { grid-template-columns:1fr; gap:20px; padding:20px; }
  .brief-connector { transform:rotate(90deg); text-align:center; }
  .brief-board input { font-size:18px; }
}
.overlay-external { display:none; }
.device.expanded .overlay-external { display:flex; align-items:center; position:absolute; top:12px; left:16px; max-width:calc(100% - 90px); min-height:46px; padding:8px 12px; color:#274fa3; font:500 15px/1.3 var(--sans); z-index:5; }
.device.expanded .device-exit-label { display:none; }
.student-links { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0; }
.student-links a,.talk-outline a { display:flex; align-items:center; min-height:44px; padding:10px 0; color:var(--reason); font-size:16px; }
.workshop-dialog summary { cursor:pointer; min-height:48px; padding:12px 0; font-size:17px; }
.workshop-dialog .close,dialog .close { position:sticky; top:0; z-index:2; min-height:44px; min-width:64px; background:var(--paper); color:var(--ink); }
.phone-help,.scroll-cue,.mobile-task-action { display:none; }
.join-card { display:grid; grid-template-columns:164px minmax(0,1fr); gap:16px; align-items:center; margin:0 0 18px; padding:14px; color:#262934; background:#f3eddf; border:1px solid #fffaf066; border-top:3px solid #c65d45; border-radius:14px; box-shadow:0 8px 24px #0002; text-align:left; }
.join-card .join-code { display:block; background:white; border:1px solid #dcd7cb; border-radius:8px; overflow:hidden; }
.join-card img { display:block; width:100%; height:auto; aspect-ratio:1; image-rendering:pixelated; }
.join-card .join-eyebrow { display:block; margin-bottom:8px; color:#934330; font:600 10px/1.3 var(--sans); letter-spacing:.13em; text-transform:uppercase; }
.join-card strong { display:block; font:600 28px/1.05 var(--display); letter-spacing:-.015em; }
.join-card p { font:400 14px/1.4 var(--sans); margin:10px 0 0; color:#575249; }
.join-card small { display:block; font:400 11px/1.4 var(--sans); color:#575249; overflow-wrap:anywhere; margin-top:2px; }
.join-link { display:inline-flex; align-items:center; min-height:44px; color:#274fa3; font:600 14px/1.3 var(--sans); text-underline-offset:4px; }
.join-card a:focus-visible { outline:3px solid #ab3e2b; outline-offset:4px; }
.hero-live:has(.join-card) .device:not(.expanded) .device-shell { height:clamp(160px,calc(100svh - 530px),280px); }
.takeaways-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; margin-top:36px; }
.takeaways-grid article { border-top:2px solid var(--reason); padding-top:20px; }
.takeaways-grid article:first-child { border-color:var(--experience); }
.takeaways-grid .line-icon { display:block; color:var(--reason); margin-bottom:18px; }
.takeaways-grid .number { display:block; font:500 12px var(--sans); color:var(--muted); margin-bottom:12px; }
.takeaways-grid h3 { font:600 32px/1.1 var(--display); }
.takeaways-grid p { font:400 20px/1.5 var(--sans); margin-top:14px; }
@media(min-width:901px) and (min-height:541px) { .comparison-details > summary { display:none; } .comparison-details { margin:0; } }
@media(max-width:900px), (max-height:540px) {
  .slide { overflow-y:auto; scroll-padding:90px 0 100px; padding:84px 20px 100px; }
  .frame { min-width:0; }
  .kicker { font-size:12px; margin-bottom:14px; }
  h2,.media-copy h2 { font-size:clamp(34px,8vw,46px); line-height:1.05; }
  .dek,.hero .dek,.media-copy .dek { font-size:20px; line-height:1.4; margin-top:14px; }
  .hero h1 { font-size:clamp(58px,14vw,76px); }
  .hero .split { gap:20px; }
  .slide.hero { padding-top:84px; padding-bottom:100px; }
  .speaker-credit { margin-top:18px; font-size:14px; line-height:1.45; }
  .speaker-credit .speaker-name { font-size:20px; }
  .media-layout { gap:20px; }
  .mobile-task-action { display:inline-flex; align-items:center; margin-top:16px; }
  .sketch-studio { scroll-margin-top:84px; }
  .media-layout .device { width:100%; max-width:none; }
  .device:not(.expanded) .device-shell { height:180px; min-height:0; border-width:2px; border-radius:14px; box-shadow:none; }
  .device:not(.expanded) .device-head { height:30px; padding:0 12px; }
  .device:not(.expanded) .embed-screen { height:calc(100% - 30px); }
  .device:not(.expanded) .embed-cover { padding:14px; }
  .device:not(.expanded) .embed-cover .load-embed { margin-top:28px; }
  .device:not(.expanded) .embed-cover img { object-position:50% 24%; }
  .device:not(.expanded):not(.has-opened) .expand-embed { display:none; }
  .device:not(.expanded) .device-actions { margin-top:4px; gap:8px; flex-wrap:wrap; }
  .device .embed-caption { font-size:14px; }
  .hero-live .device:not(.expanded) .device-shell { height:240px; }
  .hero-live:has(.join-card) .device:not(.expanded) .device-shell { height:180px; }
  .join-card { grid-template-columns:112px minmax(0,1fr); gap:14px; padding:12px; }
  .join-card strong { font-size:26px; }
  .takeaways-grid { grid-template-columns:1fr; gap:20px; margin-top:24px; }
  .takeaways-grid article { padding:16px 0 0 48px; position:relative; }
  .takeaways-grid .line-icon { position:absolute; left:0; top:16px; width:32px; height:32px; }
  .takeaways-grid .number { margin-bottom:8px; }
  .takeaways-grid h3 { font-size:27px; }
  .takeaways-grid p { font-size:17px; margin-top:8px; }
  .hero-figure.hero-live { max-width:none; }
  .hero-live:has(.join-card) .device:not(.expanded)[data-embed=birds] { max-width:none; }
  .hero-live .device:not(.expanded)[data-embed=birds] .preview-toggle,
  .hero-live .device:not(.expanded)[data-embed=birds] .expand-embed { display:none; }
  .hero-live .device:not(.expanded)[data-embed=birds] .embed-caption { display:block; font-size:13px; line-height:1.5; }
  .media-copy .knowledge { margin-top:18px; gap:16px; }
  .media-copy .knowledge p { font-size:16px; }
  .knowledge-key { font-size:16px; }
  .comparison-details { margin-top:16px; }
  .comparison-details summary { font-size:16px; color:var(--reason); cursor:pointer; padding:12px 0; min-height:44px; }
  .comparison-details .comparison-note { margin-top:0; }
  .poll-actions { flex-wrap:wrap; gap:4px 16px; }
  .bridge,.question { margin-top:18px; }
  .journey { margin-top:20px; gap:10px; }
  .journey > div { padding-top:10px; }
  .journey strong { font-size:27px; }
  .journey small { margin-top:4px; }
  .closing-journey,.revision-journey { margin:24px 0; }
  .sketch-studio { padding:12px; }
  .sketch-studio canvas { height:220px; }
  .sketch-studio label,.sketch-toolbar { font-size:14px; }
  .chrome { padding-left:12px; padding-right:12px; gap:8px; }
  .brand { display:none; }
  .tools { width:100%; justify-content:space-between; }
  .tools button { min-width:44px; font-size:14px; }
  .route-label select { font-size:16px; max-width:150px; }
  .footer { padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
  .phone-help { display:block; font-size:17px; line-height:1.6; }
  #help .keys { display:none; }
  .student-links { grid-template-columns:1fr; gap:0; }
  .scroll-cue:not([hidden]) { display:block; position:fixed; bottom:calc(72px + env(safe-area-inset-bottom)); right:20px; z-index:12; padding:8px 12px; border:1px solid var(--line); border-radius:20px; background:var(--paper); color:var(--ink); font:500 13px var(--sans); pointer-events:none; }
  body.embed-open .scroll-cue { display:none; }
  .device.expanded .overlay-external { top:calc(10px + env(safe-area-inset-top)); }
  dialog { max-height:calc(100dvh - 24px); overflow:auto; }
}
@media(max-width:380px) { .slide { padding-left:16px; padding-right:16px; } .route-choices { grid-template-columns:1fr; } }
@media(max-width:600px) {
  .route-choices { grid-template-columns:minmax(0,1fr); gap:16px; }
  .route-choices button { min-width:0; padding:18px; }
  .route-choices .choice-image { height:120px; margin-bottom:14px; }
  .route-choices .choice-flow { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap:6px!important; height:88px; margin-bottom:14px; }
  .route-choices .choice-flow span { width:auto; min-width:0; min-height:72px; padding:6px 2px; font-size:clamp(18px,5vw,24px); text-align:center; }
  .route-choices .choice-flow b { font-size:20px; }
  .route-choices strong { font-size:32px; margin-bottom:6px; }
  .route-choices button > span:last-child { font-size:18px; line-height:1.4; }
}
/* Phone embeds are launch cards, never tiny interactive apps. */
@media(max-width:900px), (max-height:540px) {
  .device:not(.expanded),.hero-live:has(.join-card) .device:not(.expanded) { width:100%; max-width:none; }
  .device:not(.expanded) .device-shell,.hero-live:has(.join-card) .device:not(.expanded) .device-shell { height:auto; min-height:0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--white); box-shadow:none; }
  .device:not(.expanded) .device-head { height:auto; padding:0 0 12px; background:transparent; color:var(--ink); font-size:15px; }
  .device:not(.expanded) .device-head span:last-child { display:none; }
  .device:not(.expanded) .embed-screen { height:auto; }
  .device:not(.expanded) .embed-screen iframe { display:none; }
  .device:not(.expanded) .embed-cover { position:relative; inset:auto; display:grid; grid-template-columns:80px minmax(0,1fr); grid-template-rows:auto auto; gap:10px 14px; padding:0; text-align:left; background:transparent; overflow:visible; }
  .device:not(.expanded) .embed-cover::after { display:none; }
  .device:not(.expanded) .embed-cover img { position:static; grid-column:1; grid-row:1 / 3; width:80px; height:100%; min-height:100px; max-height:132px; aspect-ratio:auto; object-fit:cover; object-position:center; border-radius:6px; }
  .device:not(.expanded) .embed-cover .cover-title,.device:not(.expanded) .embed-cover .cover-detail { display:none; }
  .device:not(.expanded) .mobile-launch-copy { display:block; grid-column:2; color:var(--muted); font:400 14px/1.45 var(--sans); }
  .device:not(.expanded) .embed-cover .load-embed { grid-column:2; margin:0; padding:10px 12px; min-height:48px; align-self:start; font:500 15px/1.35 var(--sans); background:#262934; color:#f3eddf; border:1px solid #606577; box-shadow:none; backdrop-filter:none; }
  .device:not(.expanded) .expand-embed,.device:not(.expanded) .preview-toggle { display:none; }
  .device:not(.expanded) .device-actions { justify-content:flex-end; }
  .device:not(.expanded) .embed-caption { font-size:13px; line-height:1.5; }
}
/* The join screen precedes the title on every route and screen size. */
.join-stage { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr); align-items:center; gap:64px; }
.join-intro h2 { font-size:clamp(54px,6vw,84px); }
.join-begin { margin-top:30px; }
.join-slide .join-card { display:block; margin:0; padding:20px; width:100%; max-width:440px; justify-self:center; }
.join-slide .join-code { width:100%; }
.join-slide figcaption { margin-top:16px; text-align:center; }
.join-slide .join-link { display:block; min-height:0; font-size:13px; margin-top:10px; overflow-wrap:anywhere; }
.route-choices button { display:flex; flex-direction:column; align-items:stretch; }
.route-choices .choice-image { order:5; margin:20px 0 0; height:160px; object-fit:contain; object-position:center; background:#c9d1d3; }
.route-choices .choice-flow { order:5; margin:20px 0 0; height:160px; }
.route-choices button > span:not(.number):not(.choice-flow) { font-size:clamp(18px,2vw,24px); line-height:1.4; }
@media(max-width:900px), (max-height:540px) {
  .join-stage { grid-template-columns:1fr; gap:24px; }
  .join-intro h2 { font-size:clamp(38px,9vw,60px); }
  .join-intro .dek { font-size:18px; }
  .join-begin { margin-top:16px; }
  .join-slide .join-card { max-width:320px; padding:16px; }
  .join-slide .join-code { max-width:240px; margin:auto; }
  .hero-live .device:not(.expanded) .embed-cover { grid-template-columns:1fr; }
  .hero-live .device:not(.expanded) .embed-cover img { grid-column:1; grid-row:auto; width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:16/9; object-fit:contain; border-radius:4px; }
  .hero-live .device:not(.expanded) .mobile-launch-copy,.hero-live .device:not(.expanded) .embed-cover .load-embed { grid-column:1; }
}
@media(max-width:600px) {
  .join-stage { display:flex; flex-direction:column; gap:16px; align-items:stretch; }
  .join-intro { display:contents; }
  .join-intro .kicker { display:none; }
  .join-intro h2 { order:0; font-size:32px; }
  .join-intro h2 br { display:none; }
  .join-intro h2 em { margin-left:.15em; }
  .join-slide .join-card { order:1; align-self:center; }
  .join-slide .join-code { max-width:200px; }
  .join-intro .dek { order:2; margin:0; }
  .join-intro .join-begin { order:3; margin:0; }
  .join-intro .access-note { order:4; margin:0; }
  .route-choices .choice-image { height:auto; aspect-ratio:16/9; margin-top:16px; }
  .route-choices .choice-flow { height:88px; margin-top:16px; }
}
@media(min-width:901px) and (min-height:541px) and (max-height:780px) {
  .hero-live .device:not(.expanded) .device-shell { height:clamp(300px,calc(100svh - 320px),460px); }
  .route-choices .choice-image,.route-choices .choice-flow { height:135px; }
}
/* Tablets get a real sketchbook, not a narrow phone-sized canvas. */
@media(min-width:600px) and (max-width:1180px) {
  .sketch-slide { overflow-y:auto; padding:90px 36px 110px; }
  .sketch-slide .media-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .sketch-slide .media-copy { max-width:760px; }
  .sketch-slide .sketch-studio { max-height:none; overflow:visible; padding:24px; }
  .sketch-slide .sketch-studio canvas { height:clamp(360px,48svh,560px); }
  .sketch-slide .sketch-toolbar { flex-wrap:nowrap; font-size:16px; }
  .sketch-slide .sketch-toolbar > span { flex:1; }
}
@media print {
  .device-shell { height:440px; border:3px solid #292b36; box-shadow:none; }
  .embed-screen iframe,.device-actions,.device-exit,.poll-actions,.sketch-toolbar,.workshop-dialog { display:none!important; }
  .embed-cover { display:grid!important; }
  .embed-cover .load-embed { display:none; }
  .device.expanded { position:relative; inset:auto; height:auto; width:330px; }
  .device.expanded::before { display:none; }
  .media-layout { grid-template-columns:1.2fr .85fr; }
}
