/* M157 Taste discovery: independent composition, shared selector assets and site chrome. */
.tastes-landing{padding:var(--tyit-opening-inset) var(--tyit-page-gutter) 48px;color:var(--ink);font-family:var(--tyit-font-editorial)}
.taste-discovery-layout{width:100%;margin:auto;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,4fr);gap:clamp(24px,4vw,68px);align-items:start}
.taste-cornucopia{position:relative;display:block;aspect-ratio:3/5;width:100%;isolation:isolate}
.taste-cornucopia-art{display:block;width:100%;height:100%;object-fit:contain}
.taste-zone{position:absolute;display:flex;align-items:center;justify-content:center;width:37%;height:17%;color:#fffdf8;text-decoration:none;outline-offset:2px;z-index:1}
.taste-plaque{position:relative;display:grid;place-items:center;width:clamp(66px,8.2vw,112px);height:clamp(30px,4vw,48px);filter:drop-shadow(0 2px 2px #36200f75)}
.taste-plaque__shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.taste-plaque__paper{fill:#f4dfb6;stroke:#50341f;stroke-width:2.2}
.taste-plaque__ink{fill:none;stroke:#a66e38;stroke-width:1.35}
.taste-plaque__text{position:relative;font:600 clamp(12px,1.25vw,17px)/1.1 var(--tyit-font-editorial);letter-spacing:-.02em;color:#432c20;text-shadow:none}
.taste-zone:focus-visible{outline:2px solid #50341f;outline-offset:2px}
/* M157: place each plaque at the quiet edge of its own food territory,
   rather than centring eight badges on the principal dishes. Keep the larger
   underlying links as touch targets; only the plaque's alignment changes. */
.taste-zone{width:43%;height:21%}
.taste-zone--sour{top:0%;left:1%;justify-content:flex-start;align-items:flex-end}
.taste-zone--umami{top:0%;right:1%;justify-content:flex-end;align-items:flex-end}
.taste-zone--chilli{top:20%;left:1%;justify-content:center;align-items:flex-end}
.taste-zone--char{top:23%;right:1%;justify-content:center;align-items:flex-end}
.taste-zone--sweet{top:46%;left:1%;justify-content:flex-end;align-items:flex-end}
.taste-zone--bitter{top:46%;right:1%;justify-content:flex-end;align-items:flex-end}
.taste-zone--herbal{top:70%;left:1%;justify-content:flex-start;align-items:flex-end}
.taste-zone--staple{top:70%;right:1%;justify-content:flex-start;align-items:flex-end}
/* M157 visual adjustments: move plaques only; preserve the full territory links. */
.taste-zone--staple .taste-plaque{top:36px}
.taste-zone--bitter .taste-plaque{top:-9px}
.taste-zone--char .taste-plaque{top:-9px}

/* Four equal-height editorial rows follow the cornucopia. Art fills each row
   first; copy scales with the resulting row height, not viewport width alone. */
.taste-discovery-layout{align-items:stretch;gap:clamp(12px,1.25vw,20px)}
.taste-editorial-viewport{position:relative;min-height:0;min-width:0;container-type:size}
.taste-discovery-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));column-gap:clamp(12px,1.25vw,20px);row-gap:clamp(12px,1.25vw,20px);overflow:hidden}
.taste-editorial-row{display:flex;flex-direction:row-reverse;align-items:center;gap:clamp(7px,.85vw,13px);min-width:0;min-height:0;padding:clamp(5px,.65vw,10px);box-sizing:border-box;border:0;border-radius:var(--radius-control);background:var(--tyit-surface-warm);color:var(--ink);text-decoration:none;transition:background-color .16s}
.taste-editorial-art{display:block;flex:0 1 auto;height:88%;width:auto;max-width:49%;aspect-ratio:1;object-fit:cover;object-position:50% 50%;background:transparent;border:0;box-sizing:border-box;padding:0;clip-path:inset(2%);mix-blend-mode:normal}
.taste-editorial-copy{display:flex;flex:1 1 0;flex-direction:column;justify-content:center;gap:clamp(3px,.5vw,7px);min-width:0;font-family:var(--tyit-font-editorial)}
.taste-editorial-copy strong{font:600 clamp(16px,3.2cqh,26px)/1.13 var(--tyit-font-editorial)}
.taste-editorial-copy>span{font:400 clamp(12px,2.2cqh,17px)/1.25 var(--tyit-font-editorial);color:var(--muted)}

.taste-editorial-row:hover .taste-editorial-copy strong{text-decoration:underline;text-underline-offset:3px}
.taste-editorial-row:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
@media(max-width:1050px) and (min-width:821px){
  .taste-discovery-layout{gap:clamp(10px,1.4vw,16px)}
  .taste-discovery-grid{column-gap:clamp(10px,1.4vw,16px);row-gap:clamp(10px,1.4vw,16px)}
  .taste-editorial-row{gap:5px}
  .taste-editorial-art{max-width:47%}
  .taste-editorial-copy strong{font-size:clamp(15px,3cqh,22px)}
  .taste-editorial-copy>span{font-size:clamp(11px,2.05cqh,15px)}
}
@media(max-width:820px){.taste-discovery-layout{display:block;max-width:440px}.taste-editorial-viewport{display:none}.taste-cornucopia{margin:auto}.taste-plaque{width:clamp(67px,22vw,92px);height:clamp(30px,9vw,39px)}.taste-plaque__text{font-size:clamp(12px,3.5vw,15px)}.tastes-landing{padding-bottom:32px}}
@media(max-width:365px){.taste-plaque{width:67px;height:30px}.taste-plaque__text{font-size:12px}}
/* Selected Taste pages use the Landscape navigation and editorial geometry. */
.taste-family-page .landscape-grid{grid-template-columns:repeat(8,minmax(36px,1fr));max-width:1120px;margin-inline:0 auto;overflow-x:auto;padding:4px;scroll-padding-inline:4px}
.taste-family-page .landscape-intro{max-width:1120px}
.taste-family-copy{padding:0}
.taste-family-copy>p:last-child{font:var(--tyit-weight-body) var(--tyit-type-standard)/var(--tyit-leading-body) var(--tyit-font-editorial);color:var(--field-ink);margin:0}
.taste-family-photo{margin:0;min-width:0;width:100%;justify-self:stretch}
.taste-family-photo img{display:block;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;border-radius:var(--radius-surface)}
.taste-family-subheading{font:italic 400 clamp(23px,2.1vw,34px)/1.18 var(--tyit-font-editorial);color:var(--field-heading);margin:0 0 clamp(16px,1.8vw,26px);letter-spacing:-.015em}
@media(max-width:760px){.taste-family-photo{justify-self:start}.taste-family-photo img{height:auto}}
/* Keep descriptive Taste headings on one line at wide widths; the shared
   Landscape title fitter still substitutes the canonical short label if needed. */
@media(min-width:761px){.taste-family-page .landscape-intro h1{font-size:clamp(46px,calc(3vw + 20px),68px)}}

/* Taste educational section follows the established two-column editorial rhythm. */
.taste-learning-spread{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:clamp(24px,3vw,48px);align-items:center;margin-inline:auto;margin-block-end:0}
.taste-learning-copy .landscape-alternating-heading{padding:0;margin-bottom:clamp(16px,1.8vw,26px)}
.taste-learning-copy .landscape-alternating-heading h2{margin-bottom:0}
.taste-learning-spread>.taste-family-photo{grid-column:1;grid-row:1;justify-self:start}
.taste-learning-spread>.taste-learning-copy{grid-column:2;grid-row:1}
.taste-learning-spread:has(>.taste-family-photo[hidden]){grid-template-columns:minmax(0,1fr)}
.taste-learning-spread:has(>.taste-family-photo[hidden])>.taste-learning-copy{grid-column:1}
.taste-family-photo[hidden],.taste-subtaste-journeys[hidden]{display:none}
.taste-learning-copy p{font:var(--tyit-weight-body) var(--tyit-type-standard)/var(--tyit-leading-body) var(--tyit-font-editorial);color:var(--field-ink);margin:0}
@media(max-width:760px){.taste-learning-spread{grid-template-columns:1fr}.taste-learning-spread>.taste-learning-copy{grid-column:1;grid-row:1}.taste-learning-spread>.taste-family-photo{grid-column:1;grid-row:2}}
/* In paired spreads the copy normally establishes the row height. Short
   opening copy retains a modest crop floor so the subject stays legible. */
@media(min-width:761px){
  .taste-family-spread{min-height:clamp(140px,15vw,210px)}
  .taste-family-spread>.taste-family-photo,.taste-learning-spread>.taste-family-photo{align-self:stretch;contain:size;display:flex;flex-direction:column}
  .taste-family-spread>.taste-family-photo img,.taste-learning-spread>.taste-family-photo img{flex:1 1 0;min-height:0;height:0;aspect-ratio:auto}
}
/* Subtaste editorial extension: one source of story prose, responsive story count. */
.taste-subtaste{margin-inline:auto;margin-block-end:0;color:var(--field-ink)}
.taste-subtaste-intro{display:grid;grid-template-columns:clamp(100px,13vw,156px) minmax(0,1fr);gap:clamp(22px,3vw,48px);align-items:start}
.taste-subtaste-icon img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:var(--radius-control)}
.taste-subtaste-icon span{display:block;text-align:center;margin-top:8px;font:600 17px var(--tyit-font-editorial);color:var(--field-heading)}
.taste-subtaste-character h2,.taste-subtaste-preparation h3{font:italic 400 clamp(24px,2.3vw,34px)/1.18 var(--tyit-font-editorial);color:var(--field-heading);margin:8px 0 16px}
.taste-subtaste-character p:last-child,.taste-subtaste-preparation p:last-child{font:var(--tyit-weight-body) var(--tyit-type-standard)/var(--tyit-leading-body) var(--tyit-font-editorial);margin:0}
.taste-subtaste-preparation{margin:var(--tyit-related-block-gap) 0 0}
.taste-subtaste-journeys{margin-top:var(--tyit-related-block-gap)}
.taste-story-set{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:16px}
.taste-story-set[data-visible-count="1"]{grid-template-columns:1fr}
.taste-story-set[data-visible-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.taste-story{min-width:0}.taste-story img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:var(--radius-surface)}
.taste-story-copy{padding:14px 0}.taste-story-copy h4{font:italic 400 23px/1.2 var(--tyit-font-editorial);color:var(--field-heading);margin:6px 0 10px}
.taste-story-copy>p:last-child{font:400 16px/1.55 var(--tyit-font-editorial);margin:0}
.taste-story-set[data-visible-count="1"] .taste-story{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:28px;align-items:center}
.taste-story-set[data-visible-count="1"] .taste-story-copy{grid-column:1;grid-row:1}
.taste-story-set[data-visible-count="1"] .taste-story>a{grid-column:2;grid-row:1}
@media(max-width:760px){.taste-subtaste-intro{grid-template-columns:84px minmax(0,1fr);gap:16px}.taste-subtaste-icon span{font-size:12px}.taste-story-set,.taste-story-set[data-visible-count="2"]{grid-template-columns:1fr}.taste-story-set .taste-story{display:grid;grid-template-columns:1fr;gap:0}.taste-story-set .taste-story-copy,.taste-story-set .taste-story>a{grid-column:1;grid-row:auto}.taste-story-set .taste-story>a{grid-row:1}.taste-story-set .taste-story-copy{grid-row:2}}

/* Shared Field Guide section rules and visible journey navigation. */
.taste-story-link{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font:600 13px/1.4 var(--tyit-font-structural)}

/* M157: align the subtaste icon with its heading; let editorial text span the full row. */
.taste-subtaste-intro{align-items:center}
.taste-subtaste-character-body{font:var(--tyit-weight-body) var(--tyit-type-standard)/var(--tyit-leading-body) var(--tyit-font-editorial);margin:18px 0 0}
@media(max-width:760px){
 .taste-family-page .landscape-intro h1{font-size:clamp(42px,12vw,58px)}
 .taste-family-page .landscape-intro{margin-bottom:0}
 .taste-family-page .taste-family-photo{margin-bottom:0}
 .taste-subtaste-intro{grid-template-columns:84px minmax(0,1fr)}
 .taste-story-set .taste-story{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:14px;align-items:center}
 .taste-story-set .taste-story-copy{grid-column:1;grid-row:1;padding:0}
 .taste-story-set .taste-story>a:first-child{grid-column:2;grid-row:1}
 .taste-story-copy h4{display:none}
 .taste-story-body{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
 .taste-story-copy .landscape-kicker{margin:0 0 6px}
 .taste-story-link{margin-top:8px}
}
@media(max-width:760px){
 .taste-story-body{-webkit-line-clamp:3}
 .taste-family-page .taste-family-photo figcaption{margin-bottom:0}
}

/* Shared structural action: one link contains both uppercase label and canonical navigation arrow. */
.taste-story-link{font:600 var(--tyit-type-small)/1.3 var(--tyit-font-structural);letter-spacing:.08em;text-transform:uppercase}

/* Wide: icon and full scientific text remain side by side; narrow keeps text full width. */
@media(min-width:761px){.taste-subtaste-intro{align-items:center}.taste-subtaste-character-body{margin:12px 0 0}}
@media(max-width:760px){.taste-subtaste-intro{align-items:center}.taste-subtaste-character{display:contents}.taste-subtaste-character>.landscape-kicker,.taste-subtaste-character>h2{grid-column:2}.taste-subtaste-character>.landscape-kicker{align-self:end}.taste-subtaste-character>h2{align-self:start;margin-top:0}.taste-subtaste-character-body{grid-column:1/-1;margin-top:10px}.taste-subtaste-icon{grid-column:1;grid-row:1/span 2}}
/* A single Standard-style journey begins directly beneath its section label;
   do not vertically centre its copy against a taller photograph. */
@media(min-width:761px){.taste-story-set[data-visible-count="1"] .taste-story{align-items:start}}
/* Align single-story text with the photo/panel top on desktop only. */
@media(min-width:761px){
  .taste-story-set[data-visible-count="1"] .taste-story-copy{padding-top:0}
  .taste-story-set[data-visible-count="1"] .taste-story-copy>.landscape-kicker{margin-top:0}
}

/* M157 Taste-only refinement: compact story cards and narrow selector/heading rhythm. */
@media(min-width:761px){
  .taste-story-set[data-visible-count="3"] .taste-story-body{-webkit-line-clamp:2}
}
@media(max-width:760px){
  .taste-family-page .landscape-grid{gap:3px}
  .taste-family-page .landscape-grid .selector-card__label{
    padding:3px 1px 2px;line-height:1;white-space:nowrap;
    justify-content:center;align-items:center;overflow:hidden
  }
  .taste-subtaste-intro{align-items:start;grid-template-rows:auto auto}
  .taste-subtaste-character{display:contents}
  .taste-subtaste-character>.landscape-kicker{grid-column:2;grid-row:1;align-self:end;margin:0 0 3px}
  .taste-subtaste-character>h2{grid-column:2;grid-row:2;align-self:start;margin:0;line-height:1.16;max-width:100%;text-wrap:pretty}
  .taste-subtaste-icon{grid-column:1;grid-row:1/span 2;align-self:center}
  .taste-subtaste-character-body{grid-column:1/-1;grid-row:3;margin-top:12px}
  .taste-story-set .taste-story{align-items:stretch}
  .taste-story-set .taste-story>a:first-child{min-height:124px;align-self:stretch}
  .taste-story-set .taste-story>a:first-child img{height:100%;min-height:124px;aspect-ratio:auto;object-fit:cover}
  .taste-story-link{margin-top:4px}
}

/* M157: unify three-story photograph and copy as a quiet, family-tinted card.
   Match the existing Search result's continuous photo/copy treatment and
   Editorial 03's soft light panel; do not introduce a new palette. */
@media(min-width:761px){
 .taste-story-set[data-visible-count="3"]{align-items:stretch}
 .taste-story-set[data-visible-count="3"] .taste-story{display:flex;flex-direction:column;min-height:0;border-radius:var(--radius-surface);overflow:hidden;background:color-mix(in srgb,var(--field-heading) 7%,var(--field-surface));}
 .taste-story-set[data-visible-count="3"] .taste-story>a:first-child{display:block;flex:0 0 auto}
 .taste-story-set[data-visible-count="3"] .taste-story>a:first-child img{border-radius:0}
 .taste-story-set[data-visible-count="3"] .taste-story-copy{display:flex;flex-direction:column;flex:1;min-height:0;padding:12px 14px 14px}
 .taste-story-set[data-visible-count="3"] .taste-story-link{margin-top:auto;padding-top:8px;align-self:flex-start}
 .taste-story-set[data-visible-count="3"] .taste-story-copy h4{margin-bottom:7px}
 .taste-story-set[data-visible-count="3"] .taste-story-body{margin-bottom:8px}
 .taste-subtaste:has(.taste-story-set[data-visible-count="3"]){padding-bottom:0}
}



/* M157: the single-story Standard panel shares the three-story family tint,
   with its copy on the left and photograph on the right. Desktop only. */
@media(min-width:761px){
 .taste-story-set[data-visible-count="1"] .taste-story{gap:0;overflow:hidden;border-radius:var(--radius-surface);background:color-mix(in srgb,var(--field-heading) 7%,var(--field-surface));align-items:stretch}
 .taste-story-set[data-visible-count="1"] .taste-story-copy{display:flex;flex-direction:column;justify-content:center;padding:18px 22px}
 .taste-story-set[data-visible-count="1"] .taste-story>a:first-child{display:block;min-height:100%}
 .taste-story-set[data-visible-count="1"] .taste-story>a:first-child img{height:100%;border-radius:0;object-fit:cover}
}

/* M169B: signature Taste cover. Reuse selector art, focal settings, the
   canonical rhomboid and the shared immersive Field Guide height. Text owns
   its intrinsic height; never clip a title to enforce a photographic ratio. */
.taste-cover{position:relative;isolation:isolate;box-sizing:border-box;margin-inline:calc(-1 * var(--tyit-page-gutter));min-height:clamp(430px,40.3vw,620px);background:var(--field-heading);color:#fff9ed;display:grid;grid-template-areas:"copy photo";grid-template-columns:fit-content(min(400px,clamp(28%,calc(65vw - 360px),43%))) minmax(0,1fr);align-items:stretch}
.taste-cover-photo{grid-area:photo;position:relative;min-width:0;overflow:hidden}
.taste-cover-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:var(--cover-desktop,50% 50%)}
.taste-cover-photo img[hidden]{display:none}
/* The intrinsic copy track is solid; its compact-width cap encourages wrapping.
   Only the photograph's leading edge is feathered, with a shorter tablet transition. */
.taste-cover-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--field-heading),transparent clamp(32px,calc(11.7vw - 50px),120px));pointer-events:none}
.taste-cover-copy{grid-area:copy;box-sizing:border-box;min-width:clamp(180px,20vw,240px);padding:24px clamp(18px,calc(6vw - 24px),60px);padding-right:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.taste-cover-kicker{font:600 var(--tyit-type-small)/1.3 var(--tyit-font-structural);letter-spacing:.15em}
.taste-cover-heading-group{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;margin-top:12px}
.taste-cover-selector{--selector-card-width:120px;--selector-card-height:120px;--selector-art-size:120px;--selector-label-height:0px}
.taste-cover-heading-text{min-width:0;max-width:100%;overflow-wrap:anywhere}
.taste-cover-heading-text{--tyit-title-mark-color:color-mix(in srgb,var(--biome-accent) 20%,var(--field-surface))}
.taste-cover-heading-text h1{font:normal clamp(2.625rem,var(--tyit-type-display),3rem)/1.04 var(--tyit-font-editorial);letter-spacing:-.035em;margin:0 0 12px;color:inherit;text-wrap:balance}

.taste-cover-heading-text p{font:italic var(--tyit-type-subheading)/1.2 var(--tyit-font-editorial);margin:0;color:inherit}
.taste-cover-intro{max-width:1010px;margin:0 auto 32px;font:var(--tyit-type-standard)/1.5 var(--tyit-font-editorial)}
@media(max-width:760px){
 .taste-cover{min-height:max(400px,var(--field-detail-cover-height));grid-template-areas:"copy" "photo";grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(220px,1fr)}
 .taste-cover-photo{min-height:220px}
 .taste-cover-photo img{object-position:var(--cover-mobile,var(--cover-desktop,50% 50%))}
 .taste-cover-photo::after{background:linear-gradient(180deg,var(--field-heading),transparent min(17%,80px))}
 .taste-cover-copy{min-width:0;width:100%;padding:24px 18px 8px}
 .taste-cover-heading-group{--taste-selector-size:clamp(72px,28.6vw,100px);display:grid;grid-template-columns:var(--taste-selector-size) minmax(0,1fr);gap:12px;align-items:center;margin-top:10px}
 .taste-cover-selector{--selector-card-width:var(--taste-selector-size);--selector-card-height:var(--taste-selector-size);--selector-art-size:var(--taste-selector-size)}
 .taste-cover-heading-text h1{margin:0 0 6px;text-wrap:initial}

}
