@font-face { font-family: 'HugeSmile'; src: url('assets/fonts/HugeSmile.otf') format('opentype'); }

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

:root {
  --dark: oklch(0.11 0.012 75);
  --darker: oklch(0.075 0.01 75);
  --cream: oklch(0.96 0.018 85);
  --orange: oklch(0.68 0.18 50);
  --green: oklch(0.36 0.09 145);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--cream); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1360px; margin: 0 auto; }

/* ---- reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

/* ---- nav ---- */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 26px 52px; display: flex; align-items: center; justify-content: space-between;
  transition: background 0.5s, padding 0.35s;
  background: transparent;
}
#site-nav.scrolled { background: oklch(0.11 0.012 75 / 0.97); }
#site-nav .logo { font-family: 'HugeSmile'; font-size: 20px; letter-spacing: 0.03em; color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); opacity: 0.5; transition: opacity 0.2s; }
.nav-link:hover { opacity: 1; }
.nav-cta {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--cream); color: var(--dark); padding: 12px 28px; font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange); opacity: 1; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 210; }
.nav-hamburger span { width: 22px; height: 1.5px; background: var(--cream); display: block; transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 190; background: var(--dark);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: 'HugeSmile'; font-size: clamp(36px, 8vw, 64px); color: var(--cream); opacity: 0.85; transition: opacity 0.2s; }
.nav-mobile a:hover { opacity: 1; }
.nav-mobile .mob-cta { color: var(--orange) !important; }

/* ---- hero ---- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-img {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero-fruit.jpg');
  background-size: cover; background-position: center 25%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, oklch(0.11 0.012 75 / 0.05) 0%, oklch(0.11 0.012 75 / 0.55) 55%, oklch(0.11 0.012 75 / 0.95) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 52px 68px; width: 100%; }
.hero-line1, .hero-line2 {
  font-size: clamp(72px, 13.5vw, 200px); line-height: 0.87; color: var(--cream);
  text-transform: uppercase; letter-spacing: -0.01em; display: block;
}
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-line1 { animation: heroFade 0.4s ease 0.2s both; }
.hero-line2 { animation: heroFade 0.4s ease 0.4s both; }
.hero-sub { display: flex; align-items: center; gap: 52px; margin-top: 30px; flex-wrap: wrap; }
.hero-copy { font-size: 15px; line-height: 1.7; color: var(--cream); opacity: 0.7; max-width: 360px; font-weight: 300; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; right: 52px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.35;
}
.hero-scroll-hint span { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 52px; background: var(--cream); }

.btn-hover {
  display: inline-block; background: var(--cream); color: var(--dark);
  padding: 15px 40px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; white-space: nowrap; transition: background 0.2s;
}
.btn-hover:hover { background: var(--orange); opacity: 1; }

/* ---- flag banner ---- */
@keyframes flagIn { from { transform: translateX(110%); } to { transform: translateX(0); } }
.flag-wrap { position: fixed; right: 0; top: 260px; z-index: 150; animation: flagIn 1s cubic-bezier(0.16,1,0.3,1) 1.6s both; }
.flag-wrap a {
  display: block; background: var(--orange); padding: 13px 20px 13px 28px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  filter: drop-shadow(-4px 0 20px oklch(0 0 0 / 0.35));
  transition: filter 0.2s, transform 0.2s;
}
.flag-wrap a:hover { filter: drop-shadow(-4px 0 28px oklch(0 0 0 / 0.5)); transform: translateX(-3px); opacity: 1; }
.flag-wrap p { font-family: 'HugeSmile'; font-size: 15px; letter-spacing: 0.06em; color: var(--dark); text-transform: uppercase; white-space: nowrap; line-height: 1; }
.flag-wrap small { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark); opacity: 0.6; margin-top: 5px; font-family: 'DM Sans', sans-serif; font-weight: 500; }

