/* ==========================================================================
   Organic Source — Site styles
   Mobile-first. Palette shared with the coming-soon page (brand logo:
   green #009345 + black on white).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --os-green: #009345;
  --os-green-strong: #007a39;
  --os-green-deep: #0b3d22;
  --os-green-soft: #4cb848;
  --os-tint: #e8f5ec;
  --os-tint-2: #f3faf5;
  --os-bg: #fbfdf9;
  --os-ink: #111511;
  --os-text: #1d2a22;
  --os-muted: #56665c;
  --os-line: rgba(0, 147, 69, .18);
  --os-card: rgba(255, 255, 255, .82);
  --os-shadow: 0 10px 30px -18px rgba(11, 61, 34, .35);
  --os-shadow-lg: 0 30px 60px -30px rgba(11, 61, 34, .4);
  --os-radius: 18px;
  --os-radius-sm: 12px;
  --os-ease: cubic-bezier(.22, 1, .36, 1);
  --os-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --os-font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --header-h: 64px;
  --container: 1200px;
  --gutter: 20px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--os-bg);
  color: var(--os-text);
  font-family: var(--os-font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

main { flex: 1; }
main:focus { outline: none; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--os-ink); line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--os-green);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--os-green-strong);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .25s var(--os-ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 4. Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--os-line);
  border-radius: 999px;
  background: var(--os-tint);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--os-green-strong);
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--os-green);
  animation: os-pulse 2.2s ease-out infinite;
}
@keyframes os-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 147, 69, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 147, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 147, 69, 0); }
}

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--os-ease), box-shadow .35s var(--os-ease), background-color .35s var(--os-ease), border-color .35s var(--os-ease), color .35s var(--os-ease);
}
.btn svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform .35s var(--os-ease);
}
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--os-green-strong);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 122, 57, .9);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--os-ease);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-3px);
  background: var(--os-green-deep);
  box-shadow: 0 16px 30px -12px rgba(11, 61, 34, .8);
}
.btn--primary:hover::after,
.btn--primary:focus-visible::after { transform: translateX(120%); }
.btn--primary:hover svg,
.btn--primary:focus-visible svg { transform: translateX(4px); }

.btn--ghost {
  border-color: var(--os-line);
  background: #fff;
  color: var(--os-ink);
}
.btn--ghost svg { color: var(--os-green-strong); }
.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-3px);
  border-color: var(--os-green);
  color: var(--os-green-strong);
  box-shadow: var(--os-shadow);
}

/* ---------- 6. Language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px;
  border: 1px solid var(--os-line);
  border-radius: 999px;
  background: #fff;
}
.lang-switch__link {
  min-width: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  color: var(--os-muted);
  transition: background-color .3s var(--os-ease), color .3s var(--os-ease);
}
.lang-switch__link:hover { color: var(--os-green-strong); }
.lang-switch__link[aria-current="true"] {
  background: var(--os-green-strong);
  color: #fff;
}

/* ---------- 7. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--os-ease), box-shadow .3s var(--os-ease);
}
/* Blur lives on a pseudo-element so the fixed mobile panel is not trapped by backdrop-filter. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-stuck {
  border-color: var(--os-line);
  box-shadow: 0 10px 30px -24px rgba(11, 61, 34, .55);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.site-header__logo {
  flex-shrink: 0;
  margin-inline: 8px;
  border-radius: 8px;
  transition: transform .4s var(--os-ease);
}
.site-header__logo:hover { transform: scale(1.03); }
.site-header__logo-img { width: 96px; }

.nav-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-sm);
  background: #fff;
  color: var(--os-ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--os-ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after { transform: rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gutter) 40px;
  background: var(--os-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s var(--os-ease), transform .3s var(--os-ease), visibility 0s linear .3s;
}
.site-header.is-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--os-line);
  font-family: var(--os-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--os-ink);
  transition: color .3s var(--os-ease), padding .3s var(--os-ease);
}
.site-nav__link:hover { color: var(--os-green-strong); padding-left: 8px; }
.site-nav__link[aria-current="true"] { color: var(--os-green-strong); }
.site-nav__link[aria-current="true"]::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--os-green);
}

.no-js .nav-toggle { display: none; }
.no-js .site-nav {
  position: static;
  visibility: visible;
  opacity: 1;
  transform: none;
}
.no-js .site-header__bar { flex-wrap: wrap; height: auto; padding-block: 12px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0 64px;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(0, 147, 69, .1) 0%, transparent 60%),
    radial-gradient(70% 60% at 100% 90%, rgba(76, 184, 72, .14) 0%, transparent 60%);
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__title {
  margin: 18px 0 20px;
  font-family: var(--os-font-display);
  font-size: clamp(2.2rem, 9vw, 4.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--os-green-strong), var(--os-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 58ch;
  font-size: 1.02rem;
  color: var(--os-muted);
}

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--os-font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--os-green-strong);
}
/* Echoes the line-and-cross mark in the logo. */
.hero__tagline::before {
  content: "";
  flex-shrink: 0;
  width: 36px; height: 14px;
  background:
    linear-gradient(var(--os-green), var(--os-green)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--os-green), var(--os-green)) 78% 0 / 2px 100% no-repeat;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__actions .btn { flex: 1 1 100%; }

.hero__points {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--os-line);
}
.hero__point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--os-ink);
}
.hero__point-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--os-tint);
  color: var(--os-green-strong);
}
.hero__point-icon svg { width: 14px; height: 14px; }

