* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --header-h: 90px;
}

html{
  scroll-behavior: smooth;
}

body {
  font-family: "Helsinki", Arial, Helvetica, sans-serif;
  background-color: var(--background-beige);
  color: var(--text-dark);
}

/* top header */
.scroll-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2vw;

  background-color: rgba(255, 249, 229, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);

  transition: transform 220ms ease;
}

.scroll-header.is-hidden{
  transform: translateY(-110%);
}

.scroll-header .topbar__logo{
  height: 65px;
  width: auto;
  display: block;
}

.topbar__right-spacer{
  justify-self: end;
  width: 65px;
}

.topbar__nav{
  justify-self: center;
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link{
  position: relative;
  text-decoration: none;
  font-size: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-link--home{ color: var(--orange-main); }
.nav-link--shop{ color: var(--yellow-main); }
.nav-link--contact{ color: var(--green-main); }

.nav-link--home:hover{
  background-color: var(--orange-main);
  color: var(--background-beige);
}

.nav-link--shop:hover{
  background-color: var(--yellow-main);
  color: var(--background-beige);
}

.nav-link--contact:hover{
  background-color: var(--green-main);
  color: var(--background-beige);
}

/* page wrapper */
.brand-story-page{
  width: 100%;
  overflow: hidden;
}

/* accent bars */
.accent-bars--row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}

.accent-bars--stack{
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.bar{
  height: 6px;
  opacity: 0.85;
  border-radius: 1px;
  filter: blur(2px);
  clip-path: polygon(
    10% 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

.bar-orange{
  width: 80px;
  background-color: var(--orange-opaqueTwo);
}

.bar-yellow{
  width: 80px;
  background-color: var(--yellow-opaqueTwo);
}

.bar-green{
  width: 80px;
  background-color: var(--green-opaqueTwo);
}

/* hero */
.story-hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 5vw 80px;
  position: relative;

  background: linear-gradient(
    to bottom,
    var(--background-beige) 0%,
    var(--background-beigeThree) 100%
  );
}

.story-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/Images/leafBg3.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.story-hero__inner{
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.eyebrow{
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-main);
  opacity: 0.9;
  margin-bottom: 30px;
}

.story-title{
  margin-top: 14px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  color: var(--green-main);
}

.story-intro{
  margin-top: 32px;
  font-size: 24px;
  line-height: 1.6;
  color: var(--text-dark);
  opacity: 0.9;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-quote{
  margin-top: 32px;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.4;
  color: var(--green-main);
  opacity: 0.85;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

/* leaf wrapper */
.leaf-wrap{
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--background-beigeThree) 0%,
    var(--background-beigeTwo) 45%,
    var(--background-beigeThree) 100%
  );
}

.leaf-wrap::after{
  content: "";
  position: absolute;
  inset: 0 100px;
  background-image: url("/assets/Images/leafBg.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.leaf-wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/Images/leafBg4.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 50%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* generic sections */
.story-section{
  position: relative;
  z-index: 1;
  padding: 110px 5vw;
}

.story-grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.story-grid--reverse{
  grid-template-columns: 0.9fr 1.1fr;
}

.section-label{
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-main);
  margin-bottom: 16px;
}

.story-copy h2,
.center-title,
.closing-card h2{
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.05;
  color: var(--green-main);
}

.story-copy p{
  font-size: 21px;
  line-height: 1.8;
  margin-top: 22px;
}

/* quote card */
.story-card{
  position: relative;
}

.story-card--quote{
  background-color: rgba(255, 249, 229, 0.68);
  border-radius: 36px;
  padding: 42px 36px;
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.quote{
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.35;
  color: var(--text-dark);
}

.origin-quote{
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.origin-body{
  max-width: 850px;
  margin: 60px auto 0;
  text-align: center;
}

/* narrative section — two blocks in one */
.story-section--narrative{
  padding-bottom: 110px;
}


.narrative-divider{
  max-width: 240px;
  margin: 110px auto;
}

.narrative-build{
  margin-top: 0;
}

.founders-frame{
  display: flex;
  align-items: center;
  justify-content: center;
}

.founders-photo{
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

/* centred values section */
.story-centerpiece{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.center-copy{
  margin: 24px auto 0;
  font-size: 21px;
  line-height: 1.8;
  max-width: 74ch;
}

.values-grid{
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card{
  border-radius: 28px;
  padding: 30px 26px;
  background-color: rgba(255, 249, 229, 0.72);
  box-shadow: 0 16px 34px rgba(0,0,0,0.07);
  min-height: 240px;
}

.value-card h3{
  font-size: 28px;
  margin-bottom: 16px;
}

.value-card p{
  font-size: 19px;
  line-height: 1.7;
}

.value-card--orange h3{ color: var(--orange-main); }
.value-card--yellow h3{ color: var(--yellow-main); }
.value-card--green h3{ color: var(--green-main); }

/* manifesto card */
.story-card--manifesto{
  background: linear-gradient(
    135deg,
    rgba(109, 145, 71, 0.14),
    rgba(241, 198, 76, 0.10),
    rgba(244, 145, 72, 0.14)
  );
  border-radius: 36px;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.07);
}

.manifesto-text{
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: var(--green-main);
}

.manifesto-sub{
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--orange-main);
  opacity: 0.85;
}

/* closing */
.story-section--closing{
  padding-top: 70px;
  padding-bottom: 120px;
}

.closing-card{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  border-radius: 36px;
  background-color: rgba(255, 249, 229, 0.72);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.closing-copy{
  font-size: 22px;
  line-height: 1.7;
  color: var(--text-dark);
  opacity: 0.9;
  max-width: 52ch;
  margin: 0 auto;
}

.closing-tagline{
  margin-top: 40px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  color: var(--orange-main);
}

.story-cta{
  display: inline-block;
  margin-top: 40px;
  padding: 14px 22px;
  border-radius: 999px;
  background-color: var(--green-main);
  color: var(--background-beige);
  text-decoration: none;
  font-size: 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.story-cta:hover{
  transform: scale(1.06);
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

/* footer */
.site-footer{
  width: 100%;
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.footer-inner{
  width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
  opacity: 0.75;
}

.footer-left{
  justify-self: start;
}

.footer-nav{
  display: flex;
  gap: 24px;
}

.footer-nav a{
  text-decoration: none;
  color: inherit;
}

.footer-nav a:hover{
  text-decoration: underline;
}

.footer-right{
  justify-self: end;
}

/* responsive */
@media (max-width: 950px){
  .story-grid,
  .story-grid--reverse,
  .values-grid{
    grid-template-columns: 1fr;
  }

  .story-card--quote,
  .story-card--manifesto{
    max-width: 700px;
    margin: 0 auto;
  }

  .founders-photo{
    max-width: 100%;
  }
}

@media (max-width: 768px){
  :root{
    --header-h: 58px;
  }

  html, body{
    overflow-x: hidden;
  }

  .scroll-header{
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 0 4vw;
    height: var(--header-h);
  }

  .topbar__right-spacer{
    display: none;
  }

  .topbar__nav{
    justify-self: end;
    gap: 4px;
  }

  .nav-link{
    font-size: 13px;
    padding: 5px 8px;
  }

  .scroll-header .topbar__logo{
    height: 40px;
    max-width: 110px;
    object-fit: contain;
  }

  .topbar__logo-link{
    display: inline-flex;
    align-items: center;
  }

  .story-hero{
    padding: calc(var(--header-h) + 30px) 6vw 60px;
    min-height: 100svh;
  }

  .story-intro{
    font-size: 19px;
    max-width: 100%;
  }

  .story-copy p,
  .center-copy,
  .closing-copy{
    font-size: 18px;
  }

  .story-section{
    padding: 70px 5vw;
  }

  .narrative-divider{
    margin: 70px auto;
  }

  .founders-photo{
    border-radius: 20px;
  }

  .value-card h3{
    font-size: 24px;
  }

  .closing-card{
    padding: 36px 24px;
  }

  .closing-tagline{
    font-size: 1.7rem;
  }

  .leaf-wrap::after{
    inset: 0 20px;
    background-size: cover;
    background-position: left bottom;
  }

  .footer-inner{
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .footer-left,
  .footer-right{
    justify-self: center;
  }

  .footer-nav{
    justify-content: center;
    flex-wrap: wrap;
  }

  .leaf-wrap::after{
    inset:0 0;
    background-size: 220%;
  }

  .bar-orange{ width: 140px; }
  .bar-yellow{ width: 100px; }
  .bar-green{ width: 70px; }
}

@media (max-width: 650px){
  .scroll-header .topbar__logo{
    height: 46px;
  }

  .story-hero{
    padding: 70px 6vw;
  }

  .story-intro{
    font-size: 18px;
  }

  .quote{
    font-size: 28px;
  }

  .manifesto-text{
    font-size: 2.2rem;
  }
    .leaf-wrap::after{
    inset:0 0;
    background-size: 220%;
  }

}
