/* ─── MALIJEE — DESIGN SYSTEM ──────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --forest: #0e2e27;
  --forest-2: #164136;
  --green: #14695a;
  --sage: #e7efe9;
  --cream: #f9f5ea;
  --ivory: #fffdf6;
  --ink: #1a2b26;
  --ink-soft: #47594f;
  --gold: #e58b63;
  --saffron: #c05b3c;
  --line: rgba(26, 43, 38, 0.1);
  --line-light: rgba(249, 245, 234, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }

::selection { background: var(--green); color: #fff; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  /* Intro still shows, fully assembled and motionless */
  .intro-logo, .intro-sub { opacity: 1 !important; transform: none !important; animation: none !important; }
  .intro-plant { display: none; }
}

/* Scroll progress bar (scroll-driven animation, graceful fallback) */
@supports (animation-timeline: scroll()) {
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 200;
    animation: scroll-progress linear forwards;
    animation-timeline: scroll(root);
  }
  @keyframes scroll-progress { to { transform: scaleX(1); } }
}

.font-display { font-family: 'Fraunces', serif; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Grid/flex children with intrinsic-width images must be allowed to shrink,
   otherwise single-column tracks overflow the viewport on mobile */
.hero-grid > *, .about-grid > *, .process-grid > *,
.story-grid > *, .svc-row > *, .svc-featured > * { min-width: 0; }
html, body { overflow-x: clip; }

/* ─── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  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); }

/* ─── Typography helpers ──────────────────────────────────── */
.headline {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
}
.headline em { font-style: italic; font-weight: 300; }
.headline, .headline-md, .hero-title, .page-hero-title, .cta-title { text-wrap: balance; }
.hero-sub, .page-hero-sub, .body-text, .body-text-light, .cta-sub { text-wrap: pretty; }
.headline-light { color: var(--cream); }
.headline-md {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.accent-text { color: var(--gold); font-style: italic; font-weight: 300; }
.green-accent { color: var(--green); font-style: italic; font-weight: 300; }
.body-text { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0; }
.body-text-light { font-size: 16px; line-height: 1.75; color: rgba(250, 247, 239, 0.65); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 18px;
}
.eyebrow-line { width: 28px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow-light { color: var(--gold); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(20, 105, 90, 0.25);
}
.btn-primary:hover {
  background: #187b69;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(20, 105, 90, 0.35);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-large { font-size: 16px; padding: 17px 38px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid rgba(250, 247, 239, 0.25);
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(229, 139, 99, 0.08); }
.btn-ghost-dark { color: var(--ink); border-color: rgba(28, 42, 33, 0.25); }
.btn-ghost-dark:hover { border-color: var(--green); background: rgba(20, 105, 90, 0.06); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1.5px solid var(--green);
  text-decoration: none;
  margin-top: 26px;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-outline-dark:hover { background: var(--green); color: #fff; }

/* ─── Navbar ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav-scrolled {
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1.1;
  transition: color 0.4s ease;
}
.nav-brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, 0.5);
  transition: color 0.4s ease;
}
.nav-scrolled .nav-brand-name { color: var(--ink); }
.nav-scrolled .nav-brand-sub { color: rgba(28, 42, 33, 0.45); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(250, 247, 239, 0.7);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-link:hover { color: var(--cream); }
.nav-link-active { color: var(--gold); background: rgba(229, 139, 99, 0.1); }
.nav-scrolled .nav-link { color: rgba(28, 42, 33, 0.62); }
.nav-scrolled .nav-link:hover { color: var(--ink); }
.nav-scrolled .nav-link-active { color: var(--green); background: rgba(20, 105, 90, 0.08); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-cta:hover { background: #ec9d78; transform: translateY(-1px); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 4px;
}
.nav-scrolled .nav-burger { color: var(--ink); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav-open { opacity: 1; pointer-events: auto; }
.mobile-nav-link {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  padding: 8px;
}
.mobile-nav-link:hover { color: var(--gold); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(168deg, var(--forest) 0%, var(--forest-2) 100%);
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow-a {
  width: 480px; height: 480px;
  background: rgba(229, 139, 99, 0.09);
  top: -140px; right: 4%;
}
.hero-glow-b {
  width: 420px; height: 420px;
  background: rgba(20, 105, 90, 0.35);
  bottom: -160px; left: -80px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--cream);
  margin: 4px 0 0;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(250, 247, 239, 0.65);
  max-width: 480px;
  margin: 24px 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero-stats { display: flex; flex-wrap: wrap; margin-top: 56px; }
.hero-stat { padding: 0 34px; border-left: 1px solid var(--line-light); }
.hero-stat:first-child { padding-left: 0; border-left: none; }
.hero-stat-num {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.hero-stat-num sup { font-size: 0.5em; color: var(--saffron); }
.hero-stat-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 239, 0.45);
  margin-top: 6px;
  max-width: 130px;
}

.hero-visual { position: relative; }
.hero-img-frame {
  position: relative;
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5.1;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 6s ease;
}
.hero-img-frame:hover img { transform: scale(1.06); }
.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.hero-badge-year { font-size: 26px; font-weight: 700; color: var(--green); line-height: 1; }
.hero-badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 42, 33, 0.45);
  margin-top: 2px;
}

/* ─── Marquee ──────────────────────────────────────────── */
.marquee-wrap {
  background: var(--gold);
  overflow: hidden;
  padding: 15px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
}
.marquee-star { color: rgba(20, 38, 28, 0.4); font-size: 12px; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* ─── Sections ──────────────────────────────────────────── */
.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage); }
.section-dark { background: linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head-center { text-align: center; margin-bottom: 56px; }
.center-cta { text-align: center; margin-top: 48px; }

/* ─── Portfolio grid ─────────────────────────────────────── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.port-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transform: translateZ(0);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.port-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.port-card:hover img { transform: scale(1.07); }
.port-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 30, 26, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 100px;
}
.port-title { font-size: 21px; font-weight: 600; color: var(--cream); line-height: 1.15; }

/* ─── Service cards ──────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(28, 42, 33, 0.1);
  border-color: rgba(20, 105, 90, 0.25);
}
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 105, 90, 0.08);
  color: var(--green);
}
.svc-num {
  font-size: 15px;
  font-style: italic;
  color: rgba(28, 42, 33, 0.3);
}
.svc-title { font-size: 20px; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.svc-desc { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(20, 105, 90, 0.07);
  border: 1px solid rgba(20, 105, 90, 0.14);
  padding: 4px 11px;
  border-radius: 100px;
}

/* ─── Featured service (Plants on Rent) ─────────────────────── */
.svc-featured {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--ivory);
  border: 1px solid rgba(229, 139, 99, 0.35);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 18px;
  box-shadow: 0 24px 56px rgba(26, 43, 38, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: translateZ(0);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.svc-featured:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 0 32px 64px rgba(26, 43, 38, 0.15);
}
.svc-featured-img {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.svc-featured-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--saffron);
  padding: 7px 15px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(192, 91, 60, 0.35);
}
.svc-featured-body {
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.svc-featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}
.svc-featured-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}
.svc-featured-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
@media (max-width: 1024px) {
  .svc-featured { grid-template-columns: 1fr; }
  .svc-featured-img { min-height: 240px; }
  .svc-featured-body { padding: 32px 28px; }
}

/* ─── Full-bleed quote ────────────────────────────────────── */
.fbleed {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.fbleed-short { min-height: 380px; }
.fbleed-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fbleed-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 30, 26, 0.88) 0%, rgba(8, 30, 26, 0.45) 100%);
}
.fbleed-content { position: relative; z-index: 2; width: 100%; }
.fbleed-quote {
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--cream);
  max-width: 760px;
  margin: 0;
}

