/* --- Google Fonts (must be first) --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');

/* ============================================================
   Frowny Friends — Design System & Global Styles
   ============================================================ */

@font-face {
  font-family: 'Lazy Dog';
  src: url('../fonts/lazy_dog.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atop';
  src: url('../fonts/Atop-R99O3.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Monaz';
  src: url('../fonts/monaz.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Puffy';
  src: url('../fonts/puffyfont.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  --yellow: #F9D923;
  --yellow-light: #FFF5A0;
  --bg: #FFFDF0;
  --green: #3D8B5E;
  --green-dark: #2e6b48;
  --dark: #1C1C1C;
  --gray: #6B6B6B;
  --gray-light: #E8E8E0;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-md: rgba(0, 0, 0, 0.14);
  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-sm: 8px;
  --font-heading: 'Puffy', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-logo: 'Lazy Dog', system-ui, sans-serif;
  --nav-height: 68px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--sm {
  padding: 48px 0;
}

.text-center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(61, 139, 94, 0.3);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 6px 20px rgba(61, 139, 94, 0.4);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
  box-shadow: 0 4px 14px rgba(249, 217, 35, 0.4);
}

.btn--yellow:hover {
  background: #e8c800;
  border-color: #e8c800;
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn--outline:hover {
  background: var(--dark);
  color: #fff;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: var(--gray-light);
  border: 2px dashed #bbb;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}

.img-placeholder svg {
  opacity: 0.4;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 12px var(--shadow);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  flex-shrink: 0;
  letter-spacing: 0.01em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--dark);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav open state */
.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--gray-light);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 24px var(--shadow);
  z-index: 99;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
}

.nav__mobile .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: #fccc45;
  padding: 64px 0 0;
  overflow: hidden;
  position: relative;
}

.hero__layout {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 32px;
  align-items: center;
  min-height: 480px;
}

/* Center text block */
.hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
  color: var(--dark);
}

.hero__headline em {
  font-style: normal;
  color: var(--green);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(28,28,28,0.7);
  max-width: 360px;
  margin: 0 auto 32px;
  font-weight: 500;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Wavy bottom edge on hero */
.hero__wave {
  display: block;
  width: 100%;
  margin-bottom: -2px;
  line-height: 0;
  margin-top: 48px;
}

/* ============================================================
   Hero Photo Collage
   ============================================================ */
.hero__photos {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
}

.hero__photos--right {
  align-items: center;
}

/* Frameless floating photo */
.hero__photo {
  width: 260px;
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: default;
  position: relative;
}

.hero__photo:hover {
  transform: scale(1.06) rotate(0deg) !important;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.18));
  z-index: 2;
}

.hero__photo--1 { transform: rotate(-5deg); }
.hero__photo--2 { transform: rotate(3deg); }
.hero__photo--3 { transform: rotate(4deg); width: 286px; }
.hero__photo--4 { transform: rotate(-3deg); width: 338px; }

.hero__photo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  background: transparent;
  border: none;
}

/* Placeholder-only styling — remove once real images are added */
.hero__photo .img-placeholder {
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.45);
  border: 2px dashed rgba(0,0,0,0.15);
  height: 170px;
}

.hero__photo-caption {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(28,28,28,0.45);
  margin-top: 6px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

/* ============================================================
   Milo Intro — "Who is Milo?" section
   ============================================================ */
.milo-intro {
  padding: 80px 0;
  background: var(--bg);
}

.milo-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.milo-intro__img {
  width: 100%;
  height: 400px;
  border-radius: 32px;
}

.milo-intro__eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 18px;
}

.milo-intro__text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.milo-intro__text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.milo-intro__text p:last-child {
  margin-bottom: 0;
}

.milo-stat-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.milo-stat {
  background: var(--yellow-light);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  flex: 1;
  min-width: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milo-stat__num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.milo-stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   Email Signup Strip
   ============================================================ */
.email-strip {
  background: var(--green);
  padding: 56px 0;
}

.email-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.email-strip__text h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 6px;
}

.email-strip__text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
}

