/* Shared mobile layout. Hero typography and composition live in typography.css. */
@media (min-width: 601px) and (max-width: 900px) {
  .section, .scene:not(.hero) { padding: 72px 6%; min-height: auto; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 30px; }
  .premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-grid article { min-height: 220px; }
  .t4 .event-panel {
    position: relative; inset: auto; width: 100%; min-height: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 28px;
  }
  .t4 .event-panel > .eyebrow, .t4 .event-panel > h2,
  .t4 .event-panel > p, .t4 .event-panel > .btn,
  .t4 .event-panel > .event-hide { grid-column: 1 / -1; }
  .t4 .event-panel > p:not(.eyebrow) { display: none; }
  .t4 .event-panel .gift-card { min-height: 120px; }
  .t4 .event-panel > .event-hide { margin: 0; min-height: 44px; }
  .t4 .story-intro { padding-top: 72px; padding-bottom: 20px; }
  .stories { padding: 0 6%; }
  .editorial-row, .editorial-row.reverse { min-height: 0; gap: 6%; margin: 30px 0 64px; }
  .editorial-image { height: 360px; }
  .editorial-copy .section-heading h2 { font-size: 28px; }
  .benefit-cards { gap: 16px; }
  .benefit-cards img { height: 160px; }
  .benefit-cards article > div { padding: 18px; }
  .unit-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .unit-cards img { height: 210px; }
  .provided-detail { margin-top: 48px; }
}