/* ─── About preview ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-stack { position: relative; padding-bottom: 60px; }
.about-main {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: 0 30px 60px rgba(28, 42, 33, 0.18);
}
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
  position: absolute;
  right: -8px;
  bottom: 8px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 20px 40px rgba(28, 42, 33, 0.22);
}
.about-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--ivory);
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 16px 36px rgba(28, 42, 33, 0.16);
}
.about-badge-year { font-size: 30px; font-weight: 700; color: var(--green); line-height: 1; }
.about-badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 42, 33, 0.4);
  margin-top: 3px;
}
.pull-quote {
  border-left: 2px solid var(--saffron);
  padding-left: 22px;
  margin: 28px 0 4px;
}
.pull-quote p {
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* ─── Process ───────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.process-sticky { position: sticky; top: 110px; }
.proc-item {
  display: flex;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
}
.proc-item:first-child { padding-top: 0; }
.proc-num {
  font-size: 15px;
  font-style: italic;
  color: var(--gold);
  padding-top: 5px;
  flex-shrink: 0;
}
.proc-title { font-size: 21px; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.proc-desc { font-size: 14.5px; line-height: 1.7; color: rgba(250, 247, 239, 0.55); margin: 0; }

/* ─── CTA card ──────────────────────────────────────────── */
.cta-card {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(229, 139, 99, 0.07);
  filter: blur(80px);
  top: -200px;
}
.cta-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--cream);
  margin: 26px 0 16px;
  position: relative;
}
.cta-sub {
  font-size: 16px;
  color: rgba(250, 247, 239, 0.6);
  max-width: 440px;
  margin: 0 0 36px;
  line-height: 1.75;
  position: relative;
}
.cta-phone { font-size: 12.5px; color: rgba(250, 247, 239, 0.45); margin-top: 16px; }
.section-sage .cta-phone { color: var(--ink-soft); }