.email-strip__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.email-strip__input {
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 260px;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.email-strip__input::placeholder {
  color: rgba(255,255,255,0.6);
}

.email-strip__input:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   Feature Strip
   ============================================================ */
.features {
  background: var(--dark);
  padding: 64px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 36px 28px;
  color: #fff;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
}

.feature-card__icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  color: var(--yellow);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   Product Teaser / Card
   ============================================================ */
.product-teaser {
  text-align: center;
}

.product-teaser__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.product-teaser h2 {
  margin-bottom: 40px;
}

.product-card {
  max-width: 340px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.product-card__img {
  width: 100%;
  height: 280px;
}

.product-card__body {
  padding: 24px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.product-card__tagline {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-card__price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}

.product-card__btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  background: linear-gradient(180deg, var(--bg) 0%, var(--yellow-light) 100%);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-card__stars {
  color: var(--yellow);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card__quote {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-card__author {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-family: var(--font-logo);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s;
  color: #fff;
  overflow: hidden;
}

.footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__social-link:hover {
  background: var(--yellow);
  color: var(--dark);
}

.footer__col-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--dark); }

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--dark);
  font-weight: 500;
}

/* ============================================================
   Product Page
   ============================================================ */
.product-detail {
  padding: 40px 0 80px;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.product-gallery__main {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-card);
  margin-bottom: 16px;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-gallery__thumb {
  height: 110px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.active {
  border-color: var(--green);
}

/* Product Info */
.product-info__name {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.product-info__tagline {
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 20px;
}

.product-info__price {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  margin-bottom: 24px;
}

.product-info__desc {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-info__features {
  margin-bottom: 28px;
}

.product-info__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
  color: var(--gray);
}

.product-info__features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Shopify Buy Button wrapper */
.shopify-buy-wrapper {
  margin-bottom: 28px;
}

/* Force the Shopify iframe/button to fill the full width */
.shopify-buy-wrapper #product-component-1774927129612,
.shopify-buy-wrapper iframe,
.shopify-buy-wrapper .shopify-buy__product,
.shopify-buy-wrapper .shopify-buy__btn-wrapper,
.shopify-buy-wrapper .shopify-buy__btn {
  width: 100% !important;
  max-width: 100% !important;
}

.shopify-buy-wrapper p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 12px;
  text-align: center;
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--gray-light);
}

.accordion__item {
  border-bottom: 1px solid var(--gray-light);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
}

.accordion__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s ease, background 0.2s;
  flex-shrink: 0;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.accordion__body {
  display: none;
  padding-bottom: 18px;
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.accordion__body.is-open {
  display: block;
}

/* ============================================================
   About Page
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.about-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 500px;
  margin: 16px auto 0;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story__img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.story__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.story__text h2 {
  margin-bottom: 20px;
}

.story__text p {
  color: var(--gray);
  line-height: 1.9;
}

.mission {
  background: var(--yellow);
  padding: 64px 0;
  text-align: center;
}

.mission blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.mission cite {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.value-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   FAQ Page
   ============================================================ */
.faq-hero {
  background: var(--yellow);
  padding: 64px 0;
  text-align: center;
}

.faq-hero p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 480px;
  margin: 12px auto 0;
}

.faq__categories {
  max-width: 760px;
  margin: 0 auto;
}

.faq__category-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 4px;
  margin-top: 48px;
}

.faq__category-title:first-child {
  margin-top: 0;
}

.contact-cta {
  background: var(--dark);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}

.contact-cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.contact-cta p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}

/* ============================================================
   Section Titles (generic)
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* ============================================================
   Mobile Photo Marquee (hidden on desktop)
   ============================================================ */
.hero__marquee {
  display: none;
  overflow: hidden;
  width: 100%;
  transform: translateZ(0); /* promote to GPU layer */
}

.hero__marquee-track {
  display: flex;
  will-change: transform;
  backface-visibility: hidden;
  /* 4 photos × (40vw + 12px gap) = exactly one full cycle */
  animation: hero-marquee 11s linear infinite;
}

.hero__marquee-img {
  width: 40vw;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  margin-right: 12px;
  backface-visibility: hidden;
}

@keyframes hero-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-4 * (40vw + 12px)), 0, 0); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero__layout {
    grid-template-columns: 180px 1fr 180px;
    gap: 20px;
  }

  .hero__photo {
    width: 160px;
  }

  .hero__photo .img-placeholder {
    height: 140px;
  }
}

@media (max-width: 900px) {
  .features__grid,
  .testimonials__grid,
  .values__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__photos {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__photo {
    width: 150px;
  }

  .hero__photo .img-placeholder {
    height: 120px;
  }

  /* Stack: text first, then photos below */
  .hero__photos--left { order: 2; }
  .hero__inner        { order: 1; }
  .hero__photos--right { order: 3; }

  .milo-intro__grid,
  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story__img {
    max-height: 300px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .email-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .email-strip__form {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .section { padding: 48px 0; }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 32px 0 0;
  }

  /* Hide side photo clusters — replaced by marquee on mobile */
  .hero__photos--left,
  .hero__photos--right {
    display: none;
  }

  /* Show the marquee strip */
  .hero__marquee {
    display: block;
    margin-top: 28px;
    padding-bottom: 12px;
  }

  /* Reset individual photo size overrides on mobile */
  .hero__photo,
  .hero__photo--1,
  .hero__photo--2,
  .hero__photo--3,
  .hero__photo--4 {
    width: 130px !important;
  }

  .hero__photos {
    gap: 8px;
  }

  .hero__headline {
    font-size: 2rem;
  }

  .hero__sub {
    font-size: 0.95rem;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .milo-intro__img {
    height: 280px;
  }

  .features__grid,
  .testimonials__grid,
  .values__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .product-gallery__main {
    height: 280px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail__grid {
    gap: 28px;
  }

  .milo-stat-row {
    gap: 10px;
  }

  .milo-stat__num {
    font-size: 1.2rem;
  }

  .email-strip__input {
    min-width: unset;
    width: 100%;
  }

  .email-strip__form {
    width: 100%;
    flex-direction: column;
  }

  .email-strip__form .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-cta .btn {
    width: 100%;
    justify-content: center;
  }

  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}

/* Extra small screens */
@media (max-width: 400px) {
  .hero__photo,
  .hero__photo--1,
  .hero__photo--2,
  .hero__photo--3,
  .hero__photo--4 {
    width: 110px !important;
  }

  .container {
    padding: 0 16px;
  }
}

/* ============================================================
   Normal font overrides — descriptions, reviews, nav, footer
   ============================================================ */
p,
.hero__sub,
.nav__links a,
.nav__mobile a,
.feature-card p,
.product-card__tagline,
.milo-intro__text p,
.milo-stat__label,
.testimonial-card__quote,
.testimonial-card__author,
.product-info__desc,
.product-info__features li,
.accordion__body,
.accordion__trigger,
.footer__tagline,
.footer__col-title,
.footer__links a,
.footer__bottom,
.email-strip__text p,
.email-strip__input,
.shopify-buy-wrapper p,
.breadcrumb,
.story__text p,
.faq-hero p,
.contact-cta p,
.about-hero p {
  font-family: 'Nunito', system-ui, sans-serif;
}
