/* ==========================================================================
   NATURAL BUDS — "MEET NATURAL BUDS" META LOCAL AWARENESS LANDING PAGE
   Standalone. Typography + palette mirror natural-buds.com
   (Plus Jakarta Sans 700/800 headings, #2d6a4f green, #d8f3dc mint).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --green: #2d6a4f;
  --green-2: #388d55;
  --forest: #0f1f0d;
  --mint: #d8f3dc;
  --mint-2: #eef9f0;
  --clay: #b17d5f;
  --ink: #1a1a1a;

  --white: #ffffff;
  --muted: #4d5a50;
  --muted-light: rgba(255, 255, 255, 0.82);
  --line: rgba(15, 31, 13, 0.12);

  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: 24px;
  --pad-y: clamp(64px, 8vw, 112px);

  --r-card: 20px;
  --r-pill: 999px;

  --t-fast: 0.2s ease;
  --t-base: 0.35s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* --------------------------------------------------------------------------
   3. TYPE + BUTTONS + TAGS
   -------------------------------------------------------------------------- */
.h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 14px 0 18px;
}
.h2--center { text-align: center; }
.p { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 62ch; }
.p--center { text-align: center; margin-inline: auto; }

.tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tag--dark { background: var(--green); color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--solid { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--solid:hover { background: var(--green-2); border-color: var(--green-2); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost-dark:hover { background: var(--green); color: var(--white); }
.sec--connect .btn--ghost { color: var(--green); border-color: var(--green); }
.sec--connect .btn--ghost:hover { background: var(--green); color: var(--white); }

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

/* --------------------------------------------------------------------------
   4. BRAND BAR
   -------------------------------------------------------------------------- */
.brandbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brandbar__home { display: block; margin-right: auto; }
.brandbar__logo { width: 150px; height: auto; }
.brandbar__meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.brandbar__cta { padding: 10px 20px; font-size: 14px; }

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 clamp(48px, 7vw, 88px);
  color: var(--white);
  background: var(--forest);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 31, 13, 0.1) 0%, rgba(15, 31, 13, 0.35) 40%, rgba(15, 31, 13, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 31, 13, 0.5) 0%, rgba(15, 31, 13, 0) 65%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  align-self: stretch; /* fill the hero height so the card can center in it */
}
.hero__lead {
  align-self: center;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-card);
  background: rgba(15, 31, 13, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.hero__lead-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__lead-copy { margin-top: 10px; font-size: 15px; color: var(--muted-light); }
.hero .tag { background: rgba(216, 243, 220, 0.95); }
.hero__title {
  margin: 18px 0 10px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero__sub {
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 14px;
}
.hero__copy { max-width: 52ch; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted-light); }

.facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 28px; }
.facts li {
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 600;
  line-height: 1.45;
}
.facts span {
  display: block; margin-bottom: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   6. MARQUEE
   -------------------------------------------------------------------------- */
.marquee { background: var(--green); color: var(--white); overflow: hidden; padding: 16px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee__set { display: inline-flex; align-items: center; }
.marquee b { font-size: 15px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 0 22px; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
@keyframes marquee { to { transform: translateX(-25%); } }

/* --------------------------------------------------------------------------
   7. SECTIONS
   -------------------------------------------------------------------------- */
.sec { padding: var(--pad-y) 0; }
.sechead { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }

/* Why */
.sec--why { background: var(--mint-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.why:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 31, 13, 0.1); }
.why__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; background: var(--mint); color: var(--green);
}
.why__title { font-size: 20px; font-weight: 800; color: var(--forest); margin-bottom: 8px; }
.why__text { font-size: 15px; color: var(--muted); }

/* icons (inline SVG masks, so no extra requests) */
.ico { display: block; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--pin { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>"); }
.ico--smile { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-3.5 7.5a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6zm7 0a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6zM12 18c-2.4 0-4.4-1.5-5.2-3.6h10.4C16.4 16.5 14.4 18 12 18z'/></svg>"); }
.ico--chat { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/></svg>"); }
.ico--clock { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 5v5.4l4 2.3-.9 1.6-5.1-3V7h2z'/></svg>"); }

/* Inside */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: stretch; }
.shot { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--mint); }
.shot img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.shot figcaption {
  position: absolute; left: 16px; bottom: 16px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94); color: var(--forest);
  font-size: 13px; font-weight: 700;
}

/* Find us */
.sec--find { background: var(--mint-2); }
.find { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.details { margin: 8px 0 28px; display: grid; gap: 16px; }
.details div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.details dt { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.details dd { font-size: 17px; font-weight: 600; color: var(--forest); }
.details dd a { text-decoration: underline; text-underline-offset: 3px; }
.find__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.find__map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(15, 31, 13, 0.1); }
.find__map iframe { width: 100%; height: 480px; border: 0; }

/* Connect */
.connect__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.foot { background: var(--forest); color: var(--muted-light); padding: 56px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.foot__logo { width: 150px; margin-bottom: 18px; background: var(--white); padding: 10px 14px; border-radius: 12px; }
.foot__addr, .foot__fine, .foot__list { font-size: 15px; line-height: 1.7; }
.foot__h { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------------------
   9. MOBILE STICKY CTA
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t-base);
}
.mobile-cta-bar.is-on { transform: none; }
.mobile-cta-bar .btn { width: 100%; padding: 15px; font-size: 16px; }

/* --------------------------------------------------------------------------
   10. REVEAL
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: 0.08s; }
.js .reveal[data-d="2"] { transition-delay: 0.16s; }
.js .reveal[data-d="3"] { transition-delay: 0.24s; }
.js .reveal[data-d="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; align-self: auto; }
  .hero__lead { max-width: 520px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .find { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gut: 18px; }
  .brandbar__meta { display: none; }
  .brandbar__logo { width: 124px; }
  .brandbar__cta { padding: 9px 16px; font-size: 13px; }
  .hero { min-height: 0; padding-top: 104px; }
  .hero__ctas .btn, .find__ctas .btn { width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .facts li { flex: 1 1 100%; }
  .find__map iframe { height: 320px; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   12. EMAIL SIGNUP
   -------------------------------------------------------------------------- */
.signup { max-width: 520px; margin: 28px auto 0; }
.signup__row { display: flex; gap: 10px; }
.signup__input {
  flex: 1; min-width: 0;
  padding: 14px 20px;
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink);
}
.signup__input:focus { outline: none; border-color: var(--green); }
.signup__msg { min-height: 24px; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; color: #b3261e; }
.signup__msg.is-ok { color: var(--green); }
.signup__consent { margin-top: 4px; text-align: center; font-size: 12px; color: var(--muted); }
.signup.is-done .signup__row, .signup.is-done .signup__consent { display: none; }
.signup.is-done .signup__msg { font-size: 17px; padding: 14px 0; }
.connect__links { margin-top: 22px; }
.signup__countdown { margin-top: 2px; text-align: center; font-size: 14px; color: var(--muted); }
.signup__countdown a { margin-left: 6px; font-weight: 700; color: var(--green); text-decoration: underline; }
.signup__resend { margin-top: 8px; text-align: center; font-size: 14px; color: var(--muted); }
.signup__resend a { font-weight: 700; color: var(--green); text-decoration: underline; }
.signup--hero .signup__countdown, .signup--hero .signup__resend { text-align: left; color: var(--muted-light); }
.signup--hero .signup__countdown a, .signup--hero .signup__resend a { color: var(--mint); }

/* hero variant: stacked inside the right-column card, light text on dark glass */
.signup--hero { margin: 22px 0 0; max-width: none; }
.signup--hero .signup__row { flex-direction: column; }
.signup--hero .signup__row .btn { width: 100%; }
.signup--hero .signup__input { border-color: transparent; }
.signup--hero .signup__msg, .signup--hero .signup__consent { text-align: left; }
.signup--hero .signup__msg { color: #ffb4ab; }
.signup--hero .signup__msg.is-ok { color: var(--mint); }
.signup--hero .signup__consent { color: rgba(255, 255, 255, 0.65); }
.hero__lead:has(.signup.is-done) .hero__lead-copy { display: none; }

@media (max-width: 640px) {
  .signup__row { flex-direction: column; }
  .signup__row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   13. MOBILE: CENTER-ALIGNED CONTENT
   (last in the file so it overrides the left-aligned hero/signup rules)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero__main, .hero__lead { text-align: center; }
  .hero__copy { margin-inline: auto; }
  .facts, .hero__ctas { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .signup--hero .signup__msg, .signup--hero .signup__consent,
  .signup--hero .signup__countdown, .signup--hero .signup__resend { text-align: center; }

  .why { text-align: center; }
  .why__icon { margin-inline: auto; }

  .find__info { text-align: center; }
  .find__info .p { margin-inline: auto; }
  .find__ctas { justify-content: center; }

  .foot__grid { grid-template-columns: 1fr; text-align: center; }
  .foot__logo { margin-inline: auto; }
  .foot__legal { justify-content: center; text-align: center; }
}
