/* Phone art direction. Loaded after page styles; desktop remains unchanged. */
@media (max-width: 700px) {
  :root { --mobile-gutter: 24px; --mobile-title: clamp(32px, 8.4vw, 44px); --mobile-heading: clamp(29px, 7.5vw, 38px); }
  .header-inner { padding-inline: var(--mobile-gutter); }
  main h1, main h2, main h3 { overflow-wrap: break-word; text-wrap: balance; }
  main p { text-wrap: pretty; }
  /* Keep the first screen balanced even when a portrait slide is supplied. */
  body[data-page="/"] .hero-carousel .hero-slide .hero-image {
    height: clamp(250px, 78vw, 340px); object-fit: var(--cms-image-fit-mobile, cover) !important;
    object-position: var(--cms-image-position-mobile, 50% 50%);
  }
  body[data-page="/"] .hero-carousel .hero-slide .hero-content { min-height: 290px; }
  body[data-page="/"] .hero-carousel .hero-slide .hero-content .eyebrow { padding-top: 0; }
  body[data-page="/"] .hero-carousel .hero-controls-inner { padding: 12px var(--mobile-gutter) 28px; }
  body[data-page="/"] .hero-carousel .hero-slide .hero-content .button-outline { min-height: 44px; }
  .interest-box { width: 104px; height: 46px; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
  body.interest-calm .interest-box,
  body:has(.menu-toggle[aria-expanded="true"]) .interest-box,
  body:has(.tea-registration:focus-within) .interest-box { visibility: hidden; pointer-events: none; }

  /* Use the same optical edge as the logo, without nested side padding. */
  .tea-index-inner, .fermented-wrap, .founder-wrap, .gift-journey-wrap,
  .ct-destinations-inner, .ct-correspondence-inner, .tea-registration-inner {
    width: calc(100% - 2 * var(--mobile-gutter));
  }
  body[data-page="/"] .hero-carousel .hero-slide[data-slide] .hero-content { padding: 28px var(--mobile-gutter) 24px; }
  body[data-page="/"] .hero-carousel .hero-slide[data-slide] .hero-content h1 { font-size: var(--cms-heading-size-mobile, var(--mobile-title)) !important; line-height: 1.12; }
  body[data-page="/"] .hero-carousel .hero-slide[data-slide] .hero-content .lead { font-size: var(--cms-body-size-mobile, 14px); line-height: 1.8; }
  body[data-page] .full-frame-hero > .tea-hero-inner,
  body[data-page] .full-frame-hero > .ct-hero-inner {
    width: 100%; padding: 28px var(--mobile-gutter) 36px;
  }
  body[data-page] .full-frame-hero .full-frame-hero-copy {
    position: relative; inset: auto; width: 100%; max-width: none; padding: 0;
  }
  body[data-page] .full-frame-hero h1 { font-size: var(--mobile-title); line-height: 1.12; margin: 18px 0 20px; }
  .full-frame-hero .tea-hero-copy > p:not(.tea-kicker), .full-frame-hero .ct-hero-note {
    font-size: 14px; line-height: 1.8; max-width: 36em;
  }
  .full-frame-hero .tea-hero-discover, .full-frame-hero .ct-hero-link { margin-top: 20px; }
  .full-frame-hero-border { border: 0; }
  .full-frame-hero > .full-frame-hero-shade {
    background: linear-gradient(180deg, #14291f66, transparent 55%, #14291f15 80%, #14291f80);
  }

  /* A complete photograph above a quiet reading area, not a tall cropped cover. */
  .gallery-museum .museum-hero { min-height: 0; }
  .gallery-museum .museum-hero-image { position: relative; inset: auto; z-index: 0; }
  .gallery-museum .museum-hero-image img { display: block; width: 100%; height: auto; transform: none; }
  .gallery-museum .museum-hero .museum-hero-shade {
    z-index: 1; bottom: auto; height: clamp(120px, 35vw, 245px);
    background: linear-gradient(180deg, #10291b70, #20351f10 75%, transparent);
    mask-image: none; -webkit-mask-image: none; pointer-events: none;
  }
  body[data-page="/thu-vien"].gallery-museum .museum-hero-inner {
    position: relative; display: block; min-height: 0; width: 100%; max-width: none;
    padding: 30px var(--mobile-gutter) 38px;
    background: radial-gradient(ellipse at 40% 40%, #283e29 0%, #20351f80 45%, transparent 100%), #0d251b;
  }
  .gallery-museum .museum-hero h1 { font-size: var(--mobile-title); line-height: 1.12; margin: 18px 0 20px; text-shadow: none; }
  .gallery-museum .museum-hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; text-shadow: none; padding: 0; border: 0; }
  .gallery-museum .museum-hero .museum-scroll { margin-top: 24px; }
  .museum-hero-frame { display: none; }
  body[data-page="/thu-vien"] .museum-index h2,
  body[data-page="/thu-vien"] .archive-heading h2,
  body[data-page="/thu-vien"] .museum-ending h2 { font-size: var(--cms-heading-size-mobile, var(--mobile-heading)); line-height: 1.18; }

  .tea-index-inner { padding-block: 52px; }
  .tea-index h2, .tea-chapter h2 { font-size: var(--mobile-heading); line-height: 1.15; }
  .tea-index-list { margin-top: 28px; }
  .tea-index-list a { min-height: 64px; }
  .tea-chapter-link { min-height: 540px; }
  .tea-chapter-copy { padding: 0 var(--mobile-gutter) 36px; }
  .tea-chapter-copy > p { font-size: 14px; line-height: 1.8; }
  .tea-chapter--flower .tea-chapter-link, .tea-chapter--shan_tuyet .tea-chapter-link { padding: 32px var(--mobile-gutter) 44px; }
  .tea-chapter--flower .tea-chapter-photo, .tea-chapter--shan_tuyet .tea-chapter-photo { width: 94%; height: auto; aspect-ratio: 4 / 3; }
  .tea-chapter--flower .tea-chapter-copy, .tea-chapter--shan_tuyet .tea-chapter-copy { padding: 36px 0 0; }
  .tea-chapter-number { font-size: 72px; opacity: .5; }

  .about-opening-quote h2, .about-journey-copy h2, .about-vision-copy h2,
  .about-renewal-top h2, .about-philosophy h2 { font-size: var(--mobile-heading); line-height: 1.18; }
  .about-prologue-deck p { font-size: 14px; line-height: 1.8; }
  .fermented-page .fermented-hero-copy h1, .ngoc-variety-copy h1,
  .founder-cover h1, .gift-detail-copy h1 { font-size: var(--mobile-title); line-height: 1.14; }
  body[data-page] .gift-detail-copy h1 { font-size: var(--mobile-title); line-height: 1.14; }
  body[data-page] .gift-detail-motto { font-size: clamp(25px, 7vw, 30px); line-height: 1.3; }
  .fermented-page h2, .ngoc-variety-content h2, .founder-section-heading h2,
  .gift-ambassadors-head h2, .gift-language-copy h2, .gift-manifesto-copy h2 { font-size: var(--mobile-heading); line-height: 1.18; }
  .fermented-page .fermented-hero-art, .ngoc-variety-art { width: 100%; }
  .fermented-page .fermented-hero-art .media-frame, .ngoc-variety-art .media-frame { aspect-ratio: 4 / 3; }
  .fermented-variety-copy > p:not(.fermented-small-label), .fermented-uses p { font-size: 14px; line-height: 1.8; }
  .fermented-story, .fermented-collection, .fermented-benefits, .founder-section { padding-block: 48px; }
  .founder-press-meta { flex-wrap: wrap; gap: 8px; }

  .ct-destinations h2, .ct-letter h2, .ct-location h3 { font-size: var(--mobile-heading); line-height: 1.18; }
  .ct-location .ct-location-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .ct-location .ct-location-copy, .ct-location:nth-child(even) .ct-location-copy,
  .ct-location.image-left .ct-location-copy, .ct-location.image-right .ct-location-copy,
  .ct-location.image-left:nth-child(even) .ct-location-copy,
  .ct-location.image-right:nth-child(odd) .ct-location-copy { padding: 28px 0 0; }
  .ct-location address, .ct-letter > p:last-child { font-size: 14px; line-height: 1.8; }
  .ct-contact-detail > a, .ct-hotline > a { overflow-wrap: anywhere; }
  .ct-social { flex-wrap: wrap; gap: 12px 18px; }
  .ct-social a { min-height: 44px; }

  .meet-benefits-head h2, .meet-invitation-copy h2, .tea-registration h2 { font-size: var(--mobile-heading); line-height: 1.18; }
  body[data-page="/gap-go-ket-noi"] .meet-hero h1 { font-size: var(--mobile-title); line-height: 1.14; }
  .meet-host h2, .meet-section-head h2, .meet-tasting-head h2,
  .gift-collections-head h2, .gift-detail-story h2, .gift-related h2 { font-size: var(--mobile-heading); line-height: 1.18; }
  .gift-card-title h3 { font-size: 30px; }
  .about-project-copy h2 { font-size: var(--mobile-heading); line-height: 1.18; }
  .meet-invitation-copy h2 em { white-space: normal; }
  .meet-benefit-card h3 { font-size: 27px; line-height: 1.2; }
  .tea-registration-inner { padding-block: 48px 56px; gap: 28px; }
  .tea-registration-fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tea-registration-field-wide { grid-column: auto; }
  .tea-registration-paper { padding: 24px 20px; box-shadow: 4px 6px 0 #dfe3d4; }
  .tea-registration-field input, .tea-registration-field textarea { font-size: 16px; }
  .tea-registration-submit-row { flex-wrap: wrap; gap: 16px; }
  .tea-registration-submit { width: 100%; }
  .site-footer { padding-inline: var(--mobile-gutter); }
  .footer-grid { gap: 30px; }
  .footer-explore nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .footer-explore nav a, .footer-social a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-location-list address, .footer-info-list a, .footer-info-list p { font-size: 13px; line-height: 1.7; }
}
@media (max-width: 380px) {
  :root { --mobile-gutter: 18px; }
  .tea-chapter-link { min-height: 500px; }
}
