/* Meetnilo — organic/nature visual system. Original layout, no shared classes with other portfolio sites. */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --bg: #eef6ef;
  --bg-card: #f8fcf7;
  --text: #1e2a20;
  --muted: #5f7364;
  --accent: #2f6b4f;
  --accent-dark: #1f4c38;
  --accent-soft: #d8ecdd;
  --blob-1: #cfe8d6;
  --blob-2: #a9d3b6;
  --blob-3: #e7f2e1;
  --blob-4: #bcdcc4;
  --ring: rgba(47, 107, 79, 0.18);
  --shadow: 0 18px 40px -18px rgba(31, 76, 56, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .brandmark {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0;
}

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

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ---------- decorative organic blobs (scattered per-section, unique per placement) ---------- */

.drift {
  position: absolute;
  z-index: 0;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
}

.drift--a {
  width: 420px; height: 380px;
  top: -140px; left: -160px;
  background: var(--blob-1);
  border-radius: 62% 38% 55% 45% / 48% 42% 58% 52%;
  filter: blur(6px);
}

.drift--b {
  width: 260px; height: 300px;
  top: 60px; right: -120px;
  background: var(--blob-4);
  border-radius: 40% 60% 65% 35% / 55% 40% 60% 45%;
  filter: blur(4px);
  opacity: 0.7;
}

.drift--c {
  width: 180px; height: 160px;
  bottom: -60px; left: 12%;
  background: var(--blob-2);
  border-radius: 55% 45% 40% 60% / 60% 55% 45% 40%;
  opacity: 0.5;
}

.drift--d {
  width: 340px; height: 300px;
  top: -80px; right: 6%;
  background: var(--blob-3);
  border-radius: 45% 55% 60% 40% / 40% 60% 40% 60%;
}

.drift--e {
  width: 220px; height: 220px;
  bottom: -100px; right: 8%;
  background: var(--blob-1);
  border-radius: 50% 50% 35% 65% / 55% 45% 55% 45%;
}

.drift--f {
  width: 300px; height: 260px;
  top: 20px; left: -100px;
  background: var(--blob-2);
  border-radius: 65% 35% 45% 55% / 45% 55% 40% 60%;
  opacity: 0.45;
}

/* ---------- header: "canopy" ---------- */

.canopy {
  position: relative;
  z-index: 5;
  padding: 26px 0 10px;
}

.canopy__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.canopy__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.canopy__mark span.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.canopy__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  color: var(--muted);
}

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

.canopy__cta {
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease;
  white-space: nowrap;
}

.canopy__cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

@media (max-width: 720px) {
  .canopy__links { display: none; }
}

/* ---------- hero: "meadow" ---------- */

.meadow {
  position: relative;
  padding: 70px 0 90px;
  overflow: visible;
}

.meadow__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.meadow__eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
}

.meadow__title {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.12;
  margin-bottom: 22px;
}

.meadow__title em {
  font-style: normal;
  color: var(--accent);
}

.meadow__sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.meadow__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover { background: var(--accent-dark); transform: translateY(-3px); }

.btn--ghost {
  background: #fff;
  color: var(--accent-dark);
  border: 2px solid var(--accent-soft);
}

.btn--ghost:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ---------- philosophy: "roots" ---------- */

.roots {
  position: relative;
  padding: 20px 0 90px;
}

.roots__panel {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-radius: 40px;
  padding: 56px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.roots__tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.roots__panel h2 {
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 0;
}

.roots__copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

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

.roots__copy strong { color: var(--accent-dark); }

@media (max-width: 800px) {
  .roots__panel { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* ---------- article preview: "grove" ---------- */

.grove {
  padding: 10px 0 100px;
}

.grove__head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 44px;
}

.grove__head h2 { font-size: 30px; margin-bottom: 12px; }
.grove__head p { color: var(--muted); }

.grove__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.grove__card {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease;
  position: relative;
  overflow: hidden;
}

.grove__card:hover { transform: translateY(-6px); }

.grove__card .leaf-mark {
  width: 46px; height: 46px;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.grove__card h3 {
  font-size: 21px;
  line-height: 1.35;
}

.grove__card p {
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.grove__card .read-more {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 760px) {
  .grove__cards { grid-template-columns: 1fr; }
}

/* ---------- final CTA band: "clearing" ---------- */

.clearing {
  position: relative;
  margin: 0 0 100px;
}

.clearing__panel {
  position: relative;
  z-index: 2;
  background: var(--accent-dark);
  color: #fff;
  border-radius: 40px;
  padding: 60px;
  text-align: center;
  overflow: hidden;
}

.clearing__panel h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
}

.clearing__panel p {
  color: #cfe4d6;
  max-width: 480px;
  margin: 0 auto 30px;
}

.clearing .btn--primary {
  background: #fff;
  color: var(--accent-dark);
}

.clearing .btn--primary:hover { background: var(--accent-soft); }

.clearing__blob {
  position: absolute;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.06);
  border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
  bottom: -100px; left: -60px;
}

.clearing__blob--r {
  left: auto; right: -80px; top: -90px; bottom: auto;
  width: 220px; height: 220px;
}

@media (max-width: 720px) {
  .clearing__panel { padding: 44px 28px; }
}

/* ---------- footer: "undergrowth" ---------- */

.undergrowth {
  padding: 40px 0 50px;
  border-top: 1px solid var(--accent-soft);
}

.undergrowth__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.undergrowth__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

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

/* ---------- article page ---------- */

.article-hero {
  padding: 50px 0 20px;
  position: relative;
}

.article-hero__inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.article-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 26px;
}

.article-hero h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.2;
  margin-bottom: 18px;
}

.article-hero .meta {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 0 70px;
  position: relative;
  z-index: 2;
}

.article-body p {
  margin: 0 0 20px;
  color: var(--text);
}

.article-body h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  color: var(--accent-dark);
}

.article-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--text);
}

.article-body li { margin-bottom: 10px; }

.article-cta {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.article-cta h3 { font-size: 22px; margin-bottom: 12px; }
.article-cta p { color: var(--muted); margin-bottom: 22px; }

/* ---------- legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 80px;
}

.legal h1 { font-size: 32px; margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 12px; color: var(--accent-dark); }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); font-weight: 700; }
