main,
main * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #112f40;
  --red: #e52d26;
  --green: #0d7449;
  --cream: #fff8ed;
  --yellow: #ffc53d;
  --text: #3f464a;
}
html {
  scroll-behavior: smooth;
}
main {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: auto;
}
.header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.logo-name {
  color: var(--red);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 13px;
  border: 3px solid var(--green);
  border-radius: 50%;
}
.logo-tag {
  color: #444;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  color: #222;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
nav a.active,
nav a:hover {
  color: var(--red);
}
nav a span {
  font-size: 11px;
}

.hero {
  background: var(--cream);
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 10px;
}
.hero-inner {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-copy {
  padding: 40px 0 35px;
}
.hero-copy h1 {
  color: #062233;
  font-family: "Lato", sans-serif;
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.hero-copy h1 b {
  color: var(--red);
  font-weight: 900;
}
.hero-copy h1 span {
  font-weight: 900;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 210px;
  margin: 5px 0 14px;
  color: #7a3d24;
}
.ornament i {
  height: 1px;
  width: 50px;
  background: #e52d26;
  display: block;
}
.ornament span {
  font-size: 19px;
  line-height: 1;
}
.hero-copy h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #283942;
  margin-bottom: 9px;
}
.hero-copy p {
  max-width: 460px;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.65;
}
.hero-products {
  height: 320px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-products img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  mix-blend-mode: multiply;
}
.yellow-blob {
  position: absolute;
  width: 245px;
  height: 245px;
  background: var(--yellow);
  border-radius: 50%;
  right: 70px;
  top: 30px;
}
.red-blob {
  position: absolute;
  width: 120px;
  height: 120px;
  background: #ed3024;
  border-radius: 50%;
  right: -2px;
  bottom: 18px;
}
.spark {
  position: absolute;
  color: #b44a20;
  font-size: 20px;
  z-index: 4;
}
.spark1 {
  left: 10px;
  top: 85px;
}
.spark2 {
  right: 25px;
  top: 60px;
}
.spark3 {
  left: 75px;
  top: 150px;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 55px;
  align-items: center;
  padding: 55px 0 35px;
}
.story-visual {
  height: 345px;
  position: relative;
}
.story-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.decor-blob {
  position: absolute;
  width: 95px;
  height: 130px;
  left: -42px;
  top: 65px;
  border-radius: 60px;
  background: #ffc943;
}
.dots {
  position: absolute;
  z-index: 3;
  left: -28px;
  bottom: 15px;
  color: #f5a51d;
  font-size: 18px;
  line-height: 0.55;
}
.story-content .label,
.section-title .label,
.commitment .label {
  color: var(--red);
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 8px;
}
.story-content h2 {
  color: var(--navy);
  font-family: "Lato", sans-serif;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: capitalize;
  margin-bottom: 18px;
}
.story-content p {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.stats-wrap {
  padding: 12px 0 38px;
}
.stats {
  background: #fff8ed;
  border-radius: 18px;
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 16px 25px;
}
.stat {
  text-align: center;
  border-right: 1px solid #eadbc5;
  min-height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat:last-child {
  border-right: 0;
}
.stat-icon {
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 3px;
}
  line-height: 1;
  margin-bottom: 3px;
}
.stat strong {
  color: var(--navy);
  font-family: "Lato", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
}
.stat span {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
}

.values {
  padding: 20px 0 50px;
}
.section-title {
  text-align: center;
  margin-bottom: 22px;
}
.section-title h2 {
  color: var(--navy);
  font-family: "Lato", sans-serif;
  font-size: 3.3rem;
  font-weight: 900;
  text-transform: capitalize;
  line-height: 1em;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
.value-card {
  min-height: 145px;
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
}
.value-card.orange {
  background: #fff3df;
}
.value-card.pink {
  background: #fff0f0;
}
.value-card.green {
  background: #f2f8e9;
}
.value-card.blue {
  background: #eef5fc;
}
.value-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 9px;
  color: #ef7c12;
}
.pink .value-icon {
  color: #e52d26;
}
.green .value-icon {
  color: #6cae19;
}
.blue .value-icon {
  color: #2862a0;
}
.value-card h3 {
  color: var(--navy);
  font-family: "Lato", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.value-card p {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.commitment {
  min-height: 330px;
  height: auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}
.commitment-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/bread-photo.jpg");
  background-size: cover;
  background-position: center;
}
.commitment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(47, 25, 14, 0.93) 0%,
    rgba(55, 29, 15, 0.68) 45%,
    rgba(45, 24, 13, 0.18) 100%
  );
}
.commitment-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 65px;
}
.commitment .label {
  color: #fff;
}
.commitment h2 {
  font-family: "Lato", sans-serif;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: capitalize;
  margin-bottom: 5px;
}
.light-ornament {
  color: #fff;
  margin: 2px 0 10px;
}
.light-ornament i {
  background: #fff;
}
.commitment p {
  width: 420px;
  max-width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 17px;
  border-radius: 22px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.button span {
  font-size: 15px;
}

@media (max-width: 800px) {
  .container {
    width: 92%;
  }
  nav {
    gap: 13px;
  }
  .hero-inner,
  .story {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding-top: 25px;
  }
  .hero-products {
    height: 260px;
  }
  .story {
    gap: 30px;
    padding-top: 45px;
  }
  .story-visual {
    height: 300px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .header {
    height: auto;
    padding: 14px 0;
  }
  nav {
    display: none;
  }
  .hero-copy h1 {
    font-size: 3.5rem;
  }
  .hero-products {
    height: 220px;
  }
  .story-content h2 {
    font-size: 2.3rem;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 15px;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .commitment {
    min-height: 370px;
    height: auto;
  }
}


/* =========================================
   SCROLL ANIMATIONS
   ========================================= */

/* Base state — hidden before animation */
.anim-fade-up,
.anim-fade-left,
.anim-fade-right,
.anim-fade-in,
.anim-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up    { transform: translateY(45px); }
.anim-fade-left  { transform: translateX(-50px); }
.anim-fade-right { transform: translateX(50px); }
.anim-fade-in    { transform: none; }
.anim-scale      { transform: scale(0.85); }

/* Visible state */
.anim-fade-up.visible,
.anim-fade-left.visible,
.anim-fade-right.visible,
.anim-fade-in.visible,
.anim-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grid children */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* Spark twinkle */
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%       { opacity: 0.4; transform: scale(1.4) rotate(20deg); }
}
.spark {
  animation: twinkle 2.2s ease-in-out infinite;
}
.spark2 { animation-delay: 0.7s; }
.spark3 { animation-delay: 1.4s; }

/* Blob float */
@keyframes blobFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-12px) scale(1.04); }
}
.yellow-blob { animation: blobFloat 5s ease-in-out infinite; }
.red-blob    { animation: blobFloat 4s ease-in-out infinite 0.8s; }
.decor-blob  { animation: blobFloat 6s ease-in-out infinite 0.4s; }

/* Stat icon pulse */
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.25); }
}
.stat-icon { animation: iconPulse 2.5s ease-in-out infinite; }

/* Value card hover lift */
.value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.value-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Button bounce on hover */
.button {
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.button:hover {
  background: #c4221c;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(229,45,38,0.35);
}

/* Ornament line grow */
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 50px; }
}
.ornament i,
.light-ornament i {
  animation: lineGrow 1s ease forwards;
}