/* ---- editorial statement ---- */
.statement { position: relative; background: var(--cream); color: var(--dark); padding: 100px 52px 80px; overflow: hidden; }
.statement-inner { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; }
.statement-heading { font-family: 'HugeSmile'; font-size: clamp(36px, 5.5vw, 80px); line-height: 1.0; letter-spacing: -0.01em; text-align: center; text-wrap: pretty; }
.good-word {
  background-image: url('assets/images/good-stuff.jpg'); background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 4px; font-size: 1.6em; line-height: 1;
}
.stuff-word { font-size: 1.6em; line-height: 1; }
.statement-divider-wrap { display: flex; flex-direction: column; align-items: center; margin-top: 40px; }
.squiggle { opacity: 0.3; margin-bottom: 32px; color: var(--dark); }
.statement-body { font-size: 15px; line-height: 1.75; opacity: 0.55; font-weight: 300; max-width: 480px; text-align: center; }

/* ---- boxes ---- */
.boxes-section { background: var(--dark); padding: 96px 52px 112px; }
.boxes-heading-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 52px; gap: 20px; }
.boxes-heading { font-family: 'HugeSmile'; font-size: clamp(40px, 5.2vw, 76px); line-height: 0.9; }
.boxes-note { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.3; flex-shrink: 0; }
.boxes-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: auto auto; gap: 16px; }

.liftcard { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s; cursor: pointer; }
.liftcard:hover { transform: translateY(-6px); box-shadow: 0 32px 64px oklch(0 0 0 / 0.35); }

.box-card { background: oklch(0.16 0.012 75); overflow: hidden; }
.box-feat { grid-row: 1 / 3; background: var(--green); display: flex; flex-direction: column; }
.box-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.box-img-full { flex: 1; min-height: 420px; background-image: url('assets/images/full-box.jpg'); }
.box-img-fruit { background-image: url('assets/images/fruit-box.jpg'); background-position: center; }
.box-img-veg { background-image: url('assets/images/veg-box.jpg'); }
.box-badge {
  position: absolute; top: 20px; left: 20px; background: var(--orange); color: var(--dark);
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 14px;
}
.box-body { padding: 28px 32px 32px; }
.box-feat .box-body { padding: 36px 40px 40px; }
.box-eyebrow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.35; margin-bottom: 8px; }
.box-feat .box-eyebrow { opacity: 0.5; margin-bottom: 10px; }
.box-title { font-family: 'HugeSmile'; font-size: 36px; line-height: 0.92; margin-bottom: 10px; }
.box-title-lg { font-size: 46px; margin-bottom: 14px; }
.box-desc { font-size: 14px; line-height: 1.75; opacity: 0.65; font-weight: 300; margin-bottom: 32px; max-width: 340px; }
.box-desc-sm { font-size: 13px; line-height: 1.7; opacity: 0.5; margin-bottom: 24px; }
.box-footer { display: flex; align-items: center; justify-content: space-between; }
.box-price { font-family: 'HugeSmile'; font-size: 28px; color: var(--orange); }
.box-price-lg { font-size: 34px; color: var(--cream); }
.select-link {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid oklch(0.96 0.018 85 / 0.35); padding-bottom: 3px; opacity: 0.6; transition: opacity 0.2s;
}
.select-link-lg { border-bottom: 1px solid oklch(0.96 0.018 85 / 0.45); opacity: 0.7; }
.select-link:hover { opacity: 1; }

