@import url("assets/colors_and_type.css");

:root { --mv-olive-deep: #757F62; }

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

html, body {
  background: var(--mv-cream-bg);
  color: var(--mv-olive-deep);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249,244,234,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(70,82,34,0.08);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  height: 112px;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar .brand {
  display: flex; align-items: center; gap: 12px;
  color: #4F2E1B;
}
.topbar .brand img { width: 90px; height: 90px; }
.topbar .brand .wm {
  font-weight: 800; font-size: 18px; letter-spacing: 0.04em;
}
.topbar .brand .tagline {
  font-family: var(--font-script); font-size: 16px; color: var(--mv-coffee);
  margin-top: 2px;
}
.topbar .right {
  font-size: 13px; color: var(--mv-olive); display: flex; align-items: center; gap: 16px;
}
.topbar .right .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 9999px;
  background: var(--mv-sage-tint); color: var(--mv-olive-deep);
  font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
}
.topbar .right .pill .blink {
  width: 8px; height: 8px; border-radius: 9999px; background: var(--mv-terracotta);
  box-shadow: 0 0 0 0 rgba(198,88,55,0.55);
  animation: blink 2.2s infinite;
}
@keyframes blink {
  0% { box-shadow: 0 0 0 0 rgba(198,88,55,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(198,88,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,88,55,0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 48px;
  padding: 80px 0 96px;
}
.hero::before {
  content: "";
  position: absolute; inset: -48px -200px 0 -175px;
  /** background: url(assets/leaf-pattern.svg) center top/520px repeat; **/
  opacity: 0.18;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero .eyebrow {
  font-family: var(--font-script);
  font-size: 28px; color: var(--mv-coffee);
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--font-sans); font-weight: 800;
  font-size: 44px; line-height: 1.05;
  color: #4F2E1B;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--mv-terracotta);
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 0.92em;
}
.hero .lede {
  margin-top: 28px;
  font-size: 18px; line-height: 28px; color: var(--mv-coffee);
  max-width: 540px;
}
.hero .lede strong { color: var(--mv-olive-deep); font-weight: 700; }
.hero .nibbles {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 28px;
}
.hero .nibbles .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 9999px;
  background: var(--mv-white);
  border: 1px solid rgba(70,82,34,0.10);
  box-shadow: var(--sh-button);
  font-size: 13px; font-weight: 700; color: var(--mv-olive-deep);
}
.hero .nibbles .chip .x {
  width: 16px; height: 16px; border-radius: 9999px;
  background: var(--mv-terracotta); color: var(--mv-cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1;
}
.hero .nibbles .chip.has-check .x {
  background: var(--mv-olive);
}

/* The hero card on right — circular emblem framed */
.hero-emblem {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin-left: auto;
}
.hero-emblem .ring {
  position: absolute; inset: 0;
  background: var(--mv-olive-deep);
  border-radius: 9999px;
  overflow: hidden;
}
.hero-emblem .ring::before {
  content: "";
  position: absolute; inset: 0;
  background: url(assets/leaf-pattern.svg) center/360px repeat;
  opacity: 0.18;
  filter: brightness(2.2);
}
.hero-emblem .photo {
  position: absolute; inset: 2%;
  border-radius: 9999px;
  background: var(--mv-cream-bg) url(assets/hero-nuts.jpeg) center/cover no-repeat;
  box-shadow: var(--sh-float);
}
.hero-emblem .badge {
  position: absolute;
  width: 144px; height: 144px;
  border-radius: 9999px;
  background: var(--mv-amber);
  color: var(--mv-cocoa);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-script);
  font-size: 18px; line-height: 1.15;
  padding: 0 16px;
  box-shadow: var(--sh-button);
  transform: rotate(-8deg);
  right: -10px; top: 16px;
}
.hero-emblem .badge strong {
  display: block; font-family: var(--font-sans); font-weight: 800; font-size: 22px;
  letter-spacing: 0.02em; line-height: 1.2;
  margin-top: 2px;
}
.hero-emblem .seal {
  position: absolute;
  bottom: -16px; left: -8px;
  width: 120px; height: 120px;
  border-radius: 9999px;
  background: var(--mv-cream);
  color: #4F2E1B;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-script);
  font-size: 16px; line-height: 1.2;
  box-shadow: var(--sh-card);
  border: 4px solid var(--mv-terracotta);
}

/* ---------- Section base ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section.alt {
  background: var(--mv-paper);
}
.section.dark {
  background: var(--mv-olive-deep);
  color: var(--mv-cream);
}
.section .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mv-terracotta);
  margin-bottom: 16px;
}
.section .eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: currentColor; display: inline-block;
}
.section.dark .eyebrow { color: var(--mv-amber); }
.section h2 {
  font-family: var(--font-sans); font-weight: 800;
  font-size: 44px; line-height: 1.12;
  color:  #4F2E1B;
  text-wrap: balance;
  max-width: 800px;
}
.section.dark h2 { color: var(--mv-cream); }
.section h2 .script {
  font-family: var(--font-script); font-weight: 400;
  color: var(--mv-terracotta); font-size: 0.85em;
}
.section.dark h2 .script { color: var(--mv-amber); }
.section .body {
  margin-top: 24px;
  font-size: 17px; line-height: 28px; color: var(--mv-coffee);
  max-width: 640px;
}
.section.dark .body { color: var(--mv-cream); opacity: 0.86; }
.section .body p + p { margin-top: 16px; }
.section .body strong { color: var(--mv-olive-deep); font-weight: 700; }
.section.dark .body strong { color: var(--mv-cream); }

/* ---------- Inline opt-in form ---------- */
.optin {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 560px;
}
.optin .row {
  display: flex; gap: 8px;
  background: var(--mv-white);
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: var(--sh-card);
  border: 1px solid rgba(70,82,34,0.06);
}
.section.dark .optin .row { border-color: transparent; }
.optin .field {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 0 18px;
  color: var(--mv-olive);
}
.optin input {
  flex: 1; height: 56px;
  border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: 15px; color: var(--mv-olive-deep);
}
.optin input::placeholder { color: var(--mv-olive); opacity: 0.7; }
.optin .submit {
  height: 56px; padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--mv-terracotta); color: var(--mv-cream);
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--sh-button);
  transition: background 180ms cubic-bezier(0.2,0.7,0.2,1), transform 120ms;
  white-space: nowrap;
}
.optin .submit:hover { background: #b04a2c; }
.optin .submit:active { transform: scale(0.98); }
.optin .submit svg { transition: transform 200ms cubic-bezier(0.2,0.7,0.2,1); }
.optin .submit:hover svg { transform: translateX(4px); }
.optin .meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--mv-olive); line-height: 1.4;
  padding: 0 8px;
}
.section.dark .optin .meta { color: rgba(251,237,223,0.72); }
.optin .meta .dot {
  width: 6px; height: 6px; border-radius: 9999px; background: var(--mv-sage);
}
.optin.success .row { background: var(--mv-sage-tint); }
.optin.success .submit { background: var(--mv-olive); }

