/* Phone content layouts. Loaded last so English and Telugu share one readable scale. */
/* Calendar comes first in both visual and keyboard reading order. */
.calendar-disclosure{border-top:0;border-bottom:1px solid #d8ddcc;border-radius:15px 15px 0 0}
@media (max-width: 640px) {
  /* Activity choices stay visible, legible, and comfortable to tap. */
  .activities-section { padding-block: 40px 32px; }
  .activities-heading { margin-bottom: 22px; }
  .activities-heading h2 { font-size: 36px; line-height: 1.16; letter-spacing: -1px; margin-top: 12px; }
  .activities-heading h2 em { display: inline; }
  .activities-heading > p { font-size: 16px; line-height: 1.75; margin-top: 15px; max-width: none; }
  .activities-heading .eyebrow { font-size: 11px; letter-spacing: .7px; gap: 7px; }
  .programme-status { display: flex; flex-direction: column; align-items: stretch; gap: 9px; padding: 16px; border-radius: 12px; margin-bottom: 20px; }
  .programme-status-label { font-size: 11px; line-height: 1.65; letter-spacing: .4px; flex-shrink: 1; }
  .programme-status-label strong { overflow-wrap: anywhere; }
  .programme-status p { font-size: 14px; line-height: 1.75; }
  .programme-jump { align-self: flex-start; min-height: 44px; font-size: 14px; line-height: 1.7; padding: 8px 0; }
  .activities-heading, .programme-status, .learning-planner, .session-workspace, .session-preparation, .prep-columns > *, .quickstart-heading > *, .quickstart-grid > *, .contact-section > *, .install-section > *, .workshop-heading > *, .workshop-controls > *, .frontier-grid > *, .footer-top > *, .modal > * { min-width: 0; }
  .learning-planner { border-radius: 16px; min-width: 0; box-shadow: 0 8px 25px #244b3210; }
  .session-workspace { min-width: 0; padding: 20px 16px 22px; }
  .session-picker-heading { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.65; letter-spacing: .6px; }
  .session-picker-heading small { font-size: 13px; line-height: 1.65; }
  .session-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 16px 0 24px; }
  .session-choice, html[lang=te] .session-choice { min-width: 0; min-height: 76px; padding: 12px 10px; border-radius: 10px; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
  .session-choice > span { min-width: 0; }
  .session-choice svg { width: 22px; height: 22px; flex-shrink: 0; }
  .session-choice.active { background: #dfead5; color: #244c32; border-color: #486d40; box-shadow: inset 0 0 0 1px #486d40; }
  .session-preparation { min-width: 0; padding-top: 24px; }
  .prep-title-row { align-items: flex-start; gap: 11px; }
  .prep-title-row > div { min-width: 0; }
  .prep-title-row h3 { font-size: 29px; line-height: 1.24; letter-spacing: -.65px; overflow-wrap: anywhere; }
  .prep-emblem { width: 40px; height: 40px; flex-shrink: 0; }
  .prep-emblem svg { width: 23px; height: 23px; }
  .prep-status { font-size: 11px; line-height: 1.6; letter-spacing: .5px; margin-bottom: 7px; }
  .prep-kicker, .prep-date { font-size: 14px; line-height: 1.75; }
  .prep-kicker { margin-top: 16px; }
  .prep-date { align-items: flex-start; gap: 8px; margin-top: 8px; }
  .prep-date svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; }
  .prep-description { font-size: 16px; line-height: 1.75; margin-top: 18px; }
  .session-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 10px; margin-block: 22px; }
  .session-facts > div { padding: 13px 12px; min-width: 0; }
  .session-facts dt { font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
  .session-facts dd { font-size: 14px; line-height: 1.75; margin-top: 7px; overflow-wrap: anywhere; }
  .prep-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .prep-mindset h4 { font-size: 16px; line-height: 1.6; gap: 8px; margin-bottom: 9px; }
  .prep-mindset h4 span { font-size: 12px; line-height: 1.8; padding-top: 1px; }
  .prep-mindset p { font-size: 16px; line-height: 1.75; }
  .prep-mindset p + h4 { margin-top: 23px; }
  .prep-checklist { padding: 16px; border-radius: 12px; min-width: 0; }
  .prep-checklist legend, html[lang=te] .prep-checklist legend { font-size: 22px; line-height: 1.6; padding-inline: 6px; max-width: 100%; }
  .prep-checklist-top { gap: 7px; margin-bottom: 8px; }
  .prep-checklist-top > span { font-size: 11px; line-height: 1.7; letter-spacing: .3px; }
  .prep-checklist-top output { font-size: 13px; line-height: 1.7; }
  .prep-checklist label { font-size: 16px; line-height: 1.7; gap: 12px; padding-block: 13px; min-height: 54px; }
  .prep-checklist input { width: 22px; height: 22px; min-width: 22px; margin-top: 3px; }
  .prep-checklist label > span { min-width: 0; overflow-wrap: anywhere; }
  .prep-checklist small { font-size: 13px; line-height: 1.75; margin-top: 12px; }
  .prep-note { font-size: 14px; line-height: 1.8; gap: 9px; margin-top: 22px; }
  .prep-note > span { margin-top: 3px; }
  .prep-guardian { padding: 13px 14px; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.8; margin-top: 16px; }
  .session-practical { margin-top: 22px; }
  .session-practical > summary { font-size: 15px; line-height: 1.7; min-height: 54px; padding: 14px 4px; }
  .session-practical p, .session-practical li { font-size: 16px; line-height: 1.75; margin-bottom: 15px; }
  .prep-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; align-items: stretch; }
  .prep-actions > .button { grid-column: 1 / -1; width: 100%; min-height: 50px; font-size: 15px; padding: 13px 15px; }
  .prep-actions > .prep-download { display: flex; align-items: center; justify-content: center; align-self: stretch; min-height: 48px; padding: 10px; border: 1px solid #d5ddc8; border-radius: 8px; background: #f4f5eb; font-size: 14px; line-height: 1.65; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
  .prep-actions > .prep-download:last-child:nth-child(even) { grid-column: 1 / -1; }
  .prep-bottom { gap: 10px; margin-top: 22px; padding-top: 15px; font-size: 13px; line-height: 1.75; align-items: flex-start; }
  .prep-bottom a { min-height: 44px; align-self: flex-start; }

  /* The month remains an intentional secondary view, with readable controls. */
  .session-workspace { order: 2; }
  .calendar-disclosure { order: 1; border-top: 0; border-bottom: 1px solid #d8ddcc; border-radius: 15px 15px 0 0; }
  .calendar-disclosure > summary { min-height: 64px; padding: 17px 16px; font-size: 16px; line-height: 1.65; gap: 12px; }
  .calendar-disclosure > summary:after { flex-shrink: 0; }
  .calendar-disclosure .calendar-panel { display: block; max-width: none; width: 100%; padding: 24px 12px; }
  .calendar-top { font-size: 12px; line-height: 1.7; letter-spacing: .5px; gap: 12px; }
  .calendar-month-nav { gap: 10px; margin-top: 20px; }
  .calendar-month-nav h3, html[lang=te] .calendar-month-nav h3 { min-width: 0; font-size: 25px; line-height: 1.4; }
  .calendar-month-nav > div { gap: 5px; flex-shrink: 0; }
  .calendar-month-nav button { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; line-height: 1; display: grid; place-items: center; font-size: 20px; }
  .calendar-time-row { font-size: 12px; line-height: 1.75; gap: 8px; margin: 16px 0 12px; }
  .calendar-time-row button { font-size: 13px; min-height: 44px; }
  .calendar-grid { width: 100%; table-layout: fixed; }
  .calendar-grid th { font-size: 13px; height: 36px; }
  .calendar-grid td { font-size: 16px; height: 46px; padding: 0; }
  .calendar-grid time, .calendar-event-day { width: 100%; max-width: 42px; height: 42px; }
  .calendar-legend { font-size: 12px; line-height: 1.7; gap: 7px; margin-top: 17px; }
  .calendar-session-list { display: block; margin-top: 22px; padding-top: 22px; }
  .calendar-empty-icon { margin-bottom: 12px; font-size: 31px; }
  .calendar-session-list h3, html[lang=te] .calendar-session-list h3 { font-size: 26px; line-height: 1.35; max-width: none; }
  .calendar-session-list p { font-size: 16px; line-height: 1.75; margin-top: 12px; }
  .calendar-session-list > button { padding: 14px 12px; min-height: 54px; }
  .calendar-session-list > button span { font-size: 13px; line-height: 1.75; }
  .calendar-session-list > button strong { font-size: 16px; line-height: 1.65; }
  .calendar-footnote { margin-top: 20px; padding-top: 0; gap: 10px; }
  .calendar-footnote p { font-size: 14px; line-height: 1.75; max-width: none; }
  .activities-invitation { grid-template-columns: 24px minmax(0, 1fr); gap: 6px 10px; margin-top: 24px; }
  .invitation-asterisk { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
  .activities-invitation p, .activities-invitation .text-link { font-size: 14px; line-height: 1.8; }
  .activities-invitation .text-link { min-height: 44px; margin-top: 3px; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }

  /* Simple experiments are editorial cards rather than miniature desktop columns. */
  .quickstart-section { padding-block: 40px; }
  .quickstart-heading { display: block; }
  .quickstart-heading h2 { font-size: 34px; line-height: 1.2; letter-spacing: -1px; margin-top: 13px; }
  .quickstart-heading p { max-width: none; font-size: 16px; line-height: 1.75; margin-top: 18px; }
  .quickstart-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block: 24px; }
  .quickstart-card { border-radius: 14px; padding: 21px 20px; min-width: 0; }
  .quickstart-number { font-size: 12px; margin-bottom: 8px; }
  .quickstart-meta { font-size: 13px; line-height: 1.75; }
  .quickstart-card h3 { font-size: 27px; line-height: 1.25; letter-spacing: -.5px; margin-top: 10px; }
  .quickstart-card p { font-size: 16px; line-height: 1.75; margin-top: 12px; }
  .quickstart-link { font-size: 15px; line-height: 1.7; margin-top: 17px; padding-top: 13px; min-height: 44px; }
  .quickstart-section > .button { width: 100%; font-size: 15px; line-height: 1.7; min-height: 50px; padding: 13px 16px; }

  .install-section, .contact-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 40px; }
  .install-section h2, .contact-section h2 { font-size: 34px; line-height: 1.2; letter-spacing: -1px; margin-block: 14px 0; }
  .install-section > div > p, .contact-section > div > p { max-width: none; font-size: 16px; line-height: 1.75; margin-top: 18px; }
  .install-card, .contact-card { padding: 22px 18px; border-radius: 14px; min-width: 0; }
  .install-section .install-app-icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px; }
  #pwa-controls { align-items: stretch; flex-direction: column; gap: 10px; }
  #pwa-controls .button { width: 100%; min-height: 50px; padding: 13px 14px; font-size: 15px; line-height: 1.7; }
  #pwa-controls .text-link { min-height: 44px; font-size: 15px; }
  #pwa-status, .install-section .install-note, .pwa-help-note { font-size: 14px; line-height: 1.8; margin-top: 17px; }
  .pwa-instruction { padding: 18px 16px; margin-top: 18px; border-radius: 10px; }
  .pwa-instruction h3 { font-size: 23px !important; line-height: 1.4; margin-bottom: 14px; }
  .pwa-instruction ol { padding-left: 21px; }
  .pwa-instruction li, .pwa-instruction p { font-size: 16px; line-height: 1.8; }
  .pwa-browser-note { font-size: 14px !important; line-height: 1.8 !important; padding: 12px 14px; }
  .contact-status { font-size: 16px; line-height: 1.7; align-items: flex-start; gap: 10px; }
  .contact-status .status-dot { margin-top: 10px; }
  .contact-card [data-contact-links] > p:not(.contact-status) { font-size: 16px; line-height: 1.75; }
  .contact-buttons, .verified-contact-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
  .contact-buttons .button, .verified-contact-links .button { width: 100%; min-height: 50px; padding: 13px 14px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
  .contact-footnote { font-size: 13px; line-height: 1.8; margin-top: 17px; }

  /* Optional deeper material opens into one coherent phone reading column. */
  .project-library > summary, .deeper-story > summary { width: 100%; max-width: 100%; min-height: 88px; padding: 22px 20px; gap: 16px; font-size: 24px; line-height: 1.4; letter-spacing: -.4px; }
  .project-library > summary > span, .deeper-story > summary > span { flex-shrink: 0; }
  .workshop-section { padding-block: 36px; }
  .workshop-heading { margin-bottom: 24px; }
  .workshop-heading h2 { font-size: 34px; line-height: 1.18; letter-spacing: -1px; }
  .workshop-intro { margin-top: 18px; }
  .workshop-intro > p, .workshop-invitation { font-size: 16px; line-height: 1.75; }
  .workshop-invitation { margin-top: 14px; }
  .maker-strip { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 10px; border-radius: 12px; margin-bottom: 24px; }
  .maker-strip .maker-label { gap: 9px; padding-bottom: 8px; }
  .maker-strip .maker-label > span { font-size: 12px; line-height: 1.65; }
  .maker-strip .maker-label > strong { font-size: 21px; line-height: 1.4; }
  .maker-strip .maker-link { min-height: 82px; padding: 13px 12px; align-items: center; gap: 10px; }
  .maker-strip .maker-avatar { width: 2.5em; height: 2.5em; min-width: 2.5em; flex: 0 0 2.5em; }
  .maker-strip .maker-link > span:nth-child(2) { min-width: 0; }
  .maker-strip .maker-link strong, html[lang=te] .maker-strip .maker-link strong { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
  .maker-strip .maker-link small, html[lang=te] .maker-strip .maker-link small { font-size: 13px; line-height: 1.7; }
  .maker-strip .maker-arrow { flex-shrink: 0; }
  .workshop-controls { display: block; margin-bottom: 18px; }
  .explorer-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .explorer-view, html[lang=te] .explorer-view { min-width: 0; min-height: 50px; font-size: 14px; line-height: 1.65; padding: 11px 8px; border-radius: 7px; }
  .workshop-controls .search-box { width: 100%; max-width: none; min-height: 50px; margin-top: 17px; }
  .workshop-controls .search-box input { min-width: 0; min-height: 48px; font-size: 16px; }
  .workshop-section .explorer-toolbar { display: block; margin-bottom: 21px; min-width: 0; }
  .workshop-section .filter-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; max-width: 100%; padding: 3px 2px 8px; gap: 8px; }
  .workshop-section .filter, html[lang=te] .workshop-section .filter { flex: 0 0 auto; font-size: 14px; line-height: 1.65; min-height: 44px; padding: 9px 13px; }
  .activity-grid, .project-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .project-card, .activity-card { border-radius: 13px; min-width: 0; }
  .project-art { height: 170px; }
  .project-art svg { width: 260px; max-width: 92%; height: 160px; }
  .project-category { top: 12px; left: 12px; max-width: calc(100% - 78px); font-size: 12px; line-height: 1.6; white-space: normal; }
  .project-art-wrap .save-activity, .activity-card .save-activity { width: 44px; height: 44px; top: 10px; right: 10px; }
  .project-card-body, .card-content { padding: 21px 20px 0; }
  .project-card h3, .card-content h3 { font-size: 28px; line-height: 1.25; max-width: none; letter-spacing: -.5px; }
  .project-status { font-size: 12px; line-height: 1.65; margin-bottom: 10px; }
  .project-tagline { font-size: 14px; line-height: 1.7; margin-top: 12px; min-height: 0; }
  .project-description, .card-content p { font-size: 16px; line-height: 1.75; margin-block: 13px 20px; min-height: 0; }
  .project-team { gap: 10px; padding-top: 15px; min-height: 66px; }
  .project-team small, html[lang=te] .project-team small { font-size: 12px; line-height: 1.6; letter-spacing: .2px; }
  .project-team strong { font-size: 15px; line-height: 1.6; }
  .team-monogram { width: 35px; height: 35px; flex-shrink: 0; }
  .project-card-footer { margin-top: 14px; }
  .project-card-footer button, .card-footer button { min-height: 52px; padding-block: 13px; font-size: 15px; line-height: 1.7; }
  .activity-art { height: 155px; }
  .activity-art svg { width: 240px; max-width: 90%; height: 140px; }
  .activity-tag { font-size: 12px; line-height: 1.6; max-width: calc(100% - 78px); white-space: normal; top: 12px; left: 12px; }
  .card-meta { font-size: 12px; line-height: 1.7; gap: 6px 10px; margin-bottom: 11px; }
  .card-footer { margin-top: 16px; padding-top: 0; }
  .card-content { padding-bottom: 10px; }
  .explore-bottom { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; margin-top: 20px; }
  .explore-bottom .small-note { font-size: 13px; line-height: 1.75; }
  .explore-bottom .text-link { font-size: 15px; min-height: 44px; }
  .workshop-method { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 30px; padding-block: 26px; }
  .workshop-method > div { padding-left: 30px; }
  .workshop-method > div:before { font-size: 20px; }
  .method-step { font-size: 12px; line-height: 1.65; }
  .workshop-method h3 { font-size: 25px; line-height: 1.3; margin-block: 9px; }
  .workshop-method p, .workshop-disclosure, .frontier-disclosure { font-size: 15px; line-height: 1.75; }
  .workshop-disclosure { margin-top: 22px; text-align: left; }

  .intro-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 36px; }
  .intro-section h2 { font-size: 34px; line-height: 1.2; margin-top: 13px; }
  .intro-text, .intro-text p { font-size: 16px; line-height: 1.8; }
  .intro-text p + p { margin-top: 16px; }
  .intro-text .text-link { min-height: 44px; font-size: 15px; margin-top: 15px; }
  .cosmic-story { padding-block: 36px; }
  .cosmic-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cosmic-copy h2 { font-size: 34px; line-height: 1.2; margin-block: 14px 18px; }
  .cosmic-copy > p, .cosmic-chapter > p { font-size: 16px; line-height: 1.8; }
  .cosmic-link { font-size: 15px; line-height: 1.7; min-height: 44px; margin-top: 18px; }
  .cosmic-chapter summary { font-size: 16px; line-height: 1.7; gap: 10px; min-height: 58px; padding-block: 15px; }
  .chapter-number { font-size: 12px; }
  .cosmic-chapter > p { padding: 0 0 20px 27px; }
  .cosmic-closing { font-size: 14px; line-height: 1.8; margin-top: 20px; }
  .playground { padding-block: 36px; gap: 24px; grid-template-columns: minmax(0, 1fr); }
  .playground-copy h2 { font-size: 34px; line-height: 1.2; margin-top: 13px; }
  .playground-copy p { font-size: 16px; line-height: 1.8; margin-top: 17px; max-width: none; }
  .playground-copy button { min-height: 44px; font-size: 15px; margin-top: 14px; }
  .playground-copy .science-explanation { font-size: 15px; line-height: 1.8; padding: 15px; }
  .shadow-lab { border-radius: 12px; min-width: 0; box-shadow: none; }
  .lab-topline { padding: 18px 16px 0; font-size: 12px; line-height: 1.7; gap: 8px; }
  .live-badge { font-size: 12px; }
  .lab-controls { padding: 14px 16px 20px; }
  .lab-controls label { font-size: 15px; line-height: 1.75; }
  .lab-controls input[type=range] { min-height: 36px; margin-block: 8px; }
  .range-labels { font-size: 12px; line-height: 1.75; }
  .shadow-result { font-size: 15px; gap: 10px; align-items: center; margin-top: 15px; padding-top: 15px; }
  .shadow-result strong { font-size: 28px; }
  .shadow-result .small-note { max-width: none; font-size: 12px; margin-left: 0; width: 100%; }
  .vision-section { padding-block: 36px; }
  .frontier-section .section-heading h2 { font-size: 34px; line-height: 1.2; }
  .frontier-section .section-heading > p { font-size: 16px; line-height: 1.75; margin-top: 18px; }
  .frontier-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
  .frontier-card { padding: 22px 20px; border-radius: 12px; }
  .frontier-top { gap: 10px; align-items: flex-start; }
  .frontier-status { font-size: 11px; line-height: 1.7; letter-spacing: .5px; }
  .vision-number { font-size: 12px; line-height: 1.7; }
  .frontier-icon { width: 48px; height: 48px; margin-block: 19px; }
  .frontier-card h3 { font-size: 28px; line-height: 1.25; margin-bottom: 13px; }
  .frontier-card > p, .frontier-card details p { font-size: 16px; line-height: 1.8; }
  .frontier-strap { min-height: 0; margin-bottom: 10px; }
  .frontier-card > p:not(.frontier-strap) { margin-bottom: 18px; }
  .frontier-card summary { min-height: 50px; font-size: 15px; line-height: 1.75; padding-top: 13px; }
  .frontier-disclosure { margin-top: 23px; text-align: left; }

  .join-section { padding-block: 38px; }
  .join-section h2 { font-size: 34px; line-height: 1.2; margin-block: 16px; }
  .join-section p { font-size: 16px; line-height: 1.8; }
  .join-options { flex-direction: column; gap: 10px; margin-block: 24px 18px; }
  .join-options .button { min-height: 50px; font-size: 15px; line-height: 1.7; }
  .join-section .small-note { font-size: 13px; line-height: 1.8; }
  .faq-section { display: block; padding-block: 38px; }
  .faq-section > div:first-child { margin-bottom: 20px; }
  .faq-section h2 { font-size: 34px; line-height: 1.2; margin-top: 13px; }
  .faq-list summary { font-size: 16px; line-height: 1.75; padding: 17px 34px 17px 0; min-height: 60px; }
  .faq-list summary:after { top: 16px; right: 2px; }
  .faq-list p { font-size: 16px; line-height: 1.8; padding: 0 0 21px; }
  .site-footer { padding-top: 32px; padding-bottom: 32px; }
  .footer-top { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; justify-items: start; gap: 18px; padding-bottom: 24px; }
  .footer-top .brand { font-size: 20px; }
  .footer-top .brand small { font-size: 8px; line-height: 1.6; letter-spacing: 1.7px; }
  .footer-top p { font-size: 22px; line-height: 1.4; }
  .footer-top > a:last-child { font-size: 15px; line-height: 1.7; min-height: 44px; display: flex; align-items: center; }
  .footer-bottom { justify-content: flex-start; gap: 7px 18px; padding-top: 20px; font-size: 13px; line-height: 1.8; }
  .footer-bottom > span { width: 100%; }
  .footer-bottom button, .footer-bottom > a { font-size: 13px; line-height: 1.75; min-height: 44px; display: inline-flex; align-items: center; }

  /* Native dialogs become comfortable phone reading surfaces. */
  .modal { padding: 64px 20px 24px; width: calc(100% - 24px); max-height: calc(100dvh - 32px); border-radius: 18px; }
  .close-modal { position: sticky; top: 0; right: auto; z-index: 2; width: 48px; height: 48px; margin: -52px -8px 8px auto; font-size: 28px; box-shadow: 0 2px 8px #24452c18; }
  .modal h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.65px; margin: 0 0 20px; padding-right: 0; overflow-wrap: anywhere; }
  .modal h3 { font-size: 25px; line-height: 1.35; }
  .modal p, .modal .detail-section li, .modal .detail-section ul, .modal .detail-section ol, .modal .project-pathway li, .project-interest-box p { font-size: 16px; line-height: 1.8; }
  .modal .eyebrow { font-size: 11px; line-height: 1.8; margin-bottom: 13px; }
  .modal form { gap: 9px; margin-top: 20px; }
  .modal label { font-size: 15px; line-height: 1.7; margin-top: 9px; }
  .modal input, .modal textarea, .modal select { font-size: 16px; min-height: 50px; padding: 12px; line-height: 1.65; border-radius: 8px; }
  .modal form .button { min-height: 50px; font-size: 15px; line-height: 1.7; }
  .modal form .small-note { font-size: 13px; line-height: 1.8; margin-top: 10px; }
  .detail-meta { font-size: 13px; line-height: 1.75; gap: 9px 18px; }
  .detail-section { margin-top: 24px; }
  .detail-section.notice, .detail-section.safety { padding: 18px 16px; border-radius: 8px; }
  .detail-section ul, .detail-section ol { padding-left: 20px; }
  .project-detail-header .project-art { height: 150px; margin-block: 18px; }
  .project-detail-header .project-team { padding: 14px; margin-block: 17px; }
  .project-detail-header .project-team strong { font-size: 15px; }
  .project-detail-header .project-team small { font-size: 12px; }
  .project-detail-tagline { font-size: 15px !important; line-height: 1.75; }
  .project-pathway li { padding: 16px 14px 16px 40px; }
  .project-pathway li:before { top: 18px; left: 12px; font-size: 12px; }
  .project-interest-box { padding: 20px 16px; margin-top: 24px; border-radius: 10px; }
  .project-interest-box h3 { font-size: 26px; line-height: 1.3; }
  .project-interest-box .button { width: 100%; min-height: 50px; font-size: 15px; line-height: 1.7; }
  .project-guidance { min-height: 44px; font-size: 14px; line-height: 1.75; padding-block: 8px; }
  .detail-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .detail-actions .button, .detail-actions .text-link { min-height: 48px; width: 100%; font-size: 15px; line-height: 1.7; justify-content: center; text-align: center; padding: 11px 14px; }
  .share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 20px; }
  .share-actions > button:first-child { grid-column: 1 / -1; }
  .modal .share-actions .button, .modal .share-actions .text-link { min-height: 48px; font-size: 14px; line-height: 1.7; width: 100%; justify-content: center; text-align: center; padding: 11px 8px; }
  #prepared-message { font-size: 15px; line-height: 1.8; padding: 16px; border-radius: 8px; overflow-wrap: anywhere; }
  .enquiry-contact { padding: 16px; border-radius: 10px; }
  .enquiry-contact .contact-status { font-size: 15px; line-height: 1.7; }
  .enquiry-contact > p:not(.contact-status) { font-size: 15px; line-height: 1.8; }

  html[lang=te] .activities-heading h2,
  html[lang=te] .quickstart-heading h2,
  html[lang=te] .contact-section h2,
  html[lang=te] .install-section h2,
  html[lang=te] .intro-section h2,
  html[lang=te] .cosmic-copy h2,
  html[lang=te] .playground-copy h2,
  html[lang=te] .frontier-section .section-heading h2,
  html[lang=te] .join-section h2,
  html[lang=te] .faq-section h2 { font-size: 29px; line-height: 1.55; letter-spacing: -.5px; }
  html[lang=te] .project-library > summary, html[lang=te] .deeper-story > summary { font-size: 21px; line-height: 1.75; }
  html[lang=te] .session-picker-heading, html[lang=te] .prep-status { font-size: 12px; letter-spacing: 0; }
  html[lang=te] .prep-title-row h3 { font-size: 25px; line-height: 1.55; letter-spacing: -.3px; }
  html[lang=te] .prep-checklist legend { font-size: 21px; line-height: 1.65; }
  html[lang=te] .prep-mindset h4 { font-size: 16px; line-height: 1.8; }
  html[lang=te] .quickstart-card h3, html[lang=te] .project-card h3, html[lang=te] .card-content h3,
  html[lang=te] .frontier-card h3, html[lang=te] .workshop-method h3,
  html[lang=te] .modal h3, html[lang=te] .project-interest-box h3 { font-size: 24px; line-height: 1.6; letter-spacing: -.3px; }
  html[lang=te] .workshop-heading h2 { font-size: 29px; line-height: 1.55; }
  html[lang=te] .project-tagline { min-height: 0; }
  html[lang=te] .modal h2 { font-size: 27px; line-height: 1.55; }
}