/* Visual composition */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.hero__orb {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #f1faf3 38%, #d8efdf 72%, #c3e6cd 100%);
  box-shadow: var(--os-shadow-lg), inset 0 -24px 60px rgba(0, 147, 69, .12);
}

.hero__ring {
  position: absolute;
  inset: 3%;
  border: 1px dashed rgba(0, 147, 69, .3);
  border-radius: 50%;
  animation: os-spin 70s linear infinite;
}
.hero__ring::before {
  content: "";
  position: absolute;
  top: 50%; left: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--os-green);
  box-shadow: 0 0 0 5px rgba(0, 147, 69, .15);
}

/* Product shots have a white background; multiply lets the orb show through it. */
.hero__product {
  position: absolute;
  top: 16%; left: 18%;
  width: 64%;
  aspect-ratio: 1;
  mix-blend-mode: multiply;
  animation: os-float 8s ease-in-out infinite alternate;
}
.hero__product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .6s var(--os-ease), scale .8s var(--os-ease);
}
.js .hero__product-img:not(.is-loaded) {
  opacity: 0;
  scale: .96;
}

.hero__capsule {
  position: absolute;
  width: 18%;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(11, 61, 34, .18));
  animation: os-float 7s ease-in-out infinite alternate;
}
.hero__capsule--1 { top: 22%; right: 6%; rotate: -28deg; }
.hero__capsule--2 { bottom: 28%; left: 5%; width: 15%; rotate: 20deg; animation-delay: -2.5s; }
.hero__capsule--3 { bottom: 12%; right: 20%; width: 11%; rotate: 64deg; animation-delay: -5s; }

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--os-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--os-shadow);
  font-size: .72rem;
  line-height: 1.3;
  color: var(--os-muted);
  animation: os-float 9s ease-in-out infinite alternate;
}
.hero__card strong {
  display: block;
  font-size: .82rem;
  color: var(--os-ink);
}
.hero__card--purpose { top: 2%; left: 0; animation-delay: -3s; }
.hero__card--made { bottom: 2%; left: 6%; animation-delay: -6s; }

.hero__card-icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--os-tint);
  color: var(--os-green-strong);
}
.hero__card-icon svg { width: 16px; height: 16px; }

.hero__flag {
  width: 6px; height: 30px;
  border-radius: 3px;
  background: linear-gradient(#000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.hero--compact { padding: 64px 0 96px; }

@keyframes os-float { to { translate: 0 -12px; } }
@keyframes os-spin { to { rotate: 360deg; } }

/* ---------- 9. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--os-line);
  background: linear-gradient(180deg, var(--os-tint-2) 0%, var(--os-tint) 100%);
  font-size: .92rem;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  padding-block: 56px 40px;
}

.site-footer__logo { display: inline-block; border-radius: 8px; }
.site-footer__logo-img { width: 150px; }

.site-footer__tagline {
  margin-top: 18px;
  font-family: var(--os-font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--os-green-strong);
}
.site-footer__about {
  max-width: 42ch;
  margin-top: 10px;
  color: var(--os-muted);
}

.site-footer__title {
  margin-bottom: 16px;
  font-family: var(--os-font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--os-green-strong);
}

.site-footer__links { display: grid; gap: 10px; }
.site-footer__link {
  text-decoration: none;
  color: var(--os-text);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s var(--os-ease), background-size .3s var(--os-ease);
}
.site-footer__link:hover {
  color: var(--os-green-strong);
  background-size: 100% 1px;
}

.site-footer__address { line-height: 1.75; }
.site-footer__address strong { color: var(--os-ink); letter-spacing: .04em; }
.site-footer__muted { color: var(--os-muted); }
.site-footer__web { margin-top: 10px; }

.made-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--os-line);
  border-radius: 999px;
  background: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--os-ink);
}
.made-badge__flag {
  width: 18px; height: 12px;
  border-radius: 2px;
  background: linear-gradient(#000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--os-line);
  font-size: .82rem;
  color: var(--os-muted);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- 10. Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--os-ease), transform .8s var(--os-ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 480px) {
  .eyebrow { font-size: .7rem; letter-spacing: .14em; }
  .hero__actions .btn { flex: 0 1 auto; }
  .hero__card { font-size: .76rem; }
  .hero__card strong { font-size: .88rem; }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero { padding: 48px 0 80px; }
  .hero__lead { font-size: 1.08rem; }
  .hero__points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 104px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero__visual { max-width: 500px; }
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 56px; padding-block: 72px 48px; }
  .site-footer__brand { grid-column: auto; }
}

@media (min-width: 1100px) {
  :root { --header-h: 78px; }
  .site-header__logo { margin-inline: 12px; }
  .site-header__logo-img { width: 124px; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav__list { display: flex; gap: 2px; }
  .site-nav__link {
    position: relative;
    padding: 8px 12px;
    border: 0;
    font-family: var(--os-font);
    font-size: .9rem;
    font-weight: 600;
    color: var(--os-text);
  }
  .site-nav__link:hover { padding-left: 12px; }
  .site-nav__link::before {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--os-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--os-ease);
  }
  .site-nav__link:hover::before,
  .site-nav__link[aria-current="true"]::before { transform: scaleX(1); }
  .site-nav__link[aria-current="true"]::after { display: none; }
}

@media (min-width: 1280px) {
  .site-nav__list { gap: 6px; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
