/* ==========================================================================
   KNP EXPORT — Premium Brand System
   ========================================================================== */

:root {
  /* Brand Palette — earth + leaf + premium gold */
  --leaf-900: #0f2a1a;
  --leaf-800: #14401f;
  --leaf-700: #1c5a2c;
  --leaf-600: #228a3d;
  --leaf-500: #2eb451;
  --leaf-400: #6cd07f;
  --leaf-50:  #effaf0;

  --gold-600: #b88a2a;
  --gold-500: #d4a93f;
  --gold-400: #ecc566;
  --gold-100: #fbf3dc;

  --ink-950: #0a0d0b;
  --ink-900: #11161e;
  --ink-700: #2c3543;
  --ink-500: #5a6577;
  --ink-300: #aab2bf;
  --ink-100: #e8ecf1;
  --ink-50:  #f6f8fa;

  --white: #ffffff;
  --cream: #fbfaf5;

  /* Typography */
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1280px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15,42,26,0.06);
  --shadow: 0 12px 40px rgba(15,42,26,0.10);
  --shadow-lg: 0 30px 80px rgba(15,42,26,0.18);
  --shadow-gold: 0 12px 40px rgba(212,169,63,0.25);

  /* Transitions */
  --ease: cubic-bezier(.2,.8,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--leaf-900);
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf-700);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold-500);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: .65rem 0 1rem;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--ink-500);
  max-width: 720px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--leaf-700);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(28,90,44,.28);
}
.btn-primary:hover {
  background: var(--leaf-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(28,90,44,.35);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--leaf-800);
  border-color: #fff;
}
.btn-outline {
  border: 1.5px solid var(--leaf-700);
  color: var(--leaf-700);
}
.btn-outline:hover { background: var(--leaf-700); color: #fff; }

/* ============================ TOP BAR ============================ */
.topbar {
  background: var(--leaf-900);
  color: var(--ink-100);
  font-size: 13.5px;
  padding: 10px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-left .ico { color: var(--gold-400); }
.topbar-right a {
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  margin-left: 6px;
  transition: all .25s var(--ease);
}
.topbar-right a:hover { background: var(--gold-500); color: var(--leaf-900); }

/* ============================ HEADER / NAV ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(15,42,26,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.05; }
.brand-text .name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--leaf-800);
  font-size: 22px;
  letter-spacing: .02em;
}
.brand-text .sub {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-700);
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--leaf-800);
  background: var(--leaf-50);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--leaf-50);
  color: var(--leaf-800);
  align-items: center; justify-content: center;
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 92vh;
  background:
    linear-gradient(180deg, rgba(10,13,11,.55) 0%, rgba(15,42,26,.78) 100%),
    url('../images/large-market-stall-full-organic-vegetables-min-2048x1341.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 12% 20%, rgba(46,180,81,.25), transparent 70%),
    radial-gradient(700px 500px at 90% 80%, rgba(212,169,63,.18), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(236,197,102,.35);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(15,42,26,.4);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  color: #fff;
  margin: 22px 0 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 700;
}
.hero p.lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  line-height: 1.7;
}
.hero-cta {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-trust {
  margin-top: 50px;
  display: flex; align-items: center; gap: 18px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.hero-trust .dots { display: flex; }
.hero-trust .dots span {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--leaf-800);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}
.hero-trust .dots span:nth-child(1) { background-image: url('../images/sufiyan.jpg'); margin-left: 0; }
.hero-trust .dots span:nth-child(2) { background-image: url('../images/sanu.jpg'); }
.hero-trust .dots span:nth-child(3) { background-image: url('../images/muhammed.jpg'); }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}
.hero-card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-meta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hero-card-meta .item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 14px;
}
.hero-card-meta .num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--gold-400);
  font-weight: 700;
}
.hero-card-meta .lbl { font-size: 12.5px; color: rgba(255,255,255,.7); }
.hero-badge {
  position: absolute;
  top: -22px; right: -22px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ MARQUEE ============================ */
.marquee {
  background: var(--ink-950);
  color: var(--gold-400);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track span::after {
  content: '✦';
  color: var(--leaf-500);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================ STATS ============================ */
.stats {
  background: var(--white);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(15,42,26,.08);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--leaf-800);
  line-height: 1;
}
.stat .num .plus { color: var(--gold-500); }
.stat .lbl {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-500);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================ ABOUT ============================ */
.about {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-images {
  position: relative;
  aspect-ratio: 1/1;
}
.about-img-main {
  position: absolute;
  inset: 0 60px 60px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}
.about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  top: 30px; left: -20px;
  background: var(--leaf-800);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .yrs {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 800;
  line-height: 1;
  color: var(--gold-400);
}
.about-badge .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }

.about-content p { color: var(--ink-700); margin: 14px 0; line-height: 1.8; font-size: 1.02rem; }
.about-features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}
.about-features li {
  list-style: none;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  color: var(--ink-700);
  font-size: 15px;
}
.about-features li::before {
  content: '✓';
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--leaf-50);
  color: var(--leaf-700);
  border-radius: 50%;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================ SERVICES ============================ */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream), var(--white));
}
.services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,42,26,.05);
  transition: all .35s var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,180,81,.25);
}
.service-card .img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.service-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.service-card:hover .img img { transform: scale(1.06); }
.service-card .img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,42,26,.4));
}
.service-card .body { padding: 32px; }
.service-card h3 { font-size: 1.65rem; margin-bottom: 12px; }
.service-card p { color: var(--ink-500); margin-bottom: 18px; }
.service-card .tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--leaf-50);
  color: var(--leaf-700);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.service-card .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--leaf-700);
  font-weight: 600;
  font-size: 14px;
}
.service-card .arrow::after {
  content: '→';
  transition: transform .3s var(--ease);
}
.service-card:hover .arrow::after { transform: translateX(6px); }