@media (max-width: 380px) {
  .activities-heading h2, .quickstart-heading h2, .contact-section h2, .install-section h2,
  .intro-section h2, .cosmic-copy h2, .playground-copy h2, .frontier-section .section-heading h2,
  .join-section h2, .faq-section h2 { font-size: 31px; }
  .session-facts { display: block; background: #f0f3e7; }
  .session-facts > div { padding: 13px 12px; border-bottom: 1px solid #d8dfc9; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .session-facts > div:last-child { border-bottom: 0; }
  .session-facts dd { margin: 0; }
  .session-choice, html[lang=te] .session-choice { font-size: 14px; padding-inline: 9px; }
  .prep-title-row h3 { font-size: 27px; }
  .calendar-month-nav h3, html[lang=te] .calendar-month-nav h3 { font-size: 23px; }
  .quickstart-card, .project-card-body, .card-content { padding-inline: 18px; }
  .maker-strip { padding-inline: 12px; }
  .maker-strip .maker-link { padding-inline: 10px; }
  html[lang=te] .activities-heading h2, html[lang=te] .quickstart-heading h2,
  html[lang=te] .contact-section h2, html[lang=te] .install-section h2,
  html[lang=te] .intro-section h2, html[lang=te] .cosmic-copy h2,
  html[lang=te] .playground-copy h2, html[lang=te] .frontier-section .section-heading h2,
  html[lang=te] .join-section h2, html[lang=te] .faq-section h2 { font-size: 27px; }
  html[lang=te] .prep-title-row h3 { font-size: 24px; }
}

@media (max-width: 350px) {
  .session-choices { grid-template-columns: minmax(0, 1fr); }
  .session-choice, html[lang=te] .session-choice { min-height: 58px; gap: 12px; padding: 11px 12px; }
  .prep-title-row { gap: 9px; }
  .prep-emblem { width: 34px; height: 34px; }
  .prep-emblem svg { width: 21px; height: 21px; }
  .prep-title-row h3 { font-size: 26px; }
  .session-facts > div { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
  .prep-actions { grid-template-columns: minmax(0, 1fr); }
  .prep-actions > .button, .prep-actions > .prep-download { grid-column: auto; }
  .maker-strip .maker-arrow { display: none; }
  .project-library > summary, .deeper-story > summary { font-size: 22px; }
  .modal { padding-inline: 18px; }
  html[lang=te] .prep-title-row h3 { font-size: 23px; }
}

@media (min-width: 390px) and (max-width: 640px) {
  .project-library > summary, .deeper-story > summary { padding-inline: 24px; }
}