/* ---------- Section 1: Hero opt-in ---------- */
.hero .optin { margin-top: 40px; }

/* ---------- Section 2: Story ---------- */
.story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.story-side {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 24px;
}
.story-photo {
  border-radius: var(--r-md);
  aspect-ratio: 4/5;
  background: var(--mv-stone) url(assets/story-nuts.jpeg) center/cover no-repeat;
  box-shadow: var(--sh-card);
  border: 8px solid var(--mv-olive-deep);
  position: relative;
  overflow: hidden;
}
.story-photo .stamp {
  position: absolute; bottom: 16px; left: 16px;
  padding: 10px 16px; border-radius: 9999px;
  background: var(--mv-cream); color: var(--mv-olive-deep);
  font-family: var(--font-script); font-size: 18px;
  box-shadow: var(--sh-button);
}
.story-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.story-stats .stat {
  background: var(--mv-white);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--sh-button);
  border: 1px solid rgba(70,82,34,0.06);
}
.story-stats .stat .num {
  font-family: var(--font-sans); font-weight: 800; font-size: 64px;
  color: var(--mv-olive-deep); line-height: 1;
}
.story-stats .stat .lbl {
  margin-top: 6px;
  font-family: var(--font-body); font-size: 13px; color: var(--mv-coffee); line-height: 1.35;
}