/* ============================ PRACTICES ============================ */
.practices {
  padding: 120px 0;
  background: var(--leaf-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.practices::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 80% 20%, rgba(212,169,63,.12), transparent 70%);
}
.practices .container { position: relative; z-index: 2; }
.practices h2 { color: #fff; }
.practices .eyebrow { color: var(--gold-400); }
.practices .eyebrow::before { background: var(--gold-400); }
.practices-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.practice {
  padding: 36px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
}
.practice:hover {
  background: rgba(212,169,63,.08);
  border-color: rgba(212,169,63,.3);
  transform: translateY(-4px);
}
.practice .icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.practice h4 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.practice p { font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.65; }

/* ============================ FEATURES (4 col) ============================ */
.features {
  padding: 120px 0;
  background: var(--cream);
}
.features-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.features-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1240px) { .features-grid-5 { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--leaf-500);
  transition: all .3s var(--ease);
}
.feature:nth-child(2) { border-top-color: var(--gold-500); }
.feature:nth-child(3) { border-top-color: var(--leaf-700); }
.feature:nth-child(4) { border-top-color: var(--gold-600); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .num {
  font-family: var(--font-display);
  font-size: 3rem; color: var(--leaf-50);
  -webkit-text-stroke: 1.5px var(--leaf-700);
  font-weight: 800;
  line-height: 1;
}
.feature h4 { font-size: 1.2rem; margin: 18px 0 10px; }
.feature p { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; }

/* ============================ LEADERSHIP ============================ */
.team {
  padding: 120px 0;
  background: var(--white);
}
.team-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.member {
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--leaf-50);
}
.member-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05);
  transition: transform .8s var(--ease);
}
.member:hover .member-img img { transform: scale(1.05); }
.member-body { padding: 26px; text-align: center; }
.member-body .role {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); font-weight: 600;
}
.member-body h4 {
  font-size: 1.4rem; margin: 8px 0 12px;
}
.member-body p { color: var(--ink-500); font-size: 14.5px; }
.member-social {
  margin-top: 16px;
  display: flex; justify-content: center; gap: 10px;
}
.member-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--leaf-700);
  transition: all .25s var(--ease);
}
.member-social a:hover { background: var(--leaf-700); color: #fff; }

/* ============================ CTA STRIP ============================ */
.cta-strip {
  padding: 100px 0;
  background:
    linear-gradient(135deg, rgba(15,42,26,.92), rgba(20,64,31,.92)),
    url('../images/forklift-truck-is-lifting-pallet-with-cardboard-boxes-min-scaled.jpg') center/cover;
  color: #fff;
  text-align: center;
}
.cta-strip h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-strip p { margin: 14px auto 30px; max-width: 640px; color: rgba(255,255,255,.8); font-size: 1.06rem; }
.cta-strip .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================ FOOTER ============================ */
.footer {
  background: var(--ink-950);
  color: var(--ink-300);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand .name { color: #fff; }
.footer-brand p { line-height: 1.7; font-size: 14.5px; }
.footer-social {
  margin-top: 24px;
  display: flex; gap: 10px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); color: var(--ink-950); }
.footer h5 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; font-size: 14.5px; }
.footer ul a:hover { color: var(--gold-400); }
.contact-row { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; line-height: 1.6; }
.contact-row .ico { color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13.5px;
  color: var(--ink-500);
}

/* ============================ PAGE HEADER ============================ */
.page-header {
  padding: 100px 0 80px;
  background:
    linear-gradient(180deg, rgba(15,42,26,.85), rgba(15,42,26,.95)),
    url('../images/large-market-stall-full-organic-vegetables-min-2048x1341.jpg') center/cover;
  color: #fff;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 16px 0 12px;
}
.page-header p { color: rgba(255,255,255,.8); max-width: 700px; margin: 0 auto; font-size: 1.06rem; }
.breadcrumb {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.6);
  letter-spacing: .1em; text-transform: uppercase;
}
.breadcrumb a { color: var(--gold-400); }
.breadcrumb span { opacity: .5; }

