/* SustainaBuddies static site. Palette and type taken from the designer's Elementor kit. */
@font-face { font-family: "BD Supper"; src: url("/assets/fonts/BDSupperBold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "BD Supper"; src: url("/assets/fonts/BDSupperRegular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Century Gothic"; src: local("Century Gothic"), url("/assets/fonts/CenturyGothic.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Century Gothic"; src: local("Century Gothic Bold"), url("/assets/fonts/CenturyGothic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --green: #80AC1F;
  --green-dark: #486101;
  --green-black: #222B01;
  --yellow: #FCC20B;
  --yellow-light: #FFE075;
  --orange: #E37400;
  --orange-bright: #FF9E21;
  --teal: #008192;
  --cream: #FDFAF6;
  --ink: #363636;
  --white: #fff;
  --display: "BD Supper", "Century Gothic", "Trebuchet MS", sans-serif;
  --body: "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons: the yellow pill from the original header */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .5em; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; padding: .8em 1.7em; border-radius: 999px; background: var(--yellow); color: var(--green-dark); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--yellow-light); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--dark { background: var(--green-dark); color: var(--yellow); }
.btn--dark:hover { background: var(--green-black); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: 230px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--white); text-decoration: none; font-size: 1.05rem; }
.nav a:not(.btn):hover { color: var(--yellow); }
.nav .btn { color: var(--green-dark); padding: .55em 1.5em; }

/* Hero */
.hero { background: var(--teal); color: var(--white); position: relative; overflow: hidden; padding: 70px 0 calc(22vw + 30px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero__photo { position: relative; justify-self: center; width: min(460px, 100%); }
.hero__photo::before { content: ""; position: absolute; inset: 4% -4% -2% 2%; background: var(--yellow); border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
.hero__photo img { position: relative; }
.hero__kicker { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); display: block; }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 7rem); color: var(--yellow); letter-spacing: -.01em; margin-bottom: .25em; }
.hero h1 span { display: block; color: var(--white); }
.hero__lead { font-size: 1.25rem; max-width: 30ch; margin-bottom: 1.6em; }
.hero__bushes { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 25vw; object-fit: cover; object-position: bottom; z-index: 1; pointer-events: none; }
.hero__bushes--back { bottom: 3vw; transform: scaleX(-1); }

/* Three promises */
.promises { background: var(--green); color: var(--white); padding: 20px 0 70px; }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.promises h3 { font-size: 1.7rem; color: var(--yellow); margin-bottom: .35em; }
.promises p { margin: 0; }
.promises img { width: 54px; height: 54px; margin-bottom: 14px; filter: brightness(0) invert(1); }

/* Marquee band */
.band { background: var(--yellow); color: var(--green-dark); overflow: hidden; padding: 16px 0; }
.band__track { display: flex; gap: 70px; width: max-content; animation: slide 28s linear infinite; font-family: var(--display); font-size: 2rem; white-space: nowrap; }
.band__track span::after { content: "•"; margin-left: 70px; color: var(--orange); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Products */
.products { background: var(--yellow); padding: 90px 0 100px; }
.section-title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--ink); }
.section-title em { font-style: normal; display: block; padding-left: 1.6em; }
.products__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.products__head p { max-width: 44ch; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
.card { background: var(--cream); border-radius: 36px; padding: 34px; display: flex; flex-direction: column; }
.card__img { position: relative; margin: -70px auto 10px; width: min(330px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.card__img::before { content: ""; position: absolute; inset: 6%; border-radius: 47% 53% 44% 56% / 55% 45% 55% 45%; background: var(--orange); }
.card:nth-child(2) .card__img::before { background: var(--teal); border-radius: 55% 45% 58% 42% / 46% 56% 44% 54%; }
.card__img img { position: relative; width: 80%; border-radius: 50%; background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.card h3 { font-size: 2.1rem; margin-bottom: .2em; }
.card__size { font-weight: 700; color: var(--orange); margin-bottom: .8em; }
.card ul { margin: 0 0 1.4em; padding-left: 1.1em; }
.card li::marker { color: var(--green); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rating { font-size: .95rem; }
.rating b { color: var(--orange); letter-spacing: .08em; }
.products { padding-top: 90px; }
.cards { margin-top: 110px; }

/* We are */
.weare { background: var(--cream); padding: 100px 0; }
.weare .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.weare__photo { position: relative; }
.weare__photo::before { content: ""; position: absolute; inset: -5% 8% 6% -6%; background: var(--green); border-radius: 44% 56% 50% 50% / 56% 44% 56% 44%; }
.weare__photo img { position: relative; }
.weare h2 { color: var(--green-dark); margin-bottom: .5em; }
.values { display: grid; gap: 26px; }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.value img { width: 64px; height: 64px; background: var(--green); border-radius: 50%; padding: 12px; }
.value h3 { font-size: 1.6rem; color: var(--orange); margin-bottom: .2em; }
.value p { margin: 0; }

/* Why it matters */
.why { background: var(--green-dark); color: var(--white); padding: 100px 0; }
.why h2 { color: var(--yellow); max-width: 14ch; margin-bottom: .35em; }
.why__lead { max-width: 60ch; margin-bottom: 50px; font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fact { background: rgba(255,255,255,.07); border-radius: 30px; padding: 30px; }
.fact strong { font-family: var(--display); font-size: 3rem; color: var(--yellow); display: block; line-height: 1; margin-bottom: .2em; }
.fact h3 { font-size: 1.5rem; margin-bottom: .5em; }
.fact p { margin: 0; font-size: .98rem; }

/* Wholesale */
.wholesale { background: var(--orange-bright); padding: 100px 0; position: relative; overflow: hidden; }
.wholesale .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.wholesale h2 { color: var(--green-black); margin-bottom: .3em; }
.wholesale__sub { font-family: var(--display); font-size: 1.5rem; color: var(--white); margin-bottom: 1em; line-height: 1.15; }
.perks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
.perks li { background: var(--cream); border-radius: 22px; padding: 18px 20px; }
.perks b { font-family: var(--display); font-size: 1.2rem; color: var(--green-dark); display: block; margin-bottom: .15em; }
.perks span { font-size: .95rem; }
.wholesale__photo img { width: 100%; }

/* Contact */
.contact { background: var(--teal); color: var(--white); padding: 100px 0; }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.contact h2 { color: var(--yellow); margin-bottom: .4em; }
.contact dl { margin: 30px 0 0; display: grid; gap: 18px; }
.contact dt { font-family: var(--display); font-size: 1.2rem; color: var(--yellow-light); }
.contact dd { margin: 0; }
.contact dd a { text-decoration-color: var(--yellow); }
.form { background: var(--cream); color: var(--ink); border-radius: 36px; padding: 34px; display: grid; gap: 16px; align-content: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 700; font-size: .92rem; display: grid; gap: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { font: inherit; font-weight: 400; padding: .7em 1.1em; border: 2px solid #e3dccf; border-radius: 22px; background: var(--white); width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; accent-color: var(--green); }
.form button { justify-self: start; }
.form__note { font-size: .85rem; margin: 0; color: #6b6b6b; }

/* Footer */
.site-footer { background: var(--green); color: var(--white); padding: 70px 0 30px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: clamp(3rem, 7vw, 5.4rem); color: var(--yellow); }
.site-footer h3 { font-size: 1.3rem; color: var(--yellow); margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; font-size: .88rem; }

/* Simple pages */
.page { padding: 80px 0 100px; background: var(--cream); }
.page--center { text-align: center; }
.page--center .section-title { margin-bottom: .4em; }
.prose { max-width: 760px; }
.prose h1 { color: var(--green-dark); margin-bottom: .4em; }
.prose h2 { font-size: 1.6rem; color: var(--orange); margin: 1.6em 0 .4em; }
.prose a { color: var(--green-dark); }
.site-footer__legal a { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0 calc(24vw + 20px); }
  .hero .wrap, .weare .wrap, .wholesale .wrap, .contact .wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero__photo { order: -1; width: min(300px, 80%); }
  .promises ul, .facts, .cards { grid-template-columns: 1fr; }
  .cards { gap: 110px; }
  .perks, .form .row { grid-template-columns: 1fr; }
  .section-title em { padding-left: 0; }
  .logo img { width: 160px; }
  .nav .btn { font-size: .9rem; padding: .55em 1.1em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band__track { animation: none; }
  .btn { transition: none; }
}
