/* Selected 1536 × 1024 composition. The approved logo remains an untouched PNG.
   All rules are scoped to the homepage so the existing store and portals retain their styles. */
.selected-home {
  --home-green: #062e19;
  --home-cream: #fbf7e9;
  --home-gold: #d8d49c;
  --home-gutter: clamp(18px, 2.8vw, 44px);
  background: var(--home-cream);
  color: #092d1c;
}
.home-shell { max-width: 1536px; margin: auto; }
.selected-home h1, .selected-home h2, .home-header, .home-cta,
.home-category-label, .home-local-grid, .home-trust, .home-contact {
  font-family: Georgia, 'Times New Roman', serif;
}
.selected-home .home-header {
  height: 55px; padding: 0; position: relative; z-index: 50;
  background: var(--home-green); color: var(--home-cream); border: 0;
}
.home-nav-inner {
  width: 100%; max-width: 1536px; height: 100%; margin: auto;
  padding: 0 var(--home-gutter) 0 clamp(44px, 12.7vw, 195px);
  display: flex; align-items: center; gap: clamp(20px, 3.9vw, 60px);
}
.home-header #main-nav { display: flex; position: static; flex: 1; justify-content: space-between; gap: 20px; padding: 0; }
.home-header #main-nav a { font: 700 clamp(16px, 1.43vw, 22px)/1.15 Georgia, serif; white-space: nowrap; padding: 13px 0; }
.home-header #main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.home-header #main-nav a:hover { color: var(--home-gold); }
.home-chevron { display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); margin-left: 5px; }
.home-tools { display: flex; align-items: center; gap: 10px; }
.home-tools > a, .home-tools .cart-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 8px; color: inherit; border: 0; background: none; border-radius: 3px; }
.home-tools svg { width: 28px; height: 28px; }
.home-tools .cart-toggle { position: relative; }
.home-tools #cart-count { position: absolute; right: -5px; top: 0; min-width: 21px; width: auto; height: 21px; margin: 0; padding: 0 4px; background: var(--home-cream); color: var(--home-green); font: 700 12px/21px Georgia, serif; }
.home-header .menu-toggle { display: none; }
.home-header :focus-visible, .home-footer :focus-visible { outline-color: var(--home-gold); }
.home-hero {
  position: relative; isolation: isolate; height: clamp(330px, 27.93vw, 429px);
  background: linear-gradient(180deg, #acd7fa 0%, #d4e9f6 40%, #fff8dc 72%, #ece6ad 100%);
}
.home-logo { position: absolute; left: 4.4%; top: 7%; width: 25.4%; height: auto; z-index: 2; filter: drop-shadow(0 6px 10px #0b2a1b40); }
.home-headline { position: absolute; left: 29.36%; top: 10.5%; width: 37.7%; padding-left: 2.08%; border-left: 2px solid #355333; z-index: 2; }
.selected-home .home-headline h1 { font-size: clamp(35px, 3.39vw, 52px); font-weight: 700; letter-spacing: -.025em; line-height: .96; margin: 0 0 22px; color: #062e19; }
.home-tagline { margin: 0; padding: 10px 16px; color: #fffbea; background: #426321; font: 700 clamp(13px, 1.3vw, 20px)/1.2 Georgia, serif; text-align: center; border-radius: 43% 4% 35% 3% / 12% 30% 15% 35%; }
.home-farm { position: absolute; right: 0; top: 0; width: 32.8125%; display: block; z-index: 1; }
.home-farm img { display: block; width: 100%; height: auto; }
.home-landscape { position: absolute; bottom: 0; left: 0; right: 0; height: 17.95%; background: url('/assets/2silos/hero/landscape-strip.webp') center bottom / 100% 100% no-repeat; z-index: 1; }
.home-cta { position: absolute; top: 65%; left: 28.12%; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 10px 26px; border: 3px solid var(--home-gold); border-radius: 999px; color: var(--home-cream); background: #0c401c; font-size: clamp(18px, 1.56vw, 24px); font-weight: 700; line-height: 1.2; box-shadow: 0 2px 5px #102a1933; }
.home-cta svg { width: 38px; height: 38px; flex: none; }
.home-cta svg:last-child { width: 25px; }
.home-cta:hover { background: #062e19; }
.home-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 6% 10px; min-height: 74px; align-items: center; gap: 0; }
.home-trust-item { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 24px; position: relative; }
.home-trust-item + .home-trust-item::before { content: ''; width: 1px; height: 46px; position: absolute; left: 0; background: #697b44; }
.home-trust-item img { width: 62px; height: auto; display: block; }
.home-trust-item p { margin: 0; font-size: clamp(15px, 1.3vw, 20px); font-weight: 700; line-height: 1.15; max-width: 200px; }
.home-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0 var(--home-gutter); }
.home-category { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; color: var(--home-cream); background: #221d12; position: relative; }
.home-category picture, .home-category img { display: block; width: 100%; }
.home-category img { height: auto; }
.home-category-label { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 6px; flex: 1; margin-top: -22px; padding: 22px 16px 12px; background: linear-gradient(transparent, #12120cf2 27px); font-size: clamp(18px, 1.69vw, 26px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.home-card-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--home-cream); color: var(--home-green); font: 700 29px/.8 Georgia, serif; flex: none; }
.home-category:hover .home-category-label { color: #f5e6ae; }
.home-category:hover .home-card-arrow { background: var(--home-gold); }
.home-local { display: grid; grid-template-columns: 36.5% minmax(0, 1fr); gap: 22px; padding: 27px var(--home-gutter) 30px; align-items: center; }
.home-local-intro { display: flex; align-items: start; gap: 16px; padding: 10px 22px 22px 4px; border-right: 1px solid #697b44; }
.home-local-intro > img { width: 81px; height: auto; flex: none; }
.selected-home .home-local h2 { margin: 0 0 4px; font-size: clamp(26px, 2.5vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.home-local-intro p { margin: 0; font: 700 clamp(16px, 1.43vw, 22px)/1.2 Georgia, serif; }
.home-local-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.home-local-grid a { display: flex; flex-direction: column; gap: 8px; text-align: center; min-width: 0; font-size: clamp(16px, 1.36vw, 21px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.home-local-grid picture { display: block; }
.home-local-grid img { width: 100%; height: auto; display: block; border-radius: 16px; }
.home-local-grid a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.home-footer { position: relative; background: #07331b; color: var(--home-cream); margin-top: 20px; padding: 14px 0 18px; }
.home-footer-wave { position: absolute; bottom: calc(100% - 1px); left: 0; width: 100%; height: 40px; color: #07331b; display: block; pointer-events: none; }
.home-footer-inner { max-width: 1536px; margin: auto; padding: 0 var(--home-gutter); display: flex; align-items: center; gap: 32px; }
.home-contact { display: flex; align-items: center; gap: 28px; font-size: clamp(18px, 1.56vw, 24px); font-weight: 700; flex-wrap: wrap; }
.home-contact > * { display: inline-flex; align-items: center; gap: 12px; }
.home-contact svg { width: 32px; height: 36px; flex: none; }
.home-contact a { font-size: .88em; }
.home-newsletter { border-left: 1px solid #c1c9a4; padding-left: 32px; display: flex; align-items: center; gap: 30px; flex: 1; min-width: 0; }
.selected-home .home-newsletter h2 { font-size: 24px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 4px; }
.home-newsletter p { font-size: 12px; line-height: 1.4; margin: 0; }
.home-newsletter form { flex: 1; min-width: 260px; }
.home-newsletter-fields { display: flex; padding: 2px; border: 2px solid #e2e2ba; border-radius: 999px; background: #fff; }
.home-newsletter input { width: 100%; min-width: 0; border: 0; border-radius: 999px; padding: 9px 16px; background: #fff; color: #25352b; font: 16px Georgia, serif; }
.home-newsletter input::placeholder { color: #51564b; opacity: 1; }
.home-newsletter button { border: 0; border-radius: 999px; background: #426321; color: #fffbea; padding: 8px 22px; font: 700 20px Georgia, serif; opacity: 1; }
.home-newsletter #newsletter-status { margin-top: 5px; }
.home-footer-links { max-width: 1536px; margin: 18px auto 0; padding: 12px var(--home-gutter) 0; border-top: 1px solid #ffffff26; display: flex; gap: 8px 24px; flex-wrap: wrap; }
.home-footer-links a { padding: 5px 0; font-size: 12px; line-height: 1.5; }
.home-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.selected-home .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 1101px) and (max-width: 1350px) {
  .home-nav-inner { padding-left: var(--home-gutter); gap: 20px; }
  .home-header #main-nav { gap: 14px; }
  .home-trust { padding-inline: var(--home-gutter); }
  .home-trust-item { gap: 10px; padding: 0 14px; }
  .home-local-intro { gap: 10px; }
  .home-local-intro > img { width: 60px; }
  .home-footer-inner, .home-newsletter { gap: 20px; }
  .home-contact { flex-direction: column; align-items: start; gap: 8px; }
}
@media (max-width: 1100px) {
  .selected-home .home-header { height: auto; min-height: 64px; }
  .home-nav-inner { padding: 10px var(--home-gutter); flex-wrap: wrap; gap: 10px; }
  .home-header #main-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: start; gap: 4px 24px; background: var(--home-green); }
  .home-header #main-nav a { font-size: 18px; padding: 12px 0; }
  .home-tools { margin-left: auto; }
  .has-navigation-js .home-header .menu-toggle { display: inline-flex; align-items: center; gap: 8px; color: inherit; border: 1px solid #a8b78b; border-radius: 4px; background: none; padding: 8px 12px; margin: 0; min-height: 44px; }
  .home-header .menu-toggle svg { width: 24px; height: 24px; }
  .has-navigation-js .home-header #main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 14px var(--home-gutter) 20px; box-shadow: 0 12px 20px #0003; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 64px); overflow-y: auto; }
  .has-navigation-js .home-header #main-nav.is-open { display: flex; }
  .home-hero { height: auto; display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: 24px; padding: 28px var(--home-gutter) 0; }
  .home-logo { position: static; width: 100%; align-self: center; }
  .home-headline { position: static; width: auto; padding-left: 22px; align-self: center; }
  .selected-home .home-headline h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.04; margin-bottom: 18px; }
  .home-desktop-break { display: none; }
  .home-tagline { font-size: 16px; line-height: 1.5; padding: 8px 12px; }
  .home-cta { position: static; grid-column: 1 / -1; justify-self: center; min-height: 56px; font-size: 22px; margin: 0 0 4px; }
  .home-farm { position: relative; grid-column: 1 / -1; grid-row: 3; width: min(100%, 504px); justify-self: center; }
  .home-landscape { height: clamp(38px, 5vw, 55px); }
  .home-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; padding: 26px var(--home-gutter); }
  .home-trust-item { justify-content: start; gap: 16px; padding: 0 24px; }
  .home-trust-item:nth-child(3)::before { display: none; }
  .home-trust-item p { font-size: 19px; }
  .home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .home-category-label { font-size: 23px; }
  .home-local { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
  .home-local-intro { border: 0; padding: 0; align-items: center; }
  .selected-home .home-local h2 { font-size: 32px; }
  .home-local-intro p { font-size: 19px; }
  .home-local-grid a { font-size: 18px; }
  .home-footer-inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .home-newsletter { border: 0; padding: 0; }
  .home-contact { gap: 24px; }
}
@media (max-width: 700px) {
  .home-hero { grid-template-columns: 1fr; justify-items: center; gap: 22px; padding-top: 20px; }
  .home-logo { width: min(100%, 300px); }
  .home-headline { padding: 0; border: 0; text-align: center; max-width: 520px; }
  .selected-home .home-headline h1 { font-size: clamp(32px, 7.5vw, 44px); }
  .home-cta { grid-column: auto; grid-row: 3; font-size: clamp(17px, 4.2vw, 22px); gap: 10px; padding: 10px 16px; max-width: 100%; }
  .home-cta svg { width: 30px; height: 30px; }
  .home-cta svg:last-child { width: 20px; }
  .home-farm { grid-column: auto; grid-row: 4; }
  .home-trust-item { padding: 0 12px; gap: 10px; }
  .home-trust-item img { width: 48px; }
  .home-trust-item p { font-size: 16px; }
  .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .home-category { border-radius: 12px; }
  .home-category-label { font-size: 21px; padding: 22px 12px 12px; }
  .home-card-arrow { width: 24px; height: 24px; font-size: 25px; }
  .home-local-intro > img { width: 60px; }
  .selected-home .home-local h2 { font-size: 28px; }
  .home-local-intro p { font-size: 17px; }
  .home-local-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .home-local-grid a { font-size: 20px; }
  .home-newsletter { flex-direction: column; align-items: stretch; gap: 14px; }
  .home-newsletter form { min-width: 0; }
  .home-contact { font-size: 21px; gap: 14px; }
  .home-footer-links { gap: 4px 20px; }
  .home-footer-links a { padding: 10px 0; }
}
@media (max-width: 420px) {
  .home-trust { grid-template-columns: 1fr; gap: 16px; }
  .home-trust-item { padding: 0; }
  .home-trust-item + .home-trust-item::before { display: none; }
  .home-trust-item p { max-width: none; font-size: 18px; }
  .home-category-label { font-size: 18px; gap: 4px; padding-inline: 10px; }
  .home-card-arrow { width: 20px; height: 20px; font-size: 22px; }
  .home-contact { flex-direction: column; align-items: start; }
  .home-newsletter button { font-size: 17px; padding-inline: 12px; }
}
@media (max-width: 360px) {
  .home-categories, .home-local-grid { grid-template-columns: 1fr; }
  .home-category-label { font-size: 24px; }
  .home-tagline { font-size: 14px; }
  .home-cta { gap: 8px; padding-inline: 12px; }
}

/* Desktop hero: headline, tagline and button flow in one column so a wider font (or browser zoom) can never make them overlap. */
@media (min-width: 1101px) {
  .home-hero { height: auto; min-height: clamp(330px, 27.93vw, 429px); display: grid; grid-template-columns: 29.36% 39% minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; padding-bottom: clamp(30px, 2.6vw, 40px); }
  .home-headline { position: static; grid-column: 2; grid-row: 1; width: auto; margin-top: clamp(30px, 2.93vw, 46px); padding-left: 2.08vw; }
  .home-cta { position: static; grid-column: 2; grid-row: 2; justify-self: start; align-self: start; margin: 18px 0 0 -1.24vw; }
  .home-farm { height: 100%; }
  .home-farm img { height: 100%; object-fit: cover; object-position: right top; }
}

/* Tablet / small-laptop hero (701-1100px): compact two-column hero with the farm photo as a soft backdrop instead of a tall stacked block. */
@media (min-width: 701px) and (max-width: 1100px) {
  .home-hero { grid-template-columns: minmax(150px, 30%) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; gap: 6px 24px; padding: 22px var(--home-gutter) clamp(46px, 6.4vw, 64px); }
  .home-logo { grid-column: 1; grid-row: 1 / span 2; }
  .home-headline { position: relative; left: auto; top: auto; width: auto; z-index: 2; grid-column: 2; grid-row: 1; align-self: end; padding-left: 20px; }
  .selected-home .home-headline h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
  .home-tagline { font-size: clamp(13px, 1.7vw, 15px); padding: 7px 14px; }
  .home-cta { position: relative; left: auto; top: auto; z-index: 3; grid-column: 2; grid-row: 2; justify-self: start; align-self: start; min-height: 48px; padding: 8px 20px; font-size: 18px; margin: 4px 0 0 0; }
  .home-cta svg { width: 28px; height: 28px; }
  .home-cta svg:last-child { width: 20px; }
  .home-farm { position: absolute; grid-column: auto; grid-row: auto; top: 0; right: 0; bottom: 0; width: auto; height: 100%; max-width: 42%; overflow: hidden; z-index: 1; opacity: .42; pointer-events: none; }
  .home-farm img { height: 100%; width: auto; max-width: none; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
}

/* Large screens (and zoomed-out browsers): let the hero scale up and run edge to edge instead of sitting in a small boxed column. */
@media (min-width: 1537px) {
  .selected-home { overflow-x: clip; }
  .home-shell, .home-nav-inner, .home-footer-inner, .home-footer-links { max-width: 1920px; }
  .selected-home .home-hero { min-height: clamp(429px, 27.93vw, 536px); overflow: visible; background: none; padding-bottom: min(2.6vw, 50px); }
  .selected-home .home-hero::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
    background:
      radial-gradient(ellipse 22% 30% at 6% 78%, #fff3b0 0%, #ffd66a66 38%, transparent 72%),
      radial-gradient(ellipse 18% 6% at 30% 9%, #ffffffb3, transparent 70%),
      radial-gradient(ellipse 14% 5% at 58% 6%, #ffffff99, transparent 70%),
      radial-gradient(ellipse 20% 7% at 47% 28%, #ffffff66, transparent 70%),
      linear-gradient(180deg, #8fc6f2 0%, #c4e1f5 34%, #fdf3d2 66%, #f6dc8e 84%, #e5d78f 100%); }
  .home-landscape { left: 50%; right: auto; width: 100vw; transform: translateX(-50%); background-size: cover; }
  .selected-home .home-headline h1 { font-size: clamp(52px, 3.39vw, 65px); }
  .home-headline { padding-left: min(2.08vw, 40px); margin-top: min(2.93vw, 56px); }
  .home-tagline { font-size: clamp(20px, 1.3vw, 25px); padding: 12px 20px; }
  .home-cta { margin: 22px 0 0 max(-1.24vw, -24px); font-size: clamp(24px, 1.56vw, 30px); min-height: 78px; padding: 12px 32px; gap: 14px; }
  .home-cta svg { width: 46px; height: 46px; }
  .home-cta svg:last-child { width: 30px; }
}
@media (min-width: 1921px) {
  .selected-home .home-farm img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 86%, transparent 100%); }
}

/* Desktop hero: one seamless sunset farm scene (built from the approved mockup) behind the live logo, headline and button. */
@media (min-width: 1101px) {
  .selected-home .home-hero { background: url('/assets/2silos/hero/hero-scene.webp') center bottom / cover no-repeat, linear-gradient(180deg, #8fc6f2 0%, #fdf3d2 70%, #f6dc8e 100%); }
  .selected-home .home-hero::after, .selected-home .home-farm, .selected-home .home-landscape { display: none; }
}
@media (min-width: 1537px) {
  .selected-home .home-hero { background: none; }
  .selected-home .home-hero::before { background: url('/assets/2silos/hero/hero-scene.webp') center bottom / cover no-repeat, linear-gradient(180deg, #8fc6f2 0%, #fdf3d2 70%, #f6dc8e 100%); }
}
@media (min-width: 1921px) {
  .selected-home .home-hero::before { background:
    url('/assets/2silos/hero/hero-edge-left.webp') left bottom / 50% 100% no-repeat,
    url('/assets/2silos/hero/hero-edge-right.webp') right bottom / 50% 100% no-repeat,
    linear-gradient(180deg, #8fc6f2 0%, #fdf3d2 70%, #f6dc8e 100%); }
  .selected-home .home-hero::after { display: block; content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 1920px; transform: translateX(-50%); pointer-events: none;
    background: url('/assets/2silos/hero/hero-scene.webp') center bottom / auto 100% no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
}