.story-content h2 {
  margin-bottom: 24px;
}
.story-content .body p { font-size: 17px; line-height: 28px; }
.story-content .body em {
  font-family: var(--font-script); font-style: normal;
  color: var(--mv-terracotta); font-size: 1.15em;
}

/* Pillars (the 3 ✔ statements) */
.pillars {
  margin-top: 40px;
  display: grid;
  gap: 12px;
}
.pillar {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--mv-white);
  border: 1px solid rgba(70,82,34,0.08);
  box-shadow: var(--sh-button);
  align-items: center;
}
.pillar .check {
  width: 48px; height: 48px; border-radius: 9999px;
  background: var(--mv-sage-tint);
  color: var(--mv-olive-deep);
  display: flex; align-items: center; justify-content: center;
}
.pillar .check svg { width: 22px; height: 22px; }
.pillar .copy strong {
  display: block; font-weight: 700; font-size: 16px; color: #4F2E1B;
}
.pillar .copy span {
  display: block; margin-top: 2px;
  font-family: var(--font-body); font-size: 14px; color: var(--mv-coffee); line-height: 20px;
}

.story-conclusion {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: var(--r-md);
  background: var(--mv-sage-tint);
  border-left: 4px solid var(--mv-olive-deep);
  font-size: 17px; line-height: 28px; color: var(--mv-coffee);
}
.story-conclusion strong { color: var(--mv-olive-deep); }