/* ---- how it works ---- */
.how-section { background: var(--cream); color: var(--dark); padding: 96px 52px; }
.section-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.4; margin-bottom: 48px; font-weight: 500; }
.section-label-dark { opacity: 0.35; margin-bottom: 24px; }
.step-row { position: relative; display: grid; grid-template-columns: 160px 1fr 1fr; align-items: center; padding: 36px 0; gap: 40px; transition: background 0.3s; }
.step-row:hover { background: oklch(0.11 0.012 75 / 0.04); }
.step-line { position: absolute; width: 100%; height: 10px; color: oklch(0.11 0.012 75 / 0.2); }
.step-line-top { top: 0; left: 0; }
.step-line-bottom { bottom: 0; left: 0; }
.step-num { font-family: 'HugeSmile'; font-size: 72px; color: var(--orange); line-height: 1; }
.step-title { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.step-desc { font-size: 14px; line-height: 1.75; opacity: 0.5; font-weight: 300; max-width: 360px; }

/* ---- about ---- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; overflow: hidden; }
.about-img { background-image: url('assets/images/about.jpg'); background-size: cover; background-position: center; }
.about-text { background: var(--darker); padding: 80px 72px; display: flex; flex-direction: column; justify-content: center; }
.about-heading { font-family: 'HugeSmile'; font-size: clamp(40px, 4vw, 64px); line-height: 0.92; margin-bottom: 36px; }
.love-word {
  background-image: url('assets/images/about.jpg'); background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.6em; line-height: 1;
}
.about-copy { font-size: 15px; line-height: 1.85; opacity: 0.6; font-weight: 300; max-width: 420px; margin-bottom: 20px; }

/* ---- testimonial ---- */
.testimonial-section { background: var(--cream); color: var(--dark); padding: 112px 52px; }
.testimonial-inner { max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 16px; }
.quote { font-family: 'HugeSmile'; font-size: clamp(24px, 3vw, 42px); line-height: 1.2; font-weight: 400; margin-bottom: 36px; letter-spacing: -0.01em; max-width: 780px; }
.quote-mark { color: var(--orange); font-size: 1.3em; line-height: 0; vertical-align: -0.15em; }
.quote-attr { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.4; }
.squiggle-wide { display: block; margin-top: 52px; margin-bottom: 32px; color: oklch(0.11 0.012 75 / 0.2); opacity: 1; }
.stats-bar { display: flex; gap: 40px; justify-content: center; }
.stat-num { font-family: 'HugeSmile'; font-size: 40px; color: var(--orange); line-height: 1; }
.stat-label { font-size: 12px; opacity: 0.45; margin-top: 4px; }

/* ---- cta band ---- */
.cta-section { position: relative; padding: 80px 52px; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-image: url('assets/images/cta-bg.jpg'); background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: oklch(0 0 0 / 0.35); }
.cta-flex { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-heading { font-size: clamp(36px, 5vw, 72px); line-height: 0.9; color: var(--cream); max-width: 10ch; }
.cta-btn { padding: 18px 48px; }

/* ---- footer ---- */
footer { background: var(--dark); color: var(--cream); padding: 64px 52px 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-top: 40px; border-top: 1px solid oklch(0.11 0.012 75 / 0.15); }
.footer-blurb { font-size: 14px; line-height: 1.8; opacity: 0.45; font-weight: 300; max-width: 260px; }
.footer-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.3; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; opacity: 0.5; color: var(--cream); transition: opacity 0.2s; }
.footer-links a:hover { opacity: 0.85; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid oklch(0.11 0.012 75 / 0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 11px; opacity: 0.4; }

/* ---- concept badge + toast ---- */
.concept-badge {
  position: fixed; left: 20px; bottom: 20px; z-index: 160;
  background: oklch(0.96 0.018 85 / 0.92); color: var(--dark);
  font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
  padding: 9px 16px; border-radius: 100px; opacity: 0.55;
  transition: opacity 0.2s;
}
.concept-badge:hover { opacity: 1; }

.concept-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 24px); opacity: 0;
  pointer-events: none; transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1);
  background: var(--cream); color: var(--dark);
  padding: 18px 24px; border-radius: 14px; max-width: 380px;
  box-shadow: 0 20px 48px oklch(0 0 0 / 0.3);
}
.concept-toast.in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.concept-toast p { font-size: 13px; line-height: 1.6; font-weight: 400; margin-bottom: 10px; }
.concept-toast a { font-size: 12px; font-weight: 500; color: var(--orange); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---- responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .flag-wrap { display: none !important; }
  .hero-content { padding: 0 24px 48px !important; }
  .hero-scroll-hint { display: none !important; }
  .boxes-grid { grid-template-columns: 1fr !important; }
  .box-feat { grid-row: auto !important; }
  .step-row { display: flex !important; flex-direction: column !important; gap: 10px !important; padding: 24px 0 !important; }
  .about-split { grid-template-columns: 1fr !important; min-height: auto !important; }
  .about-img { min-height: 260px; }
  .about-text { padding: 40px 24px !important; }
  .cta-flex { flex-direction: column !important; align-items: flex-start !important; gap: 24px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  section, footer { padding-left: 24px !important; padding-right: 24px !important; }
  #site-nav { padding-left: 24px !important; padding-right: 24px !important; }
  .concept-badge { left: 12px; bottom: 12px; font-size: 10px; padding: 8px 12px; }
  .concept-toast { left: 12px; right: 12px; max-width: none; transform: translateY(24px); }
  .concept-toast.in { transform: translateY(0); }
}