@media (max-width: 600px) {
  body { font-size: 14px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
  html:has(body.t1.home-page), html:has(body.t2.home-page) { scroll-snap-type: none; }
  .t1, .t2 { scroll-snap-type: none; }

  .section, .scene:not(.hero), .harrington .section,
  .harrington .scene:not(.hero) {
    min-height: 0; padding: 48px 20px; scroll-snap-align: none;
  }
  .section-heading, .register-page .section-heading,
  .harrington .section-heading { margin-bottom: 26px; }
  .section-heading h2, .signature-section .section-heading h2,
  .dark-location .section-heading h2, .community-copy .section-heading h2,
  .overview-copy .section-heading h2, .t4 .section-heading h2,
  .editorial-copy .section-heading h2, .harrington .section-heading h2,
  .harrington .overview-copy .section-heading h2,
  .harrington .h-unit-intro .section-heading h2 {
    font-size: clamp(23px, 6.1vw, 26px); line-height: 1.4;
    letter-spacing: -.035em; word-break: keep-all; text-wrap: pretty;
  }
  .section-heading h2 br { display: none; }
  .section-heading h2 .copy-line { display: inline; }
  .section-heading .eyebrow, .harrington .section-heading .eyebrow {
    font-size: 10px; line-height: 1.5; letter-spacing: .12em; margin-bottom: 9px;
  }
  .section-heading > p:last-child:not(.eyebrow),
  .community-copy .section-heading > p:last-child:not(.eyebrow),
  .editorial-copy .section-heading > p:last-child:not(.eyebrow),
  .harrington .section-heading > p:last-child:not(.eyebrow) {
    font-size: 14px; line-height: 1.65; margin-top: 12px;
    white-space: normal; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;
  }
  .section-heading > p:last-child:not(.eyebrow) br,
  .signature-grid p br, .editorial-copy p br { display: none; }
  .fine, .harrington .fine { font-size: 11.5px; line-height: 1.7; margin-top: 16px; }
  .center-actions { gap: 8px; margin-top: 22px; }
  .btn, .btn.compact, .harrington .btn {
    min-height: 44px; font-size: 13px; line-height: 1.4;
    padding: 11px 16px; gap: 7px;
  }
  .text-link {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 13px; padding: 8px 0; margin-top: 14px;
  }
  .menu-button { min-width: 44px; min-height: 44px; display: grid; place-items: center; }

  /* A short overview image followed by a readable facts list. */
  .overview-scene, .harrington .h-overview { min-height: 0 !important; padding: 0 !important; }
  .overview-photo, .harrington .h-overview .overview-photo { height: 230px; }
  .overview-copy, .harrington .overview-copy { padding: 28px 20px 36px; }
  .overview-copy .section-heading { margin-bottom: 20px; }
  .spec-list > div, .overview-scene .spec-list > div,
  .overview-page .spec-list > div, .harrington .spec-list > div {
    grid-template-columns: 68px minmax(0, 1fr); font-size: 13px;
    gap: 12px; padding: 12px 0; line-height: 1.65;
  }
  .spec-list dd { min-width: 0; word-break: keep-all; overflow-wrap: break-word; }

  /* Six image cards fit in three compact rows instead of six tall panels. */
  .premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .premium-grid article { min-height: 172px; }
  .premium-grid article > div { padding: 38px 12px 14px; background: linear-gradient(transparent, #000d); }
  .premium-grid small { font-size: 9px; line-height: 1.4; letter-spacing: .04em; }
  .premium-grid h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.035em; margin: 7px 0; }
  .premium-grid p { font-size: 12.5px; line-height: 1.55; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
  .asset-note { font-size: 9px; line-height: 1.4; top: 8px; right: 8px; padding: 3px 5px; }

  .location-section .section-heading { margin-bottom: 24px; }
  .map-card > svg { min-height: 0; height: auto; max-height: none; object-fit: contain; }
  .provided-map, .contact-map img { width: 100%; height: auto; object-fit: contain; }
  .map-card > .btn { min-height: 44px; font-size: 12px; padding: 10px 12px; bottom: 10px; right: 10px; }
  .location-points { gap: 20px 14px; margin-top: 24px; }
  .location-points > div { padding-left: 12px; }
  .location-points b { font-size: 16px; }
  .location-points p { font-size: 13px; line-height: 1.6; }

  /* Home uses a complete, uncropped preview; the detail page keeps the full sheet. */
  .community-section.provided-community {
    min-height: 0 !important; padding: 48px 20px !important;
  }
  .provided-community .community-copy { margin-bottom: 24px; }
  .provided-community .section-heading { margin-bottom: 20px; }
  .community-plan { background: #fff; }
  .home-page .community-plan img { height: 350px; width: 100%; object-fit: contain; }
  .community-plan > span { min-height: 44px; padding: 12px; font-size: 13px; line-height: 1.5; }
  .sub-page .community-plan img { width: 100%; height: auto; object-fit: contain; }
  .home-page.harrington .h-community .h-visual img { height: 350px; width: 100%; object-fit: contain; }
  .harrington .h-visual > span { min-height: 44px; padding: 12px; font-size: 13px; line-height: 1.5; }
  .harrington .h-premium-grid p, .harrington .h-film-card p { font-size: 13px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }

  .project-steps { grid-template-columns: 1fr; gap: 0; margin: 0; }
  .project-steps > a {
    display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto;
    align-items: center; column-gap: 14px; row-gap: 3px;
    padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left;
  }
  .project-steps > a:first-child { padding-top: 0; }
  .project-steps span { grid-column: 1; grid-row: 1 / 3; width: 34px; height: 34px; font-size: 12px; }
  .project-steps b { grid-column: 2; width: auto; font-size: 16px; line-height: 1.5; }
  .project-steps strong { grid-column: 2; font-size: 13px; line-height: 1.55; font-weight: 400; }

  .contact-grid { gap: 26px; }
  .contact-info > a:not(.btn) { font-size: 30px; line-height: 1.4; margin-bottom: 20px; }
  .contact-info > h3 { margin-top: 18px; font-size: 15px; }
  .contact-info > p { font-size: 14px; line-height: 1.65; }
  .contact-info > .btn { margin-top: 22px; }
  .contact-grid .map-card > small { font-size: 12px; padding: 12px; min-height: 44px; }
  .map-links { gap: 8px 20px; margin-top: 16px; font-size: 13px; }
  .map-links a { display: inline-flex; align-items: center; min-height: 44px; }

  /* T2 keeps its quiet dark rhythm with compact signature and gallery lists. */
  .signature-grid { grid-template-columns: 1fr; gap: 0; margin: 0; }
  .signature-grid article {
    display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px 16px;
    padding: 18px 0; border-left: 0; border-bottom: 1px solid #fff2;
  }
  .signature-grid article:last-child { border-bottom: 0; padding-bottom: 0; }
  .signature-grid small { grid-row: 1 / 3; font-size: 21px; line-height: 1.4; }
  .signature-grid h3 { font-size: 17px; line-height: 1.5; margin: 0; }
  .signature-grid p { font-size: 14px; line-height: 1.65; margin: 0; word-break: keep-all; overflow-wrap: break-word; }
  .dark-location { gap: 26px; }
  .dark-location > img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .dark-location .section-heading { margin-bottom: 18px; }
  .dark-location ol { font-size: 14px; line-height: 1.75; padding-left: 18px; margin: 0; }
  .dark-location li + li { margin-top: 7px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid > button {
    display: grid; grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px;
    min-height: 88px; align-content: center;
  }
  .gallery-grid img, .t2 .gallery-grid img, .film-gallery img {
    grid-column: 1; grid-row: 1 / 3; width: 116px; height: 88px; object-fit: cover;
  }
  .gallery-grid small { grid-column: 2; margin: 0; font-size: 10px; line-height: 1.5; align-self: end; }
  .gallery-grid h3 { grid-column: 2; font-size: 16px; line-height: 1.45; margin: 0; align-self: start; }
  .gallery-grid p { grid-column: 2; font-size: 13px; line-height: 1.6; margin: 0; }
  .film-gallery h3 { align-self: end; }

  /* T4's guide and editorial stories no longer reserve oversized empty panels. */
  .t4 .event-panel {
    min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 16px; padding: 22px;
  }
  .t4 .event-panel > .eyebrow, .t4 .event-panel > h2,
  .t4 .event-panel > .btn, .t4 .event-panel > .event-hide { grid-column: 1 / -1; }
  .t4 .event-panel > p:not(.eyebrow) { display: none; }
  .t4 .event-panel h2 { font-size: 21px; line-height: 1.4; }
  .t4 .event-panel .gift-card { min-height: 110px; padding: 10px 8px; }
  .t4 .event-panel .gift-card b { font-size: 25px; white-space: nowrap; }
  .t4 .event-panel .gift-card small { font-size: 8px; }
  .t4 .event-panel .gift-card span { font-size: 10px; }
  .t4 .event-panel dl > div { display: block; padding: 6px 0; font-size: 12px; line-height: 1.5; }
  .t4 .event-panel dt { font-size: 10px; }
  .t4 .event-panel .event-hide { margin: 0; min-height: 44px; padding: 12px !important; }
  .t4 .story-intro { padding: 44px 20px 8px; }
  .stories { padding: 0 20px; }
  .editorial-row, .editorial-row.reverse {
    display: flex; flex-direction: column; gap: 22px; min-height: 0; margin: 24px 0 44px;
  }
  .editorial-image { height: auto; aspect-ratio: 4 / 3; }
  .editorial-image img { width: 100%; height: 100%; }
  .editorial-copy { padding: 0; }
  .editorial-copy .section-heading { margin-bottom: 0; }
  .editorial-copy .text-link { margin-top: 10px; }
  .t4 .contact-section { padding-top: 20px; }

  /* T5 preserves conversion cards and nine actual plans in a shorter layout. */
  .benefit-band { padding: 22px 16px; gap: 16px 0; }
  .benefit-band > div { padding: 0 8px; }
  .benefit-band small { font-size: 11px; }
  .benefit-band strong { font-size: 19px; line-height: 1.4; margin: 4px 0; white-space: nowrap; }
  .benefit-band span { font-size: 11px; line-height: 1.55; }
  .benefit-cards { grid-template-columns: 1fr; gap: 14px; }
  .benefit-cards article { display: grid; grid-template-columns: 38% minmax(0, 1fr); min-height: 146px; border-radius: 6px; }
  .benefit-cards img { width: 100%; height: 100%; min-height: 146px; object-fit: cover; }
  .benefit-cards article > div { padding: 18px 14px; align-self: center; }
  .benefit-cards small { font-size: 11px; }
  .benefit-cards h3 { font-size: 18px; line-height: 1.45; margin: 3px 0; }
  .benefit-cards .text-link { font-size: 13px; margin-top: 6px; }
  .benefit-cards .asset-note { left: 5px; right: auto; top: 5px; max-width: 35%; font-size: 8px; }
  .unit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .unit-cards article { min-width: 0; padding: 12px; }
  .unit-cards h3 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
  .unit-cards article > div { margin-bottom: 12px; }
  .unit-cards img { height: 172px; width: 100%; object-fit: contain; }
  .unit-cards .btn { min-height: 44px; padding: 10px 4px; font-size: 12px; }
  .reservation-band { padding: 32px 20px; gap: 20px; }
  .reservation-band h2 { font-size: 23px; line-height: 1.4; white-space: normal; }

  /* Subpage titles occupy less space; navigation remains horizontally scrollable. */
  .sub-visual, .harrington .sub-visual { height: 190px; }
  .sub-visual h1 { font-size: 34px; line-height: 1.3; letter-spacing: .035em; }
  .sub-visual p { font-size: 14px; margin-top: 8px; }
  .sub-title, .harrington .sub-title { padding: 32px 20px 22px; }
  .sub-title h1, .harrington .sub-title h1 { font-size: 28px; line-height: 1.4; }
  .sub-title p { font-size: 11px; margin-top: 8px; }
  .local-nav { height: 50px; padding: 0 12px; font-size: 13px; }
  .local-nav a { padding: 14px 16px; min-height: 44px; }
  .overview-page .wide-visual { height: 220px; margin-bottom: 24px; }
  .provided-detail { margin-top: 42px; }
  .provided-detail > h3 { font-size: 19px; margin: 28px 0 14px; }
  .provided-detail > button { margin: 18px 0 32px; }
  .provided-detail > button img { width: 100%; height: auto; object-fit: contain; }
  .schedule-detail { padding-top: 0; }
  .table-scroll table { min-width: 0; table-layout: fixed; font-size: 13px; line-height: 1.65; }
  .table-scroll th, .table-scroll td { padding: 14px 12px; word-break: keep-all; overflow-wrap: break-word; }
  .table-scroll th:first-child { width: 88px; min-width: 0; }
  .table-scroll table:has(thead tr > :nth-child(3)) { min-width: 520px; }

  .unit-tabs { margin-bottom: 18px; }
  .unit-tabs button { min-height: 44px; min-width: 58px; padding: 10px 12px; font-size: 13px; }
  .unit-summary { grid-template-columns: 98px minmax(0, 1fr); min-height: 0; }
  .type-number b { font-size: 32px; }
  .type-number small { font-size: 11px; }
  .unit-summary dl { padding: 12px; }
  .unit-summary dl > div { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; font-size: 12px; padding: 10px 0; }
  .drawing-top { align-items: center; gap: 8px; }
  .drawing-top > span { font-size: 11px; padding: 6px 10px; }
  .drawing-section .drawing-open img { width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
  .drawing-bottom .btn, .plan-toggle button { min-height: 44px; padding: 10px 12px; font-size: 12px; }

  .register-layout { gap: 24px; }
  .register-benefits article { gap: 16px; padding: 14px 0; }
  .register-benefits span { font-size: 25px; line-height: 1.5; }
  .register-benefits h3 { font-size: 16px; line-height: 1.5; margin-bottom: 4px; }
  .register-benefits p { font-size: 13px; line-height: 1.65; }
  .form-card { padding: 22px 16px; }
  .lead-form { gap: 16px; }
  .lead-form > label { font-size: 13px; line-height: 1.5; }
  .lead-form input:not([type=checkbox]), .lead-form select {
    min-height: 48px; font-size: 16px; line-height: 1.5; padding: 11px 12px; margin-top: 7px;
  }
  .inline-form { grid-template-columns: 1fr !important; gap: 12px !important; }
  .inline-form > label { grid-column: 1; }
  .inline-form input { font-size: 16px !important; padding: 11px 12px !important; }
  .inline-form .consent-row { grid-column: 1; grid-row: auto; }
  .inline-form .btn, .inline-form .form-result, .inline-form > small { grid-column: 1; grid-row: auto; }
  .consent-row { gap: 12px; font-size: 12px; line-height: 1.65; align-items: center; }
  .consent-row label { align-items: flex-start; }
  .consent-row input { width: 18px; height: 18px; margin-top: 2px; }
  .consent-row button, .consent-row > a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 4px; }
  .lead-form > small { font-size: 11.5px; line-height: 1.65; }
  .form-result { font-size: 13px; line-height: 1.6; }

  dialog { max-height: 92svh; padding: 28px 20px 22px; }
  dialog > h2, .register-panel > h2 { font-size: 23px; line-height: 1.4; margin-bottom: 20px; }
  dialog > p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
  .dialog-close { width: 44px; height: 44px; right: 6px; top: 4px; }
  .register-panel { padding: 52px 20px 28px; }
  .register-panel .lead-form { margin-top: 24px; }
  .full-menu { padding: 32px 20px; }
  .menu-logo { font-size: 20px; margin-bottom: 24px; }
  .full-menu-grid { gap: 24px 18px; }
  .full-menu-grid h2 { font-size: 18px; line-height: 1.4; margin: 6px 0 8px; }
  .full-menu-grid a { font-size: 14px; min-height: 44px; padding: 9px 0; margin: 0; }
  .menu-phone { min-height: 44px; font-size: 23px; margin-top: 24px; }
  .popup-card { min-height: 0; gap: 14px; padding: 22px; }
  .popup-card h3 { font-size: 23px; line-height: 1.4; }
  .popup-card > p:not(.eyebrow) { font-size: 13px; line-height: 1.65; }
  .popup-card .offer-number b { font-size: 30px; }
  .popup-card dl div { padding: 10px 0; }
  .popup-card .gift-card { min-height: 115px; }
  .popup-bottom { align-items: center; margin-top: 12px; }
  .popup-bottom button, .slider-controls button { min-width: 44px; min-height: 44px; }
  .popup-single h3 { font-size: 23px; }
  .image-dialog > h2, .drawing-dialog > h2, .h-image-viewer > h2 { font-size: 20px; line-height: 1.4; }
  .zoom-controls { gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
  .zoom-controls button { min-width: 44px; height: 44px; font-size: 13px; padding: 0 12px; }
  .zoom-controls output { font-size: 13px; }
  .video-preview { height: auto; min-height: 280px; }
  .video-preview h3 { font-size: 24px; margin-bottom: 20px; }

  /* The presentation controls stay usable without covering the full bottom edge. */
  .studio-switch { bottom: max(12px, env(safe-area-inset-bottom)); }
  .studio-switch > span { display: none; }
  .studio-switch > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; padding: 8px 12px; }
  .studio-switch select { min-height: 44px; font-size: 12px; max-width: 230px; padding: 8px; }
  .studio-switch button { min-height: 44px; font-size: 12px; }
  .site-footer, .harrington .site-footer { padding: 28px 20px 88px; font-size: 11.5px; line-height: 1.75; }
  .site-footer .back-top { min-height: 44px; padding: 10px 0; margin-bottom: 16px; }
  .site-footer .footer-links { flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
  .site-footer button, .site-footer > a { font-size: 12px; min-height: 44px; }
  .site-footer p { line-height: 1.75; }
  .compact-footer { padding: 18px 20px 78px; gap: 8px 16px; }
  .compact-footer strong { font-size: 14px; }
  .compact-footer small { font-size: 11px; }

  .template-gallery { padding: 24px 20px 0; }
  .template-gallery > header { margin-bottom: 42px; gap: 16px; align-items: flex-start; }
  .template-gallery > header > a:first-child { font-size: 15px; white-space: nowrap; }
  .template-gallery > h1 { font-size: 34px; line-height: 1.3; margin: 16px 0 20px; letter-spacing: -.045em; }
  .gallery-intro { font-size: 14px; line-height: 1.7; margin-bottom: 30px; text-wrap: pretty; }
  .gallery-intro br { display: none; }
  .template-grid { gap: 30px; }
  .template-cover { height: 220px; }
  .template-card-copy { padding-top: 16px; }
  .template-card-copy h2 { font-size: 18px; line-height: 1.4; margin: 7px 0 9px; }
  .template-card-copy p { font-size: 13px; line-height: 1.65; }
  .template-gallery > footer { font-size: 12px; line-height: 1.75; margin-top: 42px; }
}

@media (max-width: 360px) {
  .section, .scene:not(.hero), .harrington .section,
  .harrington .scene:not(.hero) { padding-left: 16px; padding-right: 16px; }
  .premium-grid article > div { padding-left: 10px; padding-right: 10px; }
  .premium-grid h3 { font-size: 15px; }
  .premium-grid p { font-size: 12px; }
  .gallery-grid > button { grid-template-columns: 100px minmax(0, 1fr); column-gap: 14px; }
  .gallery-grid img, .t2 .gallery-grid img, .film-gallery img { width: 100px; height: 80px; }
  .benefit-band strong { font-size: 18px; }
  .unit-cards article { padding: 10px; }
  .unit-cards img { height: 160px; }
  .unit-cards .btn { font-size: 11.5px; }
  .t4 .event-panel { padding: 20px 16px; gap: 10px 12px; }
}
