/* Keep the uploaded hero composition clear and legible on the sharper photo. */
.hero.screen {
  margin-top: var(--bar);
  min-height: max(680px, calc(100svh - var(--bar)));
}
.hero.screen::after {
  background: linear-gradient(180deg, #091926db 0%, #09192696 27%, #09192608 58%, #0919262e 77%, #091926c9 100%);
}
.hero .screen-head { padding-top: clamp(60px, 10vh, 104px); }
.hero .screen-head h1 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 620; }
.hero .screen-head p { max-width: 55ch; }
.hero .bg { object-position: center 55%; animation: none; }
.hero .screen-foot { padding-bottom: clamp(28px, 7vh, 70px); }

/* Bring back the category cards and the original supplier packs. */
.home-portfolio, .ingredient-selection { padding: clamp(55px, 7vw, 100px) max(24px, calc((100% - 1200px) / 2)); }
.home-portfolio { background: #f5f7f5; }
.ingredient-selection { background: #fff; }
.home-portfolio .section-head, .ingredient-selection .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-inline: 0;
}
.home-portfolio .textlink, .ingredient-selection .textlink {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #a9b7b2;
  padding-bottom: 8px;
  color: #243c3a;
  text-decoration: none;
}
.home-portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-portfolio-card {
  --tint: #edf3f3;
  --accent: #395d6a;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 240px;
  padding: 27px;
  border-radius: 13px;
  border: 1px solid #d9e1da;
  background: linear-gradient(135deg, var(--tint), #fafbf9);
  color: #233936;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.home-portfolio-card:hover { border-color: var(--accent); box-shadow: 0 5px 18px #23393612; }
.home-portfolio-card[data-category="feed"] { --tint: #f0eee3; --accent: #6d5b39; }
.home-portfolio-card[data-category="supplements"] { --tint: #e8f1ee; --accent: #38625c; }
.home-portfolio-card[data-category="vitamins"] { --tint: #efecf2; --accent: #655474; }
.home-portfolio-card[data-category="seaweed"] { --tint: #e8efe3; --accent: #456249; }
.home-portfolio-card[data-category="dairy"] { --tint: #f2efe8; --accent: #705a46; }
.home-portfolio-card-top { display:flex; justify-content:space-between; color:var(--accent); }
.home-portfolio-icon, .home-portfolio-arrow { display:grid; place-items:center; }
.home-portfolio-icon { width:55px; height:55px; background:#ffffffa8; border-radius:12px; }
.home-portfolio-icon svg { width:36px; height:36px; }
.home-portfolio-arrow { width:32px; height:32px; border:1px solid; border-radius:50%; }
.home-portfolio-card-copy h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 550; }
.home-portfolio-card-copy p { margin-top: 9px; font-size: 15px; color:#4e625a; line-height:1.55; }
.ingredient-selection .label { display:block; margin-bottom:18px; font-size:12px; text-transform:uppercase; letter-spacing:.14em; color:#45605c; }
.selection-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:20px; }
.selection-card figure { display:grid; place-items:center; aspect-ratio:1.15; background:#eef1ec; border-bottom:1px solid #d7dfd7; }
.selection-card img { width:100%; height:100%; min-height:0; object-fit:contain; mix-blend-mode:multiply; padding:16px; }
.selection-card figcaption { display:none; }
.selection-card a { display:block; text-decoration:none; color:#233936; margin-top:14px; }
.selection-card a:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.selection-card small { text-transform:uppercase; color:#586c63; letter-spacing:.1em; font-size:12px; }
.selection-card h3 { display:flex; justify-content:space-between; gap:8px; margin-top:8px; font-size:clamp(17px,2vw,24px); font-weight:550; }
@media(max-width:820px) {
  .home-portfolio-grid, .selection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  .hero.screen { min-height: max(620px, calc(100svh - var(--bar))); }
  .hero .screen-head { padding-top:52px; }
  .hero .screen-foot { gap:10px; }
  .hero .screen-foot .pill { min-width:180px; }
  .home-portfolio .section-head, .ingredient-selection .section-head { align-items:flex-start; flex-direction:column; }
  .home-portfolio-grid { grid-template-columns:1fr; gap:14px; }
  .home-portfolio-card { min-height:190px; padding:22px; gap:16px; }
  .selection-grid { gap:24px 14px; }
}
.home-portfolio-icon svg { stroke: currentColor; stroke-width: 5; }
@media(max-width:760px) {
  .bar { inset-inline:0; width:100vw; max-width:100vw; }
  .bar .menu { position:absolute; inset-inline-end:24px; }
}