/* ============================ PRODUCT GRID ============================ */
.products {
  padding: 100px 0;
}
.product-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,42,26,.05);
  transition: all .3s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--leaf-50), var(--gold-100));
  display: grid; place-items: center;
  font-size: 5rem;
}
.product-body { padding: 22px 24px; }
.product-body h4 { font-size: 1.2rem; margin-bottom: 6px; }
.product-body .meta { font-size: 13px; color: var(--ink-500); }

/* ============================ CONTACT ============================ */
.contact-section { padding: 100px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-info-card {
  background: var(--leaf-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,169,63,.18), transparent 60%);
}
.contact-info-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 30px; }
.info-row {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.info-row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
}
.info-row .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.info-row .val { color: #fff; font-weight: 500; line-height: 1.55; }

.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,42,26,.05);
}
.form-card h3 { font-size: 1.7rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border: 1.5px solid rgba(15,42,26,.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  transition: all .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--leaf-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,180,81,.1);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ============================ FAQ ============================ */
.faq { padding: 100px 0; background: var(--cream); }
.faq-list { max-width: 880px; margin: 50px auto 0; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 14px;
  cursor: pointer;
  border: 1px solid rgba(15,42,26,.06);
  transition: all .25s var(--ease);
}
.faq-item:hover { border-color: var(--leaf-500); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 600; font-size: 1.05rem; color: var(--leaf-900);
}
.faq-q .plus { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--leaf-50); color: var(--leaf-700); font-size: 18px; transition: transform .3s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); background: var(--leaf-700); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease), padding .25s var(--ease);
  color: var(--ink-500); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 320px; padding-top: 14px; }

/* ============================ MARKETS ============================ */
.markets {
  padding: 120px 0;
  background: var(--cream);
  border-top: 1px solid rgba(15,42,26,.06);
}
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.market {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(15,42,26,.06);
  transition: all .3s var(--ease);
}
.market:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--leaf-500);
}
.market .flag {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.market h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--leaf-900);
}
.market .cap {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--leaf-700);
  font-weight: 600;
}

