/* Phone-only editorial and product layouts. Load after the existing site CSS. */
@media (max-width: 600px) {
  .page-title {
    padding-top: 34px;
    padding-bottom: 28px;
  }
  .page-title h1,
  body[data-page="products"] .page-title h1 {
    font-size: 29px;
    font-weight: 550;
    line-height: 1.3;
    letter-spacing: -.025em;
    margin-bottom: 13px;
    overflow-wrap: anywhere;
  }
  .page-title > p,
  body[data-page="products"] .page-title > p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 28em;
  }
  .page-title h1 br { display: none; }

  /* Browsing rice on a phone: generous product stages, one complete item at a time. */
  .catalog { padding-top: 0; }
  .scene-filters {
    gap: 21px;
    margin-bottom: 12px;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .scene-filters::-webkit-scrollbar { display: none; }
  .scene-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding-block: 9px;
  }
  .catalog-tools { gap: 12px; margin-bottom: 13px; }
  .catalog .filters { padding-block: 3px; gap: 8px; }
  .catalog .filter-button { min-height: 44px; font-size: 13px; }
  .catalog .pack-filters { gap: 18px; margin: 0 0 15px; }
  .catalog .pack-filters .filter-button { padding-inline: 0; font-size: 13px; }
  .search { min-height: 48px; font-size: 13px; }
  .search input { min-height: 48px; font-size: 16px; }
  .catalog-count { font-size: 12px; margin: 18px 0 17px; }
  .product-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .product-item,
  .single-product .product-item {
    display: flex;
    flex-direction: column;
    padding: 0 0 25px;
    border-radius: 18px;
    background: #f4f6f2;
    text-align: center;
    min-width: 0;
  }
  .product-item figure,
  .single-product .product-item figure {
    padding: 20px 16px 0;
    min-width: 0;
  }
  .product-item figure img,
  .single-product .product-item figure img {
    display: block;
    width: 100%;
    height: auto;
    block-size: auto;
    aspect-ratio: 1.12;
    max-height: 365px;
    object-fit: contain;
    mix-blend-mode: normal;
    transform: none;
  }
  .product-card-copy,
  .single-product .product-card-copy { padding: 15px 22px 0; }
  .product-card-copy .product-family { font-size: 12px; line-height: 1.6; margin: 0 0 9px; }
  .product-card-copy h2,
  .single-product .product-card-copy h2 {
    font-size: 24px;
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    margin: 0;
  }
  .product-card-copy > .product-preview { font-size: 14px; line-height: 1.8; margin: 13px 0 0; }
  .product-card-copy .card-spec { font-size: 14px; line-height: 1.65; margin: 14px 0 1px; }
  .product-card-copy .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin-top: 1px; }

  /* Brand pages keep the statement and a complete packaging photograph together. */
  .brand-page-hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
    min-block-size: 0;
    margin: 16px 16px 0;
    padding: 0;
    gap: 0;
    border-radius: 18px;
    background: #f4f6f2;
    overflow: hidden;
    text-align: center;
  }
  .brand-page-hero > div { padding: 30px 20px 7px; }
  .brand-page-hero h1 { font-size: 30px; line-height: 1.3; font-weight: 550; letter-spacing: -.025em; }
  .brand-page-hero p { font-size: 17px; line-height: 1.65; margin: 12px 0 16px; }
  .brand-page-hero > div > .button { min-height: 44px; font-size: 14px; padding: 10px 20px; }
  .brand-page-hero > div > .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin: 5px 0 0 15px; }
  .brand-page-hero > figure { padding: 8px 12px 18px; }
  .brand-page-hero img { width: 100%; height: auto; block-size: auto; aspect-ratio: 1.1; max-height: 355px; object-fit: contain; }
  .brand-page-hero img[src$="brand-cover.webp"] { aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% center; }
  .brand-description { text-align: left; padding-top: 34px; padding-bottom: 28px; }
  .brand-description h2 { font-size: 26px; line-height: 1.45; font-weight: 550; }
  .brand-description p { font-size: 15px; line-height: 1.9; margin: 16px 0 0; }
  .brand-products { padding-top: 27px; padding-bottom: 25px; }
  .brand-products .section-heading { align-items: flex-start; }
  .brand-products .section-heading h2 { font-size: 25px; line-height: 1.4; }
  .brand-products .section-heading .text-link { font-size: 14px; min-height: 44px; }
  .packaging-overview { padding-top: 16px; padding-bottom: 14px; }
  .packaging-types { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .packaging-types > a {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 18px 23px;
    border-radius: 18px;
    background: #f4f6f2;
    text-align: center;
  }
  .packaging-types img { width: 100%; height: auto; block-size: auto; aspect-ratio: 1.28; object-fit: contain; padding: 0; background: transparent; border-radius: 0; }
  .packaging-types h3 { align-self: center; font-size: 24px; line-height: 1.4; margin: 17px 0 0; }
  .packaging-types p { align-self: center; font-size: 14px; line-height: 1.8; margin: 9px 0 0; }

  /* The product name stays fully readable in the hero; the sticky row stays compact. */
  .product-nav > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 7px 16px; min-height: 58px; }
  .product-nav > div > a { font-size: 13px; line-height: 44px; min-height: 44px; min-width: 0; max-width: none; }
  .product-nav > div > div { gap: 10px; }
  .product-nav > div > div > a:not(.button) { min-height: 44px; font-size: 12px; }
  .product-nav .button.compact { min-height: 44px; padding-inline: 13px; font-size: 13px; }
  .detail-hero { padding: 29px 18px 15px; }
  .detail-hero .product-family { font-size: 12px; line-height: 1.65; margin-bottom: 10px; }
  .detail-hero h1 { max-width: 13em; margin-inline: auto; font-size: 29px; line-height: 1.35; font-weight: 550; letter-spacing: -.025em; overflow-wrap: anywhere; }
  .detail-hero .stage-heading > p:not(.product-family) { font-size: 15px; line-height: 1.85; max-width: 29em; margin: 17px auto 0; }
  .detail-hero .stage-heading > .product-display-note { font-size: 12px; line-height: 1.85; padding: 0; margin-top: 15px; color: #737d6d; }
  .detail-product-object { margin: 23px 0 0; }
  body[data-page="product"] .detail-hero .detail-product-object > img[alt] { width: 100%; height: auto; block-size: auto; aspect-ratio: 1; max-height: 390px; padding: 0; object-fit: contain; }
  .product-use { gap: 18px; padding-top: 26px; padding-bottom: 27px; }
  .product-use h2,
  .premium-origin h2 { font-size: 26px; line-height: 1.45; font-weight: 550; letter-spacing: -.02em; }
  .product-use p { font-size: 15px; line-height: 1.9; }
  .product-use p + p { margin-top: 14px; }
  .product-highlights { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 13px; padding-bottom: 23px; }
  .product-highlights article { padding-top: 0; }
  .product-highlights h2 { font-size: 23px; line-height: 1.45; font-weight: 550; }
  .product-highlights p { margin-top: 10px; font-size: 15px; line-height: 1.85; }
  .premium-origin { gap: 24px; padding: 33px var(--gutter); }
  .premium-origin p { margin-top: 16px; font-size: 15px; line-height: 1.9; }
  .premium-origin img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
  .spec-section { padding-top: 36px; scroll-margin-top: calc(var(--site-header-height) + 70px); }
  .spec-section .section-heading h2 { font-size: 26px; line-height: 1.4; }
  .spec-layout { gap: 26px; }
  .spec-choice h3 { font-size: 19px; font-weight: 550; margin-bottom: 15px; }
  .spec-buttons { gap: 8px; }
  .spec-buttons button { min-width: 69px; min-height: 44px; padding: 9px 15px; font-size: 15px; }
  .spec-summary { margin: 16px 0 21px; font-size: 15px; line-height: 1.75; }
  .facts-table { font-size: 14px; line-height: 1.8; table-layout: fixed; }
  .facts-table th { width: 30%; }
  .facts-table th,
  .facts-table td { padding: 12px 10px; overflow-wrap: anywhere; }

  /* Cooking is a small, readable instruction sequence with full-width visual ratios. */
  .cooking-guide-photo { padding-bottom: 18px; }
  .cooking-guide-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
  .cooking-guide-photo figcaption { font-size: 12px; line-height: 1.75; margin-top: 11px; }
  .guide-intro { padding-top: 12px; padding-bottom: 30px; }
  .guide-intro > p { font-size: 15px; line-height: 1.9; margin-bottom: 15px; }
  .rice-ratios { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 27px; }
  .rice-ratios article { padding: 0 20px 23px; border-radius: 16px; }
  .rice-ratios img { display: block; width: calc(100% + 40px); margin: 0 -20px 21px; aspect-ratio: 2; height: auto; object-fit: contain; border-radius: 16px 16px 0 0; }
  .rice-ratios p { font-size: 15px; line-height: 1.7; }
  .rice-ratios strong { font-size: 52px; line-height: 1.15; margin: 12px 0; }
  .rice-ratios span { display: block; font-size: 14px; line-height: 1.8; }
  .guide-intro .guide-essential { font-size: 13px; line-height: 1.85; margin-top: 18px; }
  .guide-calculator { margin-block: 5px 27px; padding: 27px var(--gutter); border-radius: 0; }
  .guide-calculator h2,
  .cooking-steps > .section-heading h2,
  .guide-examples h2,
  .guide-faq h2 { font-size: 25px; font-weight: 550; line-height: 1.4; }
  .guide-calculator > div > p { font-size: 15px; line-height: 1.8; }
  #rice-water-calculator { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px 14px; }
  #rice-water-calculator label:first-child { grid-column: 1 / -1; }
  #rice-water-calculator label { min-width: 0; font-size: 13px; line-height: 1.6; }
  #rice-water-calculator input,
  #rice-water-calculator select { font-size: 16px; min-height: 48px; border-radius: 10px; padding-inline: 12px; }
  #rice-water-result { grid-column: auto; min-height: 48px; font-size: 24px; line-height: 1.4; align-self: end; white-space: normal; text-align: center; }
  .cooking-steps { padding-top: 27px; padding-bottom: 29px; }
  .cooking-steps ol { gap: 29px; }
  .cooking-steps li { padding-left: 37px; }
  .cooking-steps h3 { font-size: 20px; line-height: 1.45; margin-bottom: 11px; }
  .cooking-steps p { font-size: 15px; line-height: 1.9; }
  .guide-examples { padding-top: 24px; padding-bottom: 24px; }
  .guide-examples .facts-table { width: 100%; min-width: 0; font-size: 14px; line-height: 1.8; }
  .guide-examples .facts-table th { width: auto; }
  .guide-examples .facts-table th,
  .guide-examples .facts-table td { padding: 11px 8px; }
  .guide-faq { padding-top: 28px; }
  .guide-faq summary { display: list-item; min-height: 44px; padding-block: 6px; font-size: 17px; line-height: 1.8; }
  .guide-faq details { padding-block: 17px; }
  .guide-faq details p,
  .guide-serving { font-size: 15px; line-height: 1.9; }
  .cooking-prompt { padding: 26px var(--gutter); margin: 23px 0; }
  .cooking-prompt h2 { font-size: 24px; line-height: 1.4; }
  .cooking-prompt p { font-size: 15px; line-height: 1.85; }
  .cooking-prompt .button { min-height: 44px; font-size: 14px; margin-top: 17px; }

  /* Documentary pages retain the full images and the exact report/plot annotations. */
  .quality-story { padding-top: 0; padding-bottom: 28px; }
  .quality-story h2 { font-size: 26px; line-height: 1.45; font-weight: 550; margin-bottom: 18px; }
  .quality-story p { font-size: 15px; line-height: 1.9; margin-top: 16px; }
  .quality-testing { padding-top: 20px; padding-bottom: 32px; }
  .quality-testing .section-heading h2 { font-size: 26px; line-height: 1.4; }
  .quality-testing .section-heading p { font-size: 15px; line-height: 1.8; }
  .testing-cadence { gap: 25px; }
  .testing-cadence .testing-frequency { font-size: 30px; line-height: 1.3; }
  .testing-cadence h3 { font-size: 21px; }
  .testing-cadence article > p:last-child { font-size: 15px; line-height: 1.85; }
  .testing-note { font-size: 13px; line-height: 1.85; }
  .document-showcase { padding-top: 18px; padding-bottom: 28px; }
  .document-showcase .section-heading h2 { font-size: 26px; line-height: 1.4; }
  .document-showcase-grid { gap: 33px; }
  .document-card h3 { font-size: 22px; line-height: 1.45; }
  .document-frame { padding: 10px; min-height: 0; border-radius: 12px; }
  .document-card-certificate .document-frame { padding: 22px 28px; }
  .document-card-certificate .document-frame img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .document-card > p { font-size: 14px; line-height: 1.9; }
  .document-card dl { font-size: 14px; line-height: 1.85; }
  .document-card dl > div { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; margin-top: 11px; }
  .document-card .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .evidence-section { padding-top: 24px; padding-bottom: 28px; }
  .evidence-section .section-heading h2 { font-size: 26px; line-height: 1.4; }
  .evidence-list article { gap: 19px; padding-block: 27px; }
  .evidence-list h3 { font-size: 22px; line-height: 1.45; }
  .evidence-list p { font-size: 14px; line-height: 1.9; }
  .evidence-list dl { font-size: 14px; line-height: 1.85; }
  .evidence-list dl > div { grid-template-columns: 67px minmax(0, 1fr); gap: 12px; margin-top: 10px; }
  .evidence-scope .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin-top: 12px; }
  .quality-gallery article { gap: 20px; margin-bottom: 37px; }
  .quality-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
  .quality-gallery h2 { font-size: 26px; line-height: 1.45; font-weight: 550; }
  .quality-gallery p { font-size: 15px; line-height: 1.9; margin-top: 14px; }
  .origin-photographs { padding-top: 0; padding-bottom: 25px; }
  .origin-portraits { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 77%; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding-bottom: 12px; }
  .origin-portraits figure { scroll-snap-align: start; }
  .origin-portraits img { aspect-ratio: 3 / 4; border-radius: 14px; }
  .origin-portraits figcaption { font-size: 13px; line-height: 1.7; margin-top: 10px; }
  .origin-landscape > h2 { font-size: 25px; line-height: 1.45; }
  .origin-landscape .origin-map { margin-inline: calc(-1 * var(--gutter)); }
  .origin-map > figcaption { padding-inline: var(--gutter); font-size: 12px; line-height: 1.8; }
  .origin-intro { margin-top: 25px; }
  .origin-intro p { font-size: 15px; line-height: 1.9; margin-top: 16px; }
  .origin-practices { gap: 27px; padding-top: 30px; padding-bottom: 32px; }
  .origin-practices h2,
  .origin-field h2 { font-size: 25px; line-height: 1.45; font-weight: 550; }
  .origin-practices p,
  .origin-field p { font-size: 15px; line-height: 1.9; }
  .origin-fieldwork > div:last-child { gap: 27px; }
  .origin-fieldwork img { border-radius: 14px; }
  .origin-fieldwork h3 { font-size: 20px; line-height: 1.45; margin-top: 15px; }
  .origin-fieldwork figcaption p { font-size: 14px; line-height: 1.85; }
  .grain-intro h2 { font-size: 27px; line-height: 1.4; }
  .grain-intro p { font-size: 15px; line-height: 1.9; }
  .grain-intro img { border-radius: 14px; }
  .grain-photo-grid { gap: 23px 13px; }
  .grain-photo-grid > figure:first-child { grid-column: 1 / -1; }
  .grain-photo-grid > figure:first-child img { aspect-ratio: 4 / 3; }
  .grain-photo-grid h3 { font-size: 17px; line-height: 1.5; margin-top: 12px; }
  .grain-photo-grid p { font-size: 14px; line-height: 1.8; }
  .grain-photo-grid img { border-radius: 12px; }
  .variety-list article { gap: 15px; padding-block: 26px; }
  .variety-list h3 { font-size: 27px; line-height: 1.4; }
  .variety-list p { font-size: 15px; line-height: 1.85; }

  /* Contact and articles remain calm reading surfaces, with comfortable phone controls. */
  .inquiry-layout { gap: 30px; padding-top: 0; padding-bottom: 32px; }
  .inquiry-contact h2,
  .inquiry-form h2 { font-size: 25px; line-height: 1.4; margin-bottom: 18px; }
  .inquiry-phone { font-size: 27px; line-height: 1.7; min-height: 46px; letter-spacing: -.02em; }
  .inquiry-contact > p { font-size: 15px; line-height: 1.9; }
  .inquiry-contact dl { font-size: 14px; line-height: 1.85; margin-block: 23px; }
  .cooperation-options { margin-top: 25px; }
  .cooperation-options p { font-size: 14px; line-height: 1.85; }
  .inquiry-form { padding: 25px 19px; border-radius: 18px; background: #f4f6f2; }
  .inquiry-fields { gap: 19px; }
  .inquiry-fields label { font-size: 14px; line-height: 1.7; }
  .inquiry-fields input,
  .inquiry-fields select,
  .inquiry-fields textarea { font-size: 16px; min-height: 48px; margin-top: 8px; padding: 12px; }
  .inquiry-fields textarea { min-height: 132px; }
  .inquiry-consent { min-height: 44px; margin-block: 22px 18px; font-size: 13px; line-height: 1.85; }
  .inquiry-form .button { min-height: 48px; font-size: 15px; }
  .inquiry-result { font-size: 14px; line-height: 1.85; }
  .news-list article { gap: 19px; margin-bottom: 34px; }
  .news-list img { aspect-ratio: 3 / 2; border-radius: 14px; }
  .news-list h2 { font-size: 25px; line-height: 1.45; margin-block: 12px; font-weight: 550; }
  .news-list article > div > p:not(.news-meta) { font-size: 15px; line-height: 1.85; }
  .news-list .text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; margin-top: 12px; }
  .news-meta { font-size: 12px; line-height: 1.7; }
  .article-content { padding-top: 5px; }
  .article-content > p:not(.news-meta) { font-size: 16px; line-height: 1.95; margin-block: 19px; }
  .article-content > h2 { font-size: 25px; font-weight: 550; line-height: 1.45; margin-block: 31px 15px; }
  .article-content > figure { margin-block: 24px 28px; }
  .article-content img { border-radius: 14px; }
  .article-content > .text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }

  .product-item,
  .packaging-types > a,
  .spec-buttons button,
  .inquiry-form .button { -webkit-tap-highlight-color: transparent; }
  .product-item:active,
  .packaging-types > a:active { opacity: .88; }
}

@media (max-width: 360px) {
  .product-card-copy { padding-inline: 18px; }
  .product-card-copy h2,
  .single-product .product-card-copy h2 { font-size: 22px; }
  .detail-hero h1 { font-size: 27px; }
  .product-nav > div { padding-inline: 12px; gap: 7px; }
  .product-nav > div > div { gap: 7px; }
  .product-nav .button.compact { padding-inline: 10px; font-size: 12px; }
  .product-nav > div > div > a:not(.button) { font-size: 11px; }
  .inquiry-phone { font-size: 25px; }
  #rice-water-result { font-size: 22px; }
}
