/* Home v2 — full-bleed editorial layout */
body.template-page-home,
body.home{
  font-family:Rajdhani, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color:#222;
  background:#fff;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
/* Keep shared header on recipe Jost type; do not inherit Rajdhani into nav */
body.home theme-header,
body.home theme-header *{
  font-family: Jost, sans-serif;
}
body.template-page-home h1,
body.template-page-home h2,
body.template-page-home h3{
  font-family:Rajdhani, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color:#1e4e1c;
  font-weight:600;
}
body.template-page-home #wrapper{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  width:100%;
  background:#fff;
}
body.template-page-home #main-content{flex:1 1 auto; width:100%;}
body.template-page-home .site-contact-footer{
  flex:0 0 auto;
  width:100%;
  margin-top:0;
}

/* ----- Home: same sticky header layout as recipes; transparent over hero ----- */
body.home #wrapper,
body.home #main-content{
  background:#ffffff !important;
}
/* Home header overlays hero; site-shared makes it fixed ≤1067px */
body.home .header-section{
  position:sticky !important;
  top:0;
  left:0;
  z-index:200;
  width:100%;
  background:transparent !important;
}
@media (max-width:1067px){
  body.home .header-section{
    position:fixed !important;
    background:transparent !important;
  }
  /* Fixed header is out of flow — don't pull hero up or title collides with "Recipes" */
  body.home .home-hero{
    margin-top:0 !important;
    padding-top:calc(64px + 28px) !important;
  }
}
body.home theme-header,
body.home theme-header.header,
body.home .header{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  background:transparent !important;
  box-shadow:none !important;
  transition:background .35s ease, box-shadow .35s ease;
}
body.home theme-header .logolink,
body.home theme-header .thb-full-menu--link,
body.home theme-header .mobile-toggle,
body.home theme-header .parent-link{
  color:#1e4e1c !important;
  transition:color .35s ease;
}
body.home theme-header .thb-full-menu--link svg path,
body.home theme-header .parent-link svg path{
  stroke:#1e4e1c !important;
  transition:stroke .35s ease;
}
body.home theme-header .mobile-toggle span{
  background:#1e4e1c !important;
  transition:background .35s ease;
}
body.home.is-scrolled .header-section,
body.home.is-scrolled theme-header,
body.home.is-scrolled theme-header.header,
body.home theme-header:hover,
body.home theme-header:focus-within,
body.home theme-header:has(.mobile-toggle-wrapper[open]){
  background:#fff !important;
  box-shadow:0 1px 10px rgba(0,0,0,.06) !important;
}
/* Pull hero under the transparent sticky bar (bar height locked to 64px) */
body.home .home-hero{
  margin-top:-64px;
}