/* ============================ PULL QUOTE ============================ */
.pullquote {
  padding: 140px 0;
  background:
    linear-gradient(135deg, var(--leaf-900) 0%, var(--leaf-800) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 20% 30%, rgba(212,169,63,.12), transparent 70%),
    radial-gradient(600px 400px at 80% 70%, rgba(46,180,81,.12), transparent 70%);
}
.pullquote .container { position: relative; z-index: 2; }
.pullquote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--gold-500);
  font-style: italic;
  margin-bottom: 24px;
}
.pullquote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
}
.pullquote-attr {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: inline-block;
}
.pullquote-attr strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gold-400);
  display: block;
  margin-bottom: 6px;
}
.pullquote-attr span {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ============================ ANIMATIONS ============================ */
.fade-in { opacity: 0; transform: translateY(28px); transition: all .8s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid, .practices-grid, .features-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .services-grid, .product-grid, .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px;
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .hero-badge { width: 100px; height: 100px; font-size: 10px; }
}

/* ============================ MOBILE OVERFLOW HARDENING (iOS Safari hard) ============================ */
html {
  overflow-x: hidden !important;
  position: relative;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: hidden !important;
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas, embed, object { max-width: 100%; height: auto; }
iframe { max-width: 100%; display: block; }
/* Force every section to clip — handles iOS Safari quirks */
.topbar, .header, .hero, .about, .services, .practices, .features, .team, .stats,
.cta-strip, .contact-section, .faq, .markets, .pullquote,
.page-header, .marquee, .products, .footer, section {
  overflow-x: hidden !important;
  position: relative;
  max-width: 100vw;
}
/* Container hard-cap — must never extend past viewport */
.container { max-width: 100% !important; }
@media (max-width: 1280px) { .container { max-width: 100vw !important; } }

/* Marquee — children must never shrink, must keep their natural width, must never wrap */
.marquee { padding: 18px 0; }
.marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content;
  gap: 48px;
}
.marquee-track > * {
  flex: 0 0 auto !important;
  white-space: nowrap;
  max-width: none !important;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
@media (max-width: 640px) {
  .marquee { padding: 14px 0; }
  .marquee-track { gap: 32px; }
  .marquee-track > * { font-size: 1rem !important; gap: 32px; }
}

@media (max-width: 640px) {
  .stats-grid, .practices-grid, .features-grid,
  .services-grid, .product-grid, .team-grid,
  .about-features, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(15,42,26,.08); padding-bottom: 24px; }
  /* Reposition decorative elements that overflow on small screens */
  .hero-badge { top: -16px; right: 12px; width: 90px; height: 90px; font-size: 9px; }
  .about-badge { top: 14px; left: 14px; }
  .about-img-main { inset: 0 30px 30px 0; }
  .about-img-sub { width: 65%; }
  .contact-info-card::before { width: 180px; height: 180px; bottom: -60px; right: -60px; }
  /* Topbar items in mobile — stack & wrap cleanly without horizontal push */
  .topbar { font-size: 12px; }
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* Ensure container honours mobile padding */
  .container { padding-left: 18px; padding-right: 18px; }
  /* Markets grid → 2 cols on small phones */
  .markets-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .market { padding: 22px 14px; }
  .market .flag { font-size: 2rem; }
  .market h4 { font-size: 0.95rem; }
  /* Pull-quote tightening */
  .pullquote { padding: 80px 0; }
  .pullquote-mark { font-size: 5rem; }
  .pullquote-attr strong { font-size: 1rem; }
  /* Form rows already collapse — ensure no width overflow */
  .form-card, .contact-info-card { padding: 28px 20px; }
  /* Hero card meta should stay in 2 cols but allow wrap */
  .hero-card { padding: 22px; }
  .hero-card-meta { gap: 8px; }
  .hero-card-meta .num { font-size: 1.4rem; }
  /* Service-card hover lifts can cause overflow on mobile — disable */
  .service-card:hover, .feature:hover, .practice:hover, .product:hover, .market:hover, .member:hover { transform: none; }
  /* Page header heading sizing */
  .page-header h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .stat:last-child { border-bottom: none; }
  .topbar-left { display: none; }
  .nav-cta .btn:not(:last-child) { display: none; }
  .hero { min-height: auto; padding: 60px 0 80px; }
  .about, .services, .practices, .features, .team, .cta-strip, .contact-section, .faq { padding: 70px 0; }
  .contact-info-card, .form-card { padding: 32px 24px; }
}

/* ============================================================================
   ════  V2 PREMIUM ELEVATION  ════  (editorial agri-luxe · real photography)
   ============================================================================ */
:root {
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --leaf-ink: #0c2417;
  --paper: #faf7ef;
}

/* Warm paper grain — barely-there texture so it never reads "flat template" */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.container, header, section, footer { position: relative; z-index: 2; }

h1,h2,h3,h4,h5 { font-optical-sizing: auto; }

/* Editorial numbered eyebrow */
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--leaf-700);
}
.eyebrow::before { width: 22px; background: var(--gold-500); opacity: .9; }
.practices .eyebrow, .cta-strip .eyebrow { color: var(--gold-400); }

