/* KAYA type scale (2026-11-18): one set of text sizes for the whole homepage, so every
   section title, card title, price and paragraph of the same kind is the same size.
   Text size, weight and line height only: no layout, colour, checkout or payment rules.
   Sizes grow smoothly from phone (390px) to computer (1440px), in rem so they also follow
   the visitor's own browser text-size setting (16px = 1rem by default):
     section title 28-48px · sub-title 22-28 · feature title 18-28 · card title 16-20
     price 16-21 · body 15-17 · card text 13.5-14.5 · label 12-13 */

/* Section titles: same size and weight in every section. */
html:root body:not(#kt) :is(#limited,#menu,#cheesecake,#pickup-guide,#about,#order-your-way,.cutlery-section,.media-section) h2{
 font-size:clamp(1.75rem,calc(2.1vw + 1.25rem),3rem)!important;font-weight:800!important;line-height:1.08!important;letter-spacing:-.03em!important}

/* Sub-titles: the three info cards (location, dine-in, help). */
html:root body:not(#kt) .kaya-three-info-grid h2{font-size:clamp(1.375rem,calc(.6vw + 1.21875rem),1.75rem)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.02em!important}

/* Dubai feature titles: bigger than menu cards, smaller than section titles. */
html:root body:not(#kt) #limited h3{font-size:clamp(1.125rem,calc(1vw + 0.875rem),1.75rem)!important;font-weight:800!important;line-height:1.12!important}

/* Menu cards: toast and cheesecake match. */
html:root body:not(#kt) :is(.product-card,.cheesecake-card) h3{font-size:clamp(1rem,calc(.4vw + 0.90625rem),1.25rem)!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.01em!important}
html:root body:not(#kt) :is(.product-card,.cheesecake-card) .product-price{font-size:clamp(1rem,calc(.5vw + 0.875rem),1.3125rem)!important;font-weight:800!important;line-height:1.15!important}
html:root body:not(#kt) :is(.product-card,.cheesecake-card) .product-copy{font-size:clamp(0.84375rem,calc(.1vw + 0.81875rem),0.90625rem)!important;line-height:1.5!important}

/* Other card titles. */
html:root body:not(#kt) :is(#order-your-way,.media-section,#pickup-guide) h3{font-size:clamp(1.125rem,calc(.5vw + 1rem),1.5rem)!important;font-weight:750!important;line-height:1.2!important}

/* Body text in sections. */
html:root body:not(#kt) :is(#order-your-way,.cutlery-section) p,
html:root body:not(#kt) #pickup-guide>p,html:root body:not(#kt) #pickup-guide header p{font-size:clamp(0.9375rem,calc(.2vw + 0.8875rem),1.0625rem)!important;line-height:1.6!important}
html:root body:not(#kt) :is(#order-your-way .order-way-card,.cutlery-section li,#limited .limited-body,#limited .feature-top) p,
html:root body:not(#kt) .cutlery-section li,html:root body:not(#kt) .kaya-three-info-grid p{font-size:clamp(0.875rem,calc(.1vw + 0.85rem),0.9375rem)!important;line-height:1.55!important}

/* Small uppercase labels above titles. */
html:root body:not(#kt) :is(#limited,#menu,#cheesecake,#pickup-guide,#about,#order-your-way,.cutlery-section,.media-section,.kaya-three-info-grid) .section-kicker{font-size:clamp(0.75rem,calc(.1vw + 0.725rem),0.8125rem)!important;font-weight:800!important;letter-spacing:.14em!important}
html:root body.lang-km:not(#kt) .section-kicker{letter-spacing:.01em!important}
/* Khmer needs taller lines for stacked letters. */
html:root body.lang-km:not(#kt) :is(#limited,#menu,#cheesecake,#pickup-guide,#about,#order-your-way,.cutlery-section,.media-section,.kaya-three-info-grid,.product-card,.cheesecake-card) :is(h2,h3){line-height:1.38!important;letter-spacing:0!important}
/* Dubai feature: label and buttons match the rest of the page instead of shouting. */
html:root body:not(#kt) #limited .kaya-limited-eyebrow{font-size:clamp(0.75rem,calc(.1vw + 0.725rem),0.8125rem)!important;letter-spacing:.14em!important}
html:root body:not(#kt) #limited .kaya-feature-order,html:root body:not(#kt) #limited .kaya-feature-order>span:not([aria-hidden]){font-size:clamp(0.9375rem,calc(.3vw + 0.875rem),1.125rem)!important}
html:root body:not(#kt) #limited .kaya-feature-menu-link,html:root body:not(#kt) #limited .kaya-feature-menu-link>span{font-size:clamp(0.875rem,calc(.2vw + 0.8375rem),1rem)!important}
html:root body:not(#kt) #limited .kaya-feature-coming strong{font-size:clamp(0.9375rem,calc(.2vw + 0.8875rem),1.0625rem)!important}
/* TOAST MENU / CHEESECAKE MENU sit in a pill in capital letters, which read larger:
   on phones they step down slightly so the pill never runs past the card edge. */
html:root body:not(#kt) :is(#menu,#cheesecake) h2{font-size:clamp(1.375rem,calc(2.5vw + 0.84375rem),3rem)!important}
@media (max-width:360px){html:root body:not(#kt) :is(#menu,#cheesecake) h2{font-size:1.1875rem!important}}
/* Titles break into even lines (no single word left alone); paragraphs avoid one-word last lines. */
html:root body:not(#kt) :is(#limited,#menu,#cheesecake,#pickup-guide,#about,#order-your-way,.cutlery-section,.media-section,.kaya-three-info-grid) :is(h2,h3){text-wrap:balance}
html:root body:not(#kt) :is(#limited,#menu,#cheesecake,#pickup-guide,#about,#order-your-way,.cutlery-section,.media-section,.kaya-three-info-grid) p{text-wrap:pretty}

/* Phones: copy in full-width cards is 15px instead of 14px. Narrow two-up columns (Dubai card,
   coming soon, help) keep 14px, since a bigger size would break them into very short lines. */
html:root body:not(#kt) :is(#order-your-way .order-way-card p,.cutlery-section li,.location-copy p){font-size:0.9375rem!important}

/* Line breaks (2026-11-24 audit): titles break evenly, body copy avoids a lone last word.
   Progressive: a browser without text-wrap keeps its normal wrapping. */
html:root body:not(#kt) :is(#limited,#menu,#cheesecake,#pickup-guide,#about,#order-your-way,.cutlery-section,.media-section,.kaya-three-info-grid) :is(h2,h3){text-wrap:balance}
html:root body:not(#kt) :is(#order-your-way,.cutlery-section,#pickup-guide,#about,#limited,.kaya-three-info-grid) p{text-wrap:pretty}