/* ----- Compact two-column hero: large product, fuller first screen ----- */
.home-hero{
  position:relative;
  width:100%;
  min-height:560px;
  box-sizing:border-box;
  padding:112px 24px 40px;
  background:#ffffff;
  overflow:hidden;
  border-radius:0 !important;
  display:flex;
  align-items:center;
}
.home-hero__inner{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:40px;
  align-items:center;
}
.home-hero__content{
  position:relative;
  min-width:0;
  max-width:100%;
  z-index:2;
  container-type:inline-size;
}
.home-hero__eyebrow{
  margin:0 0 14px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color:#1e4e1c;
  white-space:nowrap;
  hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
}
.home-hero__title{
  margin:0 0 16px;
  color:#1e4e1c !important;
  font-size:clamp(40px, 8.15cqi, 56px);
  font-weight:600;
  line-height:1.15;
  letter-spacing:0;
  text-transform:uppercase;
  text-shadow:none;
  max-width:100%;
  hyphens:none !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  white-space:normal;
}
.home-hero__title span{
  display:block;
  white-space:nowrap;
  hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
}
.home-hero__sub{
  margin:0 0 28px;
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.01em;
  color:#444;
  white-space:nowrap;
  hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
}
.home-hero__actions{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:16px;
}
.home-hero__btn{
  display:inline-block;
  font:inherit;
  font-size:12px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
  padding:14px 24px;
  border-radius:2px;
  box-sizing:border-box;
  white-space:nowrap;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.home-hero__btn--primary{
  color:#fff;
  background:#1e4e1c;
  border:1px solid #1e4e1c;
}
.home-hero__btn--primary:hover{
  background:#163b14;
  border-color:#163b14;
  color:#fff;
}
.home-hero__btn--outline{
  color:#1e4e1c;
  background:#fff;
  border:1px solid #1e4e1c;
}
.home-hero__btn--outline:hover{
  background:#1e4e1c;
  color:#fff;
}
.home-hero__chips{
  list-style:none;
  margin:28px 0 0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.home-hero__chips li{
  margin:0;
  padding:6px 12px;
  border:1px solid #d5ddd5;
  background:#e8eee8;
  color:#1e4e1c;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  border-radius:2px;
  white-space:nowrap;
}
.home-hero__visual{
  position:relative;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.home-hero__blob{
  position:absolute;
  /* Inscribe in the visual box so the circle never gets flat-cropped */
  width:min(86%, 100%);
  height:auto;
  aspect-ratio:1;
  max-width:min(86%, 520px);
  max-height:90%;
  border-radius:50%;
  background:#e8eee8;
  z-index:0;
  pointer-events:none;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
}
.home-hero__image{
  position:relative;
  z-index:1;
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:560px !important;
  object-fit:contain !important;
  object-position:center center;
  border-radius:0 !important;
  transform:none !important;
  background:transparent;
}
.home-hero,
.home-hero__image,
.home-hero__content,
.home-hero__visual,
.home-hero__inner{
  border-radius:0 !important;
}
@media (max-width:799px){
  .home-hero{
    min-height:0;
    padding:calc(64px + 24px) 16px 28px;
  }
  .home-hero__inner{
    grid-template-columns:1fr;
    gap:20px;
  }
  .home-hero__visual{
    padding:8px 0 12px;
  }
  .home-hero__image{
    max-height:min(320px, 72vw) !important;
    width:auto !important;
    max-width:92% !important;
    margin:0 auto;
  }
  .home-hero__title{
    font-size:clamp(28px, 8vw, 36px);
  }
  .home-hero__title span{
    white-space:normal;
  }
  .home-hero__eyebrow{
    white-space:normal;
    letter-spacing:0.18em;
    font-size:12px;
  }
  .home-hero__sub{
    white-space:normal;
    font-size:15px;
  }
  .home-hero__actions{
    flex-wrap:wrap;
    gap:12px;
  }
  .home-hero__btn{
    flex:1 1 auto;
    text-align:center;
    padding:12px 18px;
  }
  .home-hero__chips{
    flex-wrap:wrap;
  }
  /* Product photos already have white studio backgrounds — the mint disk reads as a clipped oval on narrow screens */
  .home-hero__blob{
    display:none;
  }
  .home-section{
    padding:56px 16px 0;
  }
  .home-section:last-of-type{
    padding-bottom:56px;
  }
  .home-section--tight{padding-top:48px;}
  .home-section__title{margin-bottom:24px;}
  .home-band{padding:56px 16px 0;}
  .home-band__copy{padding:28px 0 0;}
  .home-tile__label{padding:16px 18px;}
  .home-tile__name{font-size:clamp(22px, 6vw, 28px);}
}
@media (prefers-reduced-motion:reduce){
  body.home theme-header,
  body.home theme-header .logolink,
  body.home theme-header .thb-full-menu--link,
  body.home theme-header .mobile-toggle span{
    transition:none;
  }
  .home-tile img, .home-inspire img, .template-page-home .products-card__media img{transition:none !important;}
}

/* ----- Shared section chrome ----- */
.home-section{
  padding:96px 24px 0;
  box-sizing:border-box;
}
.home-section:last-of-type{
  padding-bottom:96px;
}
.home-section--tight{padding-top:80px;}
.home-wrap{
  max-width:1200px;
  margin:0 auto;
}
.home-kicker{
  margin:0 0 8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#1e4e1c;
  text-align:center;
}
.home-section__title{
  margin:0 0 40px;
  font-size:clamp(28px, 3vw, 42px);
  line-height:1.2;
  text-align:center;
  color:#1e4e1c;
}

/* ----- Home Operation Guide video ----- */
.home-section--video .home-section__title{
  margin-bottom:12px;
}
.home-video__sub{
  margin:0 auto 28px;
  max-width:560px;
  text-align:center;
  font-size:17px;
  line-height:1.55;
  color:#444;
}
.home-video{
  max-width:960px;
  margin:0 auto;
}
.home-video__frame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  background:#f3f7f3;
  border:1px solid #e8eee8;
  border-radius:16px;
  overflow:hidden;
}
.home-video__player{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#f3f7f3;
}
.home-video__link-wrap{
  margin:16px 0 0;
  text-align:center;
}
.home-video__link{
  display:inline-block;
  font-size:13px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
  color:#1e4e1c;
  border-bottom:1px solid #1e4e1c;
  padding-bottom:2px;
}
.home-video__link:hover{
  color:#163b14;
  border-bottom-color:#163b14;
}
@media (max-width:767px){
  .home-video__sub{
    font-size:16px;
    margin-bottom:20px;
    text-align:left;
  }
  .home-section--video .home-kicker,
  .home-section--video .home-section__title{
    text-align:left;
  }
  .home-video__frame{border-radius:12px;}
  .home-video__link-wrap{text-align:left;}
}

/* ----- Category tiles ----- */
.home-tiles{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
@media (min-width:700px){
  .home-tiles--products{grid-template-columns:repeat(2, 1fr); gap:24px;}
  .home-tiles--recipes{grid-template-columns:repeat(3, 1fr); gap:24px;}
}
.home-tile{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:8px;
  text-decoration:none;
  color:#fff;
  background:#1a1a1a;
}
.home-tiles--products .home-tile{aspect-ratio:4 / 3;}
.home-tiles--recipes .home-tile{aspect-ratio:5 / 4;}
@media (max-width:699px){
  .home-tiles--products .home-tile,
  .home-tiles--recipes .home-tile{aspect-ratio:16 / 10;}
}
.home-tile img{
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  display:block;
  transition:transform .6s ease;
}
.home-tile:hover img{transform:scale(1.07);}
.home-tile__shade{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.62) 100%);
  pointer-events:none;
}
.home-tile__label{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:22px 24px;
  color:#fff;
}
.home-tile__name{
  margin:0;
  color:#fff !important;
  font-size:clamp(24px, 2.4vw, 34px);
  line-height:1.15;
}

/* ----- Feature bands ----- */
.home-band{
  max-width:1200px;
  margin:0 auto;
  padding:96px 24px 0;
  display:grid;
  grid-template-columns:1fr;
  gap:36px;
  align-items:center;
  box-sizing:border-box;
}
@media (min-width:900px){
  .home-band{
    grid-template-columns:1fr 1fr;
    gap:72px;
    padding-top:108px;
  }
  .home-band--reverse .home-band__media{order:2;}
  .home-band--reverse .home-band__text{order:1;}
}
.home-band__media img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
  border-radius:8px;
  background:#f4f4f4;
}
.home-band__pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.home-band__pair img{aspect-ratio:1 / 1;}
.home-band__swatch{
  display:block;
  margin-top:8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#1e4e1c;
  text-align:center;
}
.home-band__model{
  margin:0 0 10px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#1e4e1c;
}
.home-band__title{
  margin:0 0 16px;
  font-size:clamp(26px, 2.6vw, 38px);
  line-height:1.2;
}
.home-band__text p{
  margin:0 0 24px;
  font-size:17px;
  line-height:1.7;
  color:#333;
}