/* Section title — gold underline draw on reveal */
.section-title { position: relative; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-clip { opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1), opacity .6s ease; will-change: clip-path; }
.reveal-clip.visible { opacity: 1; clip-path: inset(0 0 0 0); }

/* Magnetic buttons get a smooth return */
.magnetic { transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }

/* Header elevation */
.header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.header.scrolled { box-shadow: 0 10px 34px rgba(15,42,26,.10); background: rgba(255,255,255,.96); }

/* Topbar — add the location pin colour */
.topbar-left .ico { color: var(--gold-400); }

/* ============================ HERO V2 — full-bleed real fleet ============================ */
.hero--v2 {
  min-height: min(90vh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; background: var(--leaf-ink); overflow: hidden;
}
.hero--v2 .hero-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero--v2 .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero--v2 .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,26,15,.94) 0%, rgba(8,26,15,.74) 40%, rgba(8,26,15,.30) 70%, rgba(8,26,15,.12) 100%),
    linear-gradient(0deg, rgba(8,26,15,.85) 0%, rgba(8,26,15,0) 38%);
}
.hero--v2 .container { position: relative; z-index: 3; width: 100%; }
.hero-inner { max-width: 720px; padding: 130px 0 60px; }
.hero--v2 .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 26px;
}
.hero--v2 .hero-eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 5px rgba(236,197,102,.18); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 5px rgba(236,197,102,.18);} 50%{box-shadow:0 0 0 11px rgba(236,197,102,.04);} }
.hero-title {
  font-family: var(--font-display); color: #fff; font-weight: 600;
  font-size: clamp(3rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.03em; margin: 0;
}
.hero-title .accent { color: var(--gold-400); font-style: italic; font-weight: 500; }
.hero--v2 .lead {
  color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.65;
  max-width: 600px; margin: 28px 0 0;
}
.hero--v2 .hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero glass stat bar */
.hero-stats { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.14); background: rgba(8,26,15,.34); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { padding: 30px 10px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.hstat:last-child { border-right: none; }
.hstat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3.1rem); color: #fff; line-height: 1; letter-spacing: -.02em; }
.hstat .num .plus { color: var(--gold-400); }
.hstat .lbl { margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.66); }

/* ============================ FOUNDER STORY ============================ */
.founder { padding: 130px 0; background: var(--paper); }
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.founder-portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.founder-seal {
  position: absolute; right: -22px; bottom: 28px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--leaf-600), var(--leaf-800));
  color: #fff; display: grid; place-content: center; text-align: center; gap: 2px;
  box-shadow: 0 18px 50px rgba(15,42,26,.4); border: 2px solid var(--gold-400);
}
.founder-seal .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.founder-seal .small { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.founder-text .section-title { font-size: clamp(2rem, 3.6vw, 3.3rem); margin: 14px 0 22px; }
.founder-text .ital { font-style: italic; color: var(--leaf-600); }
.founder-text p { color: var(--ink-700); font-size: 1.06rem; line-height: 1.8; margin-bottom: 16px; }
.founder-text strong { color: var(--leaf-800); font-weight: 700; }
.founder-quote {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--leaf-800);
  border-left: 3px solid var(--gold-500); padding: 6px 0 6px 26px; margin: 28px 0 14px;
}
.founder-sign { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-700); }

/* ============================ FROM OUR FIELDS — real-photo gallery ============================ */
.fields { padding: 130px 0; background: var(--cream); }
.fields-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 54px; }
.fields-head .section-title { margin-top: 14px; }
.fields-head .section-subtitle { padding-bottom: 6px; }
.fields-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 240px; gap: 16px; }
.field-item { position: relative; grid-column: span 2; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.field-item.field-wide { grid-column: span 3; }
.field-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.field-item:hover img { transform: scale(1.07); }
.field-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 20px 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(0deg, rgba(8,26,15,.82), rgba(8,26,15,0));
}