/* ─── WhatsApp float ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ─── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  background: linear-gradient(165deg, var(--forest) 0%, var(--forest-2) 100%);
  padding: 176px 0 88px;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(229, 139, 99, 0.08);
  filter: blur(100px);
  top: -160px;
  right: 6%;
  pointer-events: none;
}
.page-hero-title {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--cream);
  position: relative;
  margin: 0;
}
.page-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(250, 247, 239, 0.6);
  max-width: 540px;
  margin-top: 22px;
  position: relative;
}

/* ─── Work page ──────────────────────────────────────────── */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn-active { background: var(--green); border-color: var(--green); color: #fff; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(28, 42, 33, 0.13);
}
.work-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; transform: translateZ(0); isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-card-img img { transform: scale(1.06); }
.work-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 100px;
}
.work-card-body { padding: 22px 24px 24px; }
.work-card-title { font-size: 19px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.work-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.work-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ─── Services page ───────────────────────────────────────── */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 44px 0;
}
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row-flip .svc-row-img { order: 2; }
.svc-row-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: 0 26px 56px rgba(28, 42, 33, 0.16);
}
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 44px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 253, 247, 0.85);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.svc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.svc-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 105, 90, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── About page ─────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.story-img {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: 0 30px 60px rgba(28, 42, 33, 0.18);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }

.timeline { max-width: 720px; margin: 0 auto; }
.tl-item {
  display: grid;
  grid-template-columns: 90px 24px 1fr;
  gap: 22px;
  padding: 26px 0;
}
.tl-year {
  font-size: 20px;
  font-style: italic;
  color: var(--gold);
  text-align: right;
  padding-top: 2px;
}
.tl-dot {
  position: relative;
  display: flex;
  justify-content: center;
}
.tl-dot::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 9px;
  box-shadow: 0 0 0 5px rgba(229, 139, 99, 0.15);
}
.tl-dot::after {
  content: '';
  position: absolute;
  top: 26px;
  bottom: -32px;
  width: 1px;
  background: var(--line-light);
}
.tl-item:last-child .tl-dot::after { display: none; }
.tl-title { font-size: 20px; font-weight: 600; color: var(--cream); margin-bottom: 6px; }
.tl-desc { font-size: 14.5px; line-height: 1.7; color: rgba(250, 247, 239, 0.55); margin: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(28, 42, 33, 0.1);
}
.value-title { font-size: 19px; font-weight: 600; color: var(--ink); margin: 18px 0 10px; }
.value-desc { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 30px;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(28, 42, 33, 0.1);
}
.testi-quote-icon { color: var(--gold); margin-bottom: 16px; }
.testi-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-style: italic;
}
.testi-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.testi-role { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

/* ─── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--forest);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand-name { font-size: 26px; font-weight: 600; color: var(--cream); line-height: 1.1; }
.footer-brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, 0.45);
  margin-top: 3px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(250, 247, 239, 0.5);
  max-width: 320px;
  margin: 0;
}
.footer-parent {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, 0.35);
  margin: 18px 0 0;
}
.footer-parent strong { color: rgba(229, 139, 99, 0.75); font-weight: 700; }
.footer-head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-link {
  display: flex;
  font-size: 14px;
  color: rgba(250, 247, 239, 0.6);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  border: none;
  background: none;
}
a.footer-link:hover { color: var(--gold); }
.footer-link-icon { align-items: center; gap: 9px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  font-size: 12.5px;
  color: rgba(250, 247, 239, 0.4);
}
.footer-quote { font-style: italic; font-size: 14px; color: rgba(229, 139, 99, 0.7); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .port-grid, .work-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .process-grid, .story-grid, .svc-row { grid-template-columns: 1fr; gap: 52px; }
  .svc-row-flip .svc-row-img { order: 0; }
  .process-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 132px 0 64px; }
  .page-hero { padding: 140px 0 64px; }
  .port-grid, .work-grid, .svc-grid, .values-grid, .testi-grid { grid-template-columns: 1fr; }
  .hero-stat { padding: 0 20px; }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat-num { font-size: 32px; }
  .cta-card { padding: 60px 24px; }
  .tl-item { grid-template-columns: 64px 20px 1fr; gap: 14px; }
  .tl-year { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── Logo images ───────────────────────────────────────────── */
.nav-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}
.nav-brand:hover .nav-logo-img { transform: scale(1.06); }
.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.cta-logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 0 28px rgba(229, 139, 99, 0.45));
  animation: intro-float 5s ease-in-out infinite;
}
.intro-logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* ─── Intro: seed → grow → logo ─────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: radial-gradient(ellipse at 50% 40%, var(--forest-2) 0%, var(--forest) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.intro-leave { opacity: 0; pointer-events: none; }
.intro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: scale(0.55) translateY(14px);
  animation: intro-logo-pop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.85s forwards,
    intro-float 4.5s ease-in-out 2.75s infinite;
  filter: drop-shadow(0 0 34px rgba(229, 139, 99, 0.5));
}
.intro-name {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1;
}
.intro-plant {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
}
.intro-stem {
  position: relative;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #4fae8e 0%, #14695a 100%);
  animation: intro-stem-grow 1.1s cubic-bezier(0.34, 1.2, 0.64, 1) 0.55s forwards;
}
.intro-leaf {
  position: absolute;
  width: 26px;
  height: 17px;
  background: linear-gradient(135deg, #4fae8e 0%, #187b69 100%);
  opacity: 0;
}
.intro-leaf-l {
  left: -25px;
  top: 26px;
  border-radius: 100% 0 100% 0;
  transform: rotate(24deg) scale(0);
  transform-origin: right bottom;
  animation: intro-leaf-l 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 1.25s forwards;
}
.intro-leaf-r {
  right: -25px;
  top: 44px;
  border-radius: 0 100% 0 100%;
  transform: rotate(-24deg) scale(0);
  transform-origin: left bottom;
  animation: intro-leaf-r 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 1.45s forwards;
}
.intro-seed {
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  margin-top: 4px;
  transform: scale(0) rotate(-45deg);
  animation: intro-seed-pop 0.5s cubic-bezier(0.34, 1.5, 0.64, 1) 0.15s forwards;
  box-shadow: 0 0 18px rgba(229, 139, 99, 0.5);
}
.intro-sub {
  margin-top: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249, 245, 234, 0.45);
  opacity: 0;
  animation: intro-fade-up 0.8s ease 2.3s forwards;
}
@keyframes intro-seed-pop {
  to { transform: scale(1) rotate(-45deg); }
}
@keyframes intro-stem-grow {
  to { height: 96px; }
}
@keyframes intro-leaf-l {
  to { opacity: 1; transform: rotate(24deg) scale(1); }
}
@keyframes intro-leaf-r {
  to { opacity: 1; transform: rotate(-24deg) scale(1); }
}
@keyframes intro-logo-pop {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes intro-float {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1) translateY(-8px); }
}
@keyframes intro-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