/* ---------- Section 3: Tester ---------- */
.tester-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
}
.tester-head .pic {
  position: relative;
  height: 320px;
  border-radius: var(--r-md);
  background: var(--mv-paper) url(assets/tester-nuts.jpeg) center/cover no-repeat;
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.tester-head .pic .ribbon {
  position: absolute; top: 16px; left: 16px;
  padding: 8px 14px; border-radius: 9999px;
  background: var(--mv-amber); color: var(--mv-cocoa);
  font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
}

/* perks list */
.perks {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.perk {
  background: rgba(251,237,223,0.06);
  border: 1px solid rgba(251,237,223,0.18);
  border-radius: var(--r-md);
  padding: 24px;
  color: var(--mv-cream);
}
.perk .ico {
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: var(--mv-amber); color: var(--mv-cocoa);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.perk .ico svg { width: 22px; height: 22px; }
.perk h4 { font-weight: 700; font-size: 16px; line-height: 22px; margin-bottom: 6px; }
.perk p {
  font-family: var(--font-body); font-size: 13px; line-height: 19px;
  color: var(--mv-cream); opacity: 0.78;
}

/* Flavour preview */
.flavours {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.flavour {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(251,237,223,0.05);
  border: 1px dashed rgba(251,237,223,0.25);
  display: flex; align-items: center; gap: 14px;
}
.flavour .swatch {
  width: 44px; height: 44px; border-radius: 9999px;
  flex-shrink: 0;
  background: var(--mv-cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--mv-coffee);
  font-family: var(--font-script); font-size: 22px;
}
.flavour .swatch.s2 { background: var(--mv-amber); color: var(--mv-cocoa); }
.flavour .swatch.s3 { background: var(--mv-terracotta); color: var(--mv-cream); }
.flavour .lbl {
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  color: var(--mv-cream);
}
.flavour .note {
  font-family: var(--font-body); font-size: 14px;
  color: var(--mv-cream); opacity: 0.72;
  line-height: 1.4;
}

/* Dark optin overrides */
.section.dark .optin .row {
  background: var(--mv-cream-bg);
}
.section.dark .optin .submit {
  background: var(--mv-amber); color: var(--mv-cocoa);
}
.section.dark .optin .submit:hover { background: #f0b020; }

/* ---------- Final reassurance ---------- */
.reassure {
  padding: 80px 0;
  text-align: center;
  background: var(--mv-cream-bg);
}
.reassure .script {
  font-family: var(--font-script); font-size: 36px;
  color: var(--mv-coffee);
}
.reassure .lockups {
  margin-top: 32px;
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  width: 100%;
}
.reassure .lock {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--mv-olive-deep);
}
.reassure .lock svg {
  width: 20px; height: 20px; color: var(--mv-olive);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--mv-olive-deep);
  color: var(--mv-cream);
  padding: 56px 0 36px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}
.footer .brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.footer .brand img { width: 80px; height: 80px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer .brand .wm { font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.footer .tag { font-family: var(--font-script); font-size: 18px; opacity: 0.8; margin-bottom: 16px; }
.footer .addr { font-family: var(--font-body); font-size: 13px; line-height: 20px; opacity: 0.78; }
.footer h5 {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mv-amber); margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { font-size: 14px; opacity: 0.84; padding: 4px 0; }
.footer .legal {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(251,237,223,0.16);
  display: flex; justify-content: space-between;
  font-size: 12px; opacity: 0.7;
}

/* ---------- Section anchors / connectors ---------- */
.connector {
  text-align: center;
  padding: 24px 0 0;
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--mv-coffee);
  opacity: 0.7;
}
.connector .arrow {
  display: block;
  margin: 8px auto 8px;
  width: 1px; height: 48px;
  background: var(--mv-sage);
  position: relative;
}
.connector .arrow::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--mv-sage);
  border-bottom: 1.5px solid var(--mv-sage);
}

/* ---------- Tweaks panel hook ---------- */
#tweaks-root { font-family: var(--font-sans); }

/* ---------- Subpage (rolunk, aszf, stb.) ---------- */
.subpage-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 96px;
}

.subpage-content h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  color: var(--mv-olive-deep);
  margin-bottom: 32px;
}

.subpage-content h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 26px;
  color: var(--mv-olive-deep);
  margin-top: 56px;
  margin-bottom: 20px;
}

.subpage-content p {
  font-size: 17px;
  line-height: 28px;
  color: var(--mv-coffee);
  margin-top: 16px;
}

.subpage-content p:first-of-type { margin-top: 0; }

.subpage-content p.lede {
  font-size: 19px;
  line-height: 30px;
  color: var(--mv-coffee);
  margin-bottom: 16px;
}

.subpage-content ul {
  margin-top: 16px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subpage-content ul li {
  font-size: 17px;
  line-height: 28px;
  color: var(--mv-coffee);
}

.subpage-content strong { color: var(--mv-olive-deep); font-weight: 700; }

.subpage-content .story-conclusion {
  margin-top: 48px;
}

/* Responsive (basic) */
@media (max-width: 980px) {
  .page { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .hero-emblem { max-width: 380px; margin: 0 auto; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .story-side { position: static; }
  .tester-head { grid-template-columns: 1fr; gap: 24px; }
  .perks { grid-template-columns: 1fr; }
  .flavours { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section h2 { font-size: 32px; }
  .topbar-inner { padding: 0 16px; height: 72px; gap: 8px; }
  .topbar .brand img { width: 52px; height: 52px; }
  .topbar .right .pill { display: none; }
  .hero { margin-top: 0; padding: 32px 0 64px; }
  .optin .row { flex-direction: column; border-radius: var(--r-md); }
  .optin .submit { width: 100%; justify-content: center; }
  .optin .field { padding: 8px 12px; }
}