/* ============================ TWO HUBS ============================ */
.hubs { padding: 130px 0; background: var(--white); }
.hubs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hub {
  padding: 48px 42px; border-radius: var(--radius-lg); background: var(--cream);
  border: 1px solid rgba(15,42,26,.07); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hub:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hub-flag { font-size: 3rem; line-height: 1; margin-bottom: 18px; }
.hub h3 { font-size: 1.7rem; margin-bottom: 6px; }
.hub-role { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 18px; }
.hub p { color: var(--ink-700); line-height: 1.75; margin-bottom: 20px; }
.hub-addr { font-size: 14px; color: var(--ink-500); display: flex; gap: 10px; align-items: flex-start; }
.hub-addr .ico, .hub-addr i { color: var(--leaf-600); margin-top: 3px; }

/* ============================ READABILITY HARDENING ============================ */
.section-subtitle { color: var(--ink-700); }
.service-card .body p, .feature p, .practice p { color: var(--ink-700); }
.practices .practice p { color: rgba(255,255,255,.82); }
.market .cap { color: var(--leaf-700); }
.about-content p { color: var(--ink-700); }

/* ============================ RESPONSIVE — V2 sections ============================ */
@media (max-width: 980px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-portrait { max-width: 440px; aspect-ratio: 4/4.4; }
  .fields-head { grid-template-columns: 1fr; gap: 18px; }
  .hubs-grid { grid-template-columns: 1fr; }
  .fields-grid { grid-auto-rows: 200px; }
}
@media (max-width: 640px) {
  .hero--v2 { min-height: auto; }
  .hero-inner { padding: 90px 0 46px; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .hstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .hstat .lbl { font-size: 9.5px; }
  .founder, .fields, .hubs { padding: 72px 0; }
  .fields-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .field-item, .field-item.field-wide { grid-column: span 2; }
  .founder-seal { width: 116px; height: 116px; right: -8px; }
  .founder-seal .big { font-size: 1.6rem; }
  .founder-quote { font-size: 1.2rem; padding-left: 18px; }
  .hub { padding: 34px 26px; }
}

/* Product tiles — real imagery support */
.product-img { overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product-img img { transform: scale(1.06); }
/* About badge tuned for "KNP / EDIFICE" label */
.about-badge .yrs { font-family: var(--font-display); font-size: 2.1rem; letter-spacing: .04em; }

/* ============================================================================
   ════  FALLBACK VISIBILITY  ════  content is ALWAYS visible unless JS confirms
   it can animate (html.js set in <head> before paint). Guarantees no empty
   sections if JS/IntersectionObserver is slow, blocked, or misses an element.
   ============================================================================ */
.reveal, .fade-in, .reveal-clip { opacity: 1; transform: none; clip-path: none; }
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .fade-in { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .fade-in.visible { opacity: 1; transform: none; }
/* reveal-clip now animates like reveal (clip-path proved fragile / left images hidden) */
html.js .reveal-clip { opacity: 0; transform: scale(.985); clip-path: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .reveal-clip.visible { opacity: 1; transform: none; }

/* Botanical motif tiles for catalog items awaiting photography — uniform & premium */
.product-img--motif {
  background: linear-gradient(140deg, var(--leaf-50), var(--gold-100));
  position: relative;
}
.product-img--motif::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c5a2c' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/><path d='M2 21c0-3 1.85-5.36 5.08-6'/></svg>") center/56px no-repeat;
  opacity: .42;
}
.product:nth-child(2n) .product-img--motif { background: linear-gradient(140deg, #eef6ee, #ffffff); }
.product:nth-child(3n) .product-img--motif { background: linear-gradient(140deg, var(--gold-100), #fffaf0); }
.product:nth-child(5n) .product-img--motif { background: linear-gradient(140deg, #e9f3ea, var(--gold-100)); }

/* ============================================================================
   ════  CROSS-PLATFORM FLAG BADGES  ════  flag emoji render on phones but fall
   back to country-code letters on Windows. Wrapping them in a branded circle
   makes both cases look intentional (a badge), never broken.
   ============================================================================ */
.market .flag, .hub-flag, .country-card .flag {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--leaf-50), var(--gold-100));
  border: 1px solid rgba(15,42,26,.10);
  font-size: 2rem; line-height: 1; overflow: hidden;
  font-family: var(--font-body); font-weight: 700; color: var(--leaf-700);
  letter-spacing: .02em;
}
.market .flag { margin: 0 auto 14px; }
.hub-flag { width: 70px; height: 70px; font-size: 2.1rem; }
.country-card .flag { width: 60px; height: 60px; font-size: 1.9rem; }