/* ----- Featured products ----- */
.home-featured{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  align-items:stretch;
}
@media (min-width:600px){
  .home-featured{grid-template-columns:repeat(2, 1fr);}
}
@media (min-width:900px){
  .home-featured{grid-template-columns:repeat(3, 1fr);}
}
@media (min-width:1200px){
  .home-featured{grid-template-columns:repeat(5, 1fr); gap:24px 20px;}
}
@media (max-width:599px){
  .home-featured{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:16px;
    padding-bottom:8px;
    -webkit-overflow-scrolling:touch;
  }
  .home-featured .products-card{
    flex:0 0 78%;
    scroll-snap-align:start;
  }
}
.template-page-home .products-card__media{
  overflow:hidden;
  border-radius:8px;
}
.template-page-home .products-card__media img{
  transition:transform .55s ease;
}
.template-page-home .products-card:hover .products-card__media img{
  transform:scale(1.07);
}

/* ----- Recipe inspiration ----- */
.home-inspire{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}
@media (min-width:700px){
  .home-inspire{grid-template-columns:repeat(2, 1fr);}
}
@media (min-width:1100px){
  .home-inspire{grid-template-columns:repeat(4, 1fr);}
}
.home-inspire-card a{text-decoration:none; color:inherit; display:block;}
.home-inspire-card__media{
  overflow:hidden;
  border-radius:8px;
  background:#f7f7f7;
}
.home-inspire-card img{
  width:100%;
  height:clamp(200px, 24vh, 280px);
  object-fit:cover;
  display:block;
  transition:transform .55s ease;
}
.home-inspire-card:hover img{transform:scale(1.07);}
.home-inspire-card h3{
  margin:14px 0 6px;
  font-size:20px;
  color:#1e4e1c;
}
.home-inspire-card p{margin:0; color:#555; font-size:15px; line-height:1.45;}

