/* V2.4 cleanup test: desktop >=1024 untouched */
@media(max-width:1023px){
*{box-sizing:border-box;}html,body{margin:0;overflow-x:clip;background:#f5f0e5;color:#062122;font-family:Arial,sans-serif;}img{display:block;max-width:100%;}:root{--ink:#062122;--card:#fffdfa;--aqua:#22cbd0;--yellow:#ffd528;--line:#d9d2c5;--page:clamp(8px,4vw,30px);--gap:clamp(5px,2vw,16px);--section:clamp(28px,7vw,58px);--radius:clamp(14px,4vw,24px);}.shell{width:min(1180px,100%);margin:auto;padding-inline:var(--page);}
.mt-header{background:var(--ink);border-bottom:3px solid var(--yellow);padding-top:env(safe-area-inset-top);}.mt-header-in{height:68px;display:flex;align-items:center;justify-content:space-between;}.mt-logo{width:52px;height:52px;}.mt-menu{width:44px;height:44px;border:0;background:transparent;display:grid;place-items:center;}.mt-menu:before,.mt-menu:after,.mt-menu span{content:"";display:block;width:25px;height:3px;background:#fff;border-radius:3px;}.mt-menu span{margin:4px;}.desktop-nav{display:none;}
.home-hero{position:relative;min-height:460px;background:var(--ink);overflow:hidden;}.home-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% center;opacity:.62;}.home-copy{position:relative;z-index:1;min-height:460px;display:flex;flex-direction:column;justify-content:flex-end;padding:26px var(--page) 32px;color:#fff;}.eyebrow{font-size:.7rem;letter-spacing:.14em;font-weight:800;color:var(--yellow);}.home-copy h1{font-size:clamp(2rem,9vw,3rem);line-height:.94;margin:12px 0;}.home-copy h1 em,.landing-copy h1 em{display:block;color:var(--aqua);font-style:normal;}.home-copy p{font-size:1rem;line-height:1.35;margin:0 0 18px;}.cta{display:inline-flex;width:max-content;max-width:100%;padding:14px 20px;border-radius:999px;background:var(--yellow);font-weight:800;}.section{padding-block:var(--section);}.section h2{font-size:clamp(1.8rem,7vw,3rem);line-height:1;margin:0 0 12px;}.lead{color:#65706c;margin:0 0 20px;}
.grid2,.content-grid,.idea-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap);}.card{min-width:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);}.card img{width:100%;aspect-ratio:4/3;object-fit:cover;}.card-body{padding:10px;}.card h3{font-size:clamp(.88rem,3.8vw,1.15rem);line-height:1.08;margin:0;overflow-wrap:anywhere;}.tag{font-size:.64rem;letter-spacing:.07em;color:#087266;font-weight:800;}.news h3{margin-top:7px;}.feature img{aspect-ratio:16/10;}.feature .card-body{background:var(--ink);color:#fff;display:grid;gap:8px;}.feature .mini{font-size:.72rem;color:var(--aqua);font-weight:800;}
.landing-hero{display:grid;grid-template-columns:44% 56%;gap:var(--gap);align-items:stretch;}.landing-copy,.landing-media{min-width:0;border-radius:var(--radius);overflow:hidden;}.landing-copy{background:var(--ink);color:#fff;padding:clamp(8px,3vw,24px);display:flex;flex-direction:column;justify-content:center;}.landing-copy h1{font-size:clamp(1rem,5vw,2.2rem);line-height:.98;margin:7px 0;overflow-wrap:anywhere;}.landing-copy p{font-size:clamp(.58rem,2.4vw,.9rem);line-height:1.3;margin:0;}.landing-media img{width:100%;height:100%;min-height:220px;object-fit:cover;}.icon-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-top:var(--gap);}.icon-card{border:1px solid var(--line);border-radius:16px;background:var(--card);padding:9px 3px;text-align:center;display:grid;justify-items:center;gap:6px;}.icon-box{width:clamp(36px,11vw,64px);aspect-ratio:1;border-radius:15px;background:#07514f;display:grid;place-items:center;color:var(--aqua);font-size:1.3rem;}.icon-card strong{font-size:clamp(.54rem,2.6vw,.88rem);line-height:1.05;overflow-wrap:anywhere;}
.content-card{padding:10px;display:grid;align-content:start;gap:7px;}.content-card .icon-box{width:48px;}.content-card p,.idea-card p{font-size:clamp(.66rem,2.8vw,.86rem);line-height:1.28;color:#65706c;margin:0;}.idea-card .num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--aqua);font-weight:800;margin-bottom:6px;}
.recipe-hero{display:grid;grid-template-columns:43% 57%;gap:var(--gap);align-items:stretch;}.recipe-copy,.recipe-media{min-width:0;border-radius:var(--radius);overflow:hidden;}.recipe-copy{background:var(--ink);color:#fff;padding:clamp(7px,3vw,22px);display:flex;flex-direction:column;justify-content:center;}.recipe-copy h1{font-size:clamp(.9rem,4.7vw,2rem);line-height:.96;color:var(--aqua);margin:7px 0;overflow-wrap:anywhere;}.recipe-copy p{font-size:clamp(.55rem,2.3vw,.86rem);line-height:1.28;margin:0;}.facts{margin-top:10px;display:grid;gap:3px;font-size:clamp(.5rem,2vw,.74rem);}.recipe-media img{width:100%;height:100%;min-height:225px;object-fit:cover;}.recipe-grid{display:grid;grid-template-columns:38% 62%;gap:var(--gap);align-items:start;margin-top:var(--gap);}.ingredients,.prep,.tip,.knowledge,.pairings{border-radius:var(--radius);padding:clamp(7px,2.5vw,18px);}.ingredients,.pairings{background:var(--card);border:1px solid var(--line);}.prep,.tip,.knowledge{background:var(--ink);color:#fff;}.ingredients h2,.prep h2,.knowledge h2,.pairings h2{font-size:clamp(.82rem,3.3vw,1.3rem);margin:0 0 7px;}.ing{display:grid;grid-template-columns:28px minmax(0,1fr);gap:5px;align-items:center;padding:5px 0;border-bottom:1px solid var(--line);}.ing img{width:26px;height:26px;border-radius:7px;object-fit:contain;background:#064544;}.ing b{font-size:clamp(.52rem,2.15vw,.75rem);line-height:1.08;overflow-wrap:anywhere;}.step{display:grid;grid-template-columns:22px minmax(0,1fr);gap:6px;padding:8px 0;border-bottom:1px solid #315050;}.step i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--aqua);color:var(--ink);font-style:normal;font-weight:800;}.step h3{font-size:clamp(.65rem,2.8vw,.96rem);margin:0 0 3px;line-height:1.08;}.step p{font-size:clamp(.52rem,2.15vw,.75rem);line-height:1.25;margin:0;}.tip{margin-top:var(--gap);}.tip h3{margin:0 0 4px;font-size:1rem;}.tip p{margin:0;font-size:.74rem;line-height:1.3;}.secondary{display:grid;grid-template-columns:42% 58%;gap:var(--gap);margin-top:var(--gap);}.knowledge li{font-size:clamp(.54rem,2.2vw,.76rem);margin:5px 0;}.pairing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;}.pair{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;}.pair img{width:100%;aspect-ratio:4/3;object-fit:cover;}.pair b{display:block;padding:5px;font-size:clamp(.48rem,2vw,.68rem);line-height:1.05;overflow-wrap:anywhere;}
.mt-footer{margin-top:var(--section);background:var(--ink);color:#fff;border-top:3px solid var(--yellow);}.footer-in{padding:16px var(--page) 10px;display:grid;grid-template-columns:1.4fr 1fr;gap:14px;}.footer-brand{display:grid;grid-template-columns:46px minmax(0,1fr);gap:9px;align-items:center;}.footer-brand img{width:46px;}.footer-brand h3{margin:0;font-size:.96rem;}.footer-brand em{color:var(--aqua);font-style:normal;}.footer-brand p{font-size:.64rem;margin:3px 0 0;color:#d8e0df;}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;font-size:.66rem;}.footer-social{grid-column:1/-1;display:flex;gap:14px;font-size:.66rem;}.footer-bottom{border-top:1px solid #315050;padding:9px var(--page) calc(9px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;gap:10px;font-size:.62rem;}.legal{display:flex;gap:10px;}

}
@media(min-width:768px){.mt-header-in{height:76px;}.mt-logo{width:58px;}.home-hero,.home-copy{min-height:510px;}.content-grid{grid-template-columns:repeat(4,1fr);}.recipe-grid{grid-template-columns:36% 64%;}.footer-in{grid-template-columns:1.5fr 1fr 1fr;}.footer-social{grid-column:auto;display:grid;align-content:start;}}

@media(max-width:359px){:root{--page:7px;--gap:5px;}.mt-header-in{height:62px;}.mt-logo{width:46px;}.home-hero,.home-copy{min-height:420px;}.landing-copy p{font-size:.55rem;}.icon-box{width:34px;}.icon-card{padding:6px 2px;}.content-card{padding:7px;}.content-card .icon-box{width:40px;}.recipe-copy{padding:6px;}.recipe-media img{min-height:205px;}.recipe-grid{grid-template-columns:39% 61%;}.ingredients,.prep,.tip,.knowledge,.pairings{padding:6px;}.ing{grid-template-columns:23px minmax(0,1fr);}.ing img{width:22px;height:22px;}.secondary{grid-template-columns:41% 59%;}.footer-in{padding-inline:8px;}}

/* ============================================================
   MOBILE/TABLET ORIENTATION RULE V1.0
   TABLET DESKTOP-LOGIC RULE V1.0
   V2.1 — orientation-aware test layer
   ============================================================ */

/* Safe-area aware frame for phones/tablets */
.mt-header-in,
.shell {
  padding-left: max(var(--page-pad, 24px), env(safe-area-inset-left));
  padding-right: max(var(--page-pad, 24px), env(safe-area-inset-right));
}

/* Smartphone landscape: use width, conserve vertical space */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 932px) {
  .mt-header { min-height: 58px; }
  .mt-logo { width: 46px; height: 46px; }
  .home-hero { min-height: 72vh; }
  .home-copy { padding-top: 20px; padding-bottom: 20px; }
  .home-copy h1 { font-size: clamp(30px, 6vw, 48px); }
  .section { padding-top: 28px; padding-bottom: 28px; }
  .mt-footer { padding-top: 28px; }
}

/* Tablet portrait: preserve desktop information relationships */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .landing-hero,
  .recipe-hero { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: stretch; }
  .landing-copy,
  .landing-media,
  .recipe-copy,
  .recipe-media { min-height: 100%; }
  .recipe-grid { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
  .secondary { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .icon-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .content-grid,
  .idea-grid,
  .grid2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Tablet landscape: close to desktop; do not collapse structural pairs */
@media (min-width: 900px) and (max-width: 1199px) and (orientation: landscape) {
  .desktop-nav { display: flex; }
  .mt-menu { display: none; }
  .landing-hero,
  .recipe-hero { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .recipe-grid { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); }
  .secondary { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .icon-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .content-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .idea-grid,.grid2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* 1024 landscape is tablet-desktop bridge */


/* SOCIAL ICON SYSTEM V1.0 */
.desktop-social{display:none;align-items:center;gap:14px;margin-left:18px;}.desktop-social a,.footer-social a,.menu-social a{color:#fff;text-decoration:none;}.desktop-social img{display:block;width:22px;height:22px;}.footer-social a{display:flex;align-items:center;gap:8px;}.footer-social img{width:22px;height:22px;flex:0 0 22px;}.mt-menu-panel{background:var(--ink);color:#fff;border-bottom:2px solid var(--yellow);padding:12px var(--page) 16px;}.mt-menu-panel nav{display:grid;gap:10px;font-weight:700;}.menu-social{display:flex;gap:18px;margin-top:14px;padding-top:12px;border-top:1px solid #315050;}.menu-social a{display:flex;align-items:center;gap:7px;font-size:.82rem;}.menu-social img{width:20px;height:20px;}

/* V2.3 mapping to production classes */
*,*::before,*::after{box-sizing:border-box;}img{max-width:100%;height:auto;}.hp-header,.hp-footer-v2{width:100%;max-width:none;margin-inline:0;}.ingredient-thumb{display:grid!important;place-items:center!important;overflow:hidden!important;}.ingredient-thumb img{width:91%!important;height:91%!important;object-fit:contain!important;}
@media(max-width:1023px){body{overflow-x:clip;}.hp-header{min-height:62px!important;padding:0!important;}.hp-navwrap{width:calc(100% - 28px)!important;max-width:1180px!important;margin:auto!important;min-height:62px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;}.hp-logo img{max-height:42px!important;width:auto!important;}.hp-nav,.hp-social{display:none!important;}.pl-v23-menu-button{display:grid!important;place-items:center!important;width:44px;height:44px;border:0;background:transparent;color:#fff;}.pl-v23-menu-button svg{width:25px;height:25px;}.pl-v23-drawer{display:none;position:absolute;z-index:9999;top:62px;left:0;right:0;background:#071f20;padding:14px 18px 18px;border-top:1px solid #ffffff22;}.pl-v23-drawer.is-open{display:grid;gap:3px;}.pl-v23-drawer>a{color:#fff;text-decoration:none;padding:10px 2px;border-bottom:1px solid #ffffff18;font-weight:700;}.pl-v23-social{display:flex;gap:18px;padding-top:12px;}.pl-v23-social a{display:flex;align-items:center;gap:7px;color:#fff;text-decoration:none;}.pl-v23-social img{width:20px;height:20px;}.hp-topic-grid,.hp-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}.hp-feature-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}.hp-feature.highlight-card{min-width:0!important;min-height:0!important;height:auto!important;display:grid!important;grid-template-rows:auto 1fr!important;overflow:hidden!important;}.highlight-card__media{position:relative!important;inset:auto!important;aspect-ratio:4/3!important;min-height:0!important;}.highlight-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;}.highlight-card__content{position:relative!important;inset:auto!important;min-height:0!important;max-width:none!important;padding:13px!important;background:#071f20!important;display:flex!important;flex-direction:column!important;}.highlight-card__copy h2{font-size:clamp(17px,3.7vw,25px)!important;line-height:1.08!important;margin:0 0 8px!important;white-space:normal!important;overflow:visible!important;}.highlight-card__copy p{display:none!important;}.highlight-card__cta{min-height:36px!important;padding:0 12px!important;width:auto!important;margin-top:auto!important;}.tm-hero{display:grid!important;grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;gap:0!important;align-items:stretch!important;}.tm-hero-copy,.tm-hero-media{min-width:0!important;min-height:240px!important;}.tm-hero-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:clamp(16px,3vw,32px)!important;}.tm-hero-copy h1{font-size:clamp(23px,4vw,46px)!important;line-height:1.03!important;overflow-wrap:anywhere!important;}.tm-hero-media{overflow:hidden!important;}.tm-hero-media img{width:100%!important;height:100%!important;object-fit:cover!important;}.recipe-hero{display:grid!important;align-items:stretch!important;}.recipe-hero>.hero-copy,.recipe-hero>.hero-media{min-width:0!important;min-height:250px!important;}.recipe-hero>.hero-copy{padding:clamp(16px,3vw,30px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}.recipe-hero h1{font-size:clamp(22px,4vw,42px)!important;line-height:1.03!important;overflow-wrap:anywhere!important;}.recipe-hero>.hero-media img{width:100%!important;height:100%!important;object-fit:cover!important;}.recipe-grid{display:grid!important;grid-template-columns:minmax(0,38fr) minmax(0,62fr)!important;gap:12px!important;align-items:start!important;}.recipe-grid>*{min-width:0!important;}.ingredient-thumb{width:50px!important;height:50px!important;flex:0 0 50px!important;}.pairing-grid-v3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important;}.pairing-card-v3{min-width:0!important;width:auto!important;}.related-grid,.pl-related-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important;}.recipe-card{min-width:0!important;width:auto!important;}.hp-footer-v2{width:100%!important;max-width:none!important;padding:24px 0 12px!important;}.hp-footer-v2-inner,.hp-footer-v2-bottom{width:calc(100% - 28px)!important;max-width:1180px!important;margin-inline:auto!important;}.hp-footer-v2-inner{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;align-items:start!important;}.hp-footer-v2-brand{display:grid!important;grid-template-columns:74px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;}.hp-footer-v2-brand img{width:74px!important;}.hp-footer-v2-brand h2{font-size:clamp(18px,2.6vw,27px)!important;line-height:1.05!important;margin:0 0 7px!important;}.hp-footer-v2-brand p{font-size:12px!important;line-height:1.4!important;margin:0!important;}.hp-footer-v2-social a{display:flex!important;align-items:center!important;gap:8px!important;}.hp-footer-v2-social svg{width:20px!important;height:20px!important;}.hp-footer-v2-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;padding-top:12px!important;margin-top:16px!important;}.hp-footer-v2-legal{display:flex!important;gap:12px!important;flex-wrap:wrap!important;}}
@media(max-width:767px){.hp-footer-v2-inner{grid-template-columns:1fr 1fr!important;}.hp-footer-v2-brand{grid-column:1/-1!important;grid-template-columns:64px minmax(0,1fr)!important;}.hp-footer-v2-brand img{width:64px!important;}.tm-hero-copy,.tm-hero-media{min-height:200px!important;}.tm-hero-copy p{font-size:11.5px!important;line-height:1.35!important;}.recipe-hero>.hero-copy,.recipe-hero>.hero-media{min-height:225px!important;}.ingredient-thumb{width:44px!important;height:44px!important;flex-basis:44px!important;}.ingredient-main{font-size:12.5px!important;}.ingredient-note{font-size:10.5px!important;}.step-body{font-size:12.5px!important;line-height:1.4!important;}}
@media(max-width:359px){.tm-hero{grid-template-columns:minmax(0,46fr) minmax(0,54fr)!important;}.tm-hero-copy{padding:12px 10px!important;}.tm-hero-copy h1{font-size:20px!important;}.tm-hero-copy p{font-size:10.5px!important;}.recipe-hero h1{font-size:19px!important;}.recipe-grid{grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important;gap:8px!important;}.ingredient-thumb{width:38px!important;height:38px!important;flex-basis:38px!important;}.ingredient-main{font-size:11.5px!important;}.ingredient-note{font-size:9.5px!important;}.pairing-grid-v3{gap:6px!important;}.hp-feature-grid{gap:8px!important;}.highlight-card__content{padding:9px!important;}.highlight-card__copy h2{font-size:15px!important;}}
@media(min-width:768px) and (max-width:1023px){.tm-hero-copy,.tm-hero-media{min-height:310px!important;}.recipe-hero>.hero-copy,.recipe-hero>.hero-media{min-height:320px!important;}}
/* Drawer follows the existing menu-button breakpoint and actual header height. */
@media(max-width:1023px){.hp-header{position:relative;}.pl-v24-drawer{position:absolute;z-index:9999;top:100%;left:0;right:0;background:#071f20;border-bottom:3px solid var(--hp-yellow,#ffd528);padding:12px 18px 18px;}.pl-v24-drawer.is-open{display:grid!important;gap:2px;}.pl-v24-drawer>a{color:#fff;text-decoration:none;padding:10px 2px;border-bottom:1px solid #ffffff18;font-weight:800;}.pl-v24-social{display:flex;gap:18px;padding-top:12px;}.pl-v24-social a{display:flex;align-items:center;gap:7px;color:#fff;text-decoration:none;}.pl-v24-social svg{width:20px;height:20px;}}
@media(orientation:landscape) and (max-width:1023px){.hp-navwrap,.hp-footer-v2-inner,.hp-footer-v2-bottom{width:calc(100% - 32px)!important;}.hp-footer-v2-inner{grid-template-columns:1.5fr 1fr 1fr!important;}.hp-footer-v2-brand{grid-column:auto!important;}}

/* Authoritative V2.4 mobile header */
.pl-v24-menu-button,.pl-v24-drawer{display:none;}
@media(max-width:767px){
  .hp-header{width:100%!important;max-width:none!important;margin-inline:0!important;}
  .hp-navwrap{width:calc(100% - 28px)!important;max-width:1180px!important;margin:auto!important;height:68px!important;min-height:68px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;}
  .hp-logo{width:54px!important;height:54px!important;margin:0!important;}
  .hp-nav,.hp-social{display:none!important;}
  .pl-v24-menu-button{display:grid!important;place-items:center!important;width:44px;height:44px;border:0;background:transparent;color:#fff;padding:8px;}
  .pl-v24-menu-button svg{width:28px;height:28px;}
  
  
  
  
  
  
}
@media(orientation:landscape) and (max-width:932px){
  .hp-header,.hp-footer.hp-footer-v2{width:100%!important;max-width:none!important;margin-inline:0!important;}
}
