/* ============================================================
   Recycling Mongolia LLC — brand system
   ============================================================ */
:root {
  --brand: #4C8A34;
  --brand-light: #7CBB5C;
  --forest: #0F2E20;
  --forest-deep: #081911;
  --amber: #D98A28;
  --amber-soft: #E4A653;
  --pale: #F3F5F0;
  --steel: #3E4440;
  --steel-soft: #6B716C;
  --white: #FFFFFF;

  --font-head: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --shadow-lg: 0 24px 60px rgba(8, 25, 17, 0.35);
  --shadow-md: 0 10px 30px rgba(8, 25, 17, 0.14);

  --border: rgba(15, 46, 32, 0.14);
  --border-soft: rgba(15, 46, 32, 0.08);
  --line-on-dark: rgba(255, 255, 255, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--steel);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* anchor landings clear the sticky header */
[id] { scroll-margin-top: 5.5rem; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--forest);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.kicker-amber { color: var(--amber-soft); }
.kicker-light { color: var(--brand-light); }

.text-link {
  color: var(--brand-light);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

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

/* ============ Section head w/ number ============ */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  margin-top: 0.35rem;
}
.num-dark {
  color: var(--amber-soft);
  border-color: var(--amber-soft);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 25, 17, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 187, 92, 0.25);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img { height: 46px; width: auto; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.brand-name span { color: var(--brand-light); font-weight: 400; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--pale);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--brand-light);
  transition: right 0.25s ease;
}
.site-nav a:not(.nav-cta):hover::after { right: 0; }

/* current page highlight */
.site-nav a[aria-current="page"] { color: var(--brand-light); }
.site-nav a[aria-current="page"]:not(.nav-cta)::after { right: 0; }

.site-nav a.nav-cta {
  background: var(--amber);
  color: var(--forest-deep) !important;
  padding: 0.55rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.site-nav a.nav-cta:hover { background: var(--amber-soft); transform: translateY(-1px); }

/* hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid rgba(124, 187, 92, 0.4);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--pale);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(124, 187, 92, 0.5);
}
.lang-switch a {
  color: var(--pale);
  text-decoration: none;
  padding: 0.2rem 0.3rem;
  letter-spacing: 0.05em;
}
.lang-switch a:hover { color: var(--brand-light); }
.lang-switch a[aria-current="true"] {
  color: var(--brand-light);
  font-weight: 700;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  color: var(--pale);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(76, 138, 52, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(217, 138, 40, 0.12) 0%, transparent 45%),
    linear-gradient(155deg, var(--forest) 0%, var(--forest-deep) 75%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4.5rem); /* fills the screen below the sticky header */
}

/* subtle mono grid texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 245, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 245, 240, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  flex: 1;
  width: min(1240px, 94%);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 4rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  margin-bottom: 1.25rem;
}

.hero .accent { color: var(--brand-light); }

.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--pale);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* --- hero illustration (interactive, borderless) --- */
.hero-illustration {
  margin: 0;
}

.hero-illustration svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.4));
}

#heroBtn { cursor: pointer; }
#heroBtn rect { transition: fill 0.25s ease; }
#heroBtn:hover rect,
#heroBtn:focus-visible rect { fill: var(--amber-soft); }
#heroBtn:focus { outline: none; }

.hose { stroke-dasharray: 2 10; }
@keyframes hoseFlow { to { stroke-dashoffset: -24; } }
#heroScene.cleaning .hose { animation: hoseFlow 0.7s linear infinite; }

/* stat strip */
.hero-strip {
  background: rgba(8, 25, 17, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(124, 187, 92, 0.3);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}

.strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 2px solid var(--brand);
  padding-left: 1rem;
}

.strip-num {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--amber-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.strip-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pale);
  letter-spacing: 0.03em;
}

/* ============ Buttons ============ */
.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-row-center { justify-content: center; margin-top: 2.5rem; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--amber);
  color: var(--forest-deep);
  box-shadow: 0 8px 24px rgba(217, 138, 40, 0.35);
}
.btn-primary:hover { background: var(--amber-soft); }

.btn-ghost {
  border: 2px solid rgba(243, 245, 240, 0.6);
  color: var(--white);
  background: rgba(8, 25, 17, 0.3);
}
.btn-ghost:hover {
  border-color: var(--brand-light);
  color: var(--brand-light);
}

.btn-light {
  border: 2px solid var(--pale);
  color: var(--pale);
}
.btn-light:hover {
  background: var(--pale);
  color: var(--forest-deep);
}

/* ============ Page intro (subpage banner) ============ */
.page-intro {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(76, 138, 52, 0.28) 0%, transparent 50%),
    linear-gradient(155deg, var(--forest) 0%, var(--forest-deep) 85%);
  color: var(--pale);
  padding: 3.5rem 0 3rem;
}
.page-intro h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-intro .lead {
  color: var(--pale);
  max-width: 640px;
  margin: 0.75rem 0 0;
}

/* ============ Sections ============ */
.section { padding: 5.5rem 0; }

.section-pale { background: var(--pale); }

.section-dark {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(76, 138, 52, 0.25) 0%, transparent 55%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--pale);
}
.section-dark h2 { color: var(--white); }
.section-dark .ideal { color: var(--brand-light); }

/* angled section top */
.angle-top {
  clip-path: polygon(0 2.5rem, 100% 0, 100% 100%, 0 100%);
  padding-top: 8rem;
  margin-top: -2.5rem;
}

/* ============ Service cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(62, 68, 64, 0.12);
  border-top: 4px solid var(--brand);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }

.card-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(8, 25, 17, 0.85);
  color: var(--amber-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 166, 83, 0.5);
}

.card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card .benefits {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(62, 68, 64, 0.14);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.card .benefits strong { color: var(--brand); }

.ideal {
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

/* checklists with brand check marks */
.checklist {
  list-style: none;
  margin: 0 0 1rem;
}
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.35rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}
.checklist-light li::before { color: var(--brand-light); }

/* ============ How it works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.step {
  background: var(--white);
  border: 1px solid rgba(62, 68, 64, 0.12);
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 1;
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.8rem;
}

.step p { margin: 0; font-size: 0.93rem; }

/* ============ Interactive oil demo ============ */
.oil-demo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(62, 68, 64, 0.12);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
}

.oil-demo-visual { display: grid; place-items: center; }

.oil-demo-panel h3 { margin-bottom: 0.4rem; }
.oil-demo-panel > p { font-size: 0.95rem; }

#oilSlider {
  width: 100%;
  margin: 0.75rem 0 1.5rem;
  accent-color: var(--brand);
  cursor: pointer;
  height: 6px;
}

.oil-readouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.readout {
  background: var(--pale);
  border-radius: 6px;
  padding: 0.8rem 1rem;
}

.readout-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 0.25rem;
}

.readout-value {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
}

.oil-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--steel-soft);
  font-style: italic;
}

/* ============ Coming soon ============ */
.coming-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  background: var(--amber);
  color: var(--forest-deep);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-left: 0.6rem;
  transform: translateY(-4px);
}

.coming-image { position: relative; }

.coming-image img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.img-frame {
  position: absolute;
  inset: -18px auto auto -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--amber);
  border-radius: 10px;
  z-index: 0;
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
}

.lead-dark {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-block {
  background: var(--pale);
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-md);
}
.block-amber { border-left-color: var(--amber); }
.about-block p:last-child { margin-bottom: 0; }

.about-diagram {
  background: var(--pale);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.about-diagram svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.values {
  list-style: none;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.values li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--white);
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.values li:hover {
  background: var(--brand);
  color: var(--white);
}

/* ============ FAQ ============ */
.faq-container { max-width: 820px; }

.faq-item {
  background: var(--white);
  border: 1px solid rgba(62, 68, 64, 0.12);
  border-radius: 8px;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--forest);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }

.faq-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  position: relative;
  transition: transform 0.3s, background 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-icon {
  background: var(--brand);
  transform: rotate(45deg);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--white); }

.faq-item > p {
  padding: 0 1.4rem 1.2rem;
  margin: 0;
  border-top: 1px solid rgba(62, 68, 64, 0.1);
  padding-top: 1rem;
}

/* ============ Contact / CTA ============ */
.section-cta {
  background:
    radial-gradient(ellipse at 15% 80%, rgba(76, 138, 52, 0.3) 0%, transparent 55%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--pale);
}
.section-cta h2 { color: var(--white); }

.cta-lead {
  color: var(--pale);
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.contact-card {
  background: rgba(243, 245, 240, 0.06);
  border: 1px solid rgba(124, 187, 92, 0.3);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.contact-card:hover {
  border-color: var(--brand-light);
  background: rgba(243, 245, 240, 0.1);
  transform: translateY(-4px);
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 0.6rem;
}

.contact-card p { margin: 0; font-size: 0.95rem; }

.contact-card a {
  color: var(--pale);
  text-decoration: none;
  border-bottom: 1px dotted rgba(243, 245, 240, 0.4);
}
.contact-card a:hover {
  color: var(--brand-light);
  border-bottom-color: var(--brand-light);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--forest-deep);
  color: var(--steel-soft);
  padding: 2.25rem 0;
  border-top: 3px solid var(--brand);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer .brand img { height: 38px; }

.footer-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--pale);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--brand-light); }

.copyright {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin: 0;
}

/* ===== Micfil page ===== */
body.page-micfil .hero {
  min-height: auto;
  padding: 4rem 0 5rem;
}

/* --- animated route map --- */
.hero-route { margin-bottom: 28px; }
.route-path { stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.5; stroke-dasharray: 3 6; fill: none; }
.route-dot { fill: var(--amber-soft); }
.route-dot-glow { fill: var(--amber); opacity: 0.35; }
.route-ring { fill: none; stroke: var(--amber); stroke-width: 1.5; }
.route-marker-dot { fill: var(--brand-light); }
.route-marker-ring { fill: none; stroke: var(--brand-light); stroke-width: 1.5; }
.route-city { font-family: var(--font-head); font-weight: 600; font-size: 15px; fill: var(--white); }
.route-badge-card { fill: var(--white); }
.route-reveal-text { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; fill: var(--amber-soft); text-transform: uppercase; }

.hero-facts {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  flex-wrap: wrap;
}
.hero-fact b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--white); }
.hero-fact span { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

/* --- interactive jar --- */
.jar-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: 14px;
  padding: 28px 24px 24px;
}
.jar-stage { display: flex; justify-content: center; padding: 6px 0 4px; }
.jar-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
#stateLabel { font-size: 13px; font-weight: 500; color: var(--amber-soft); transition: color 0.3s; }
#stateLabel.clean { color: var(--brand-light); }
.slider-row { margin-top: 18px; }
.jar-panel input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--brand-light) 100%);
  outline: none;
  cursor: pointer;
}
.jar-panel input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--forest);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.jar-panel input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--forest);
  cursor: pointer;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  text-transform: uppercase;
}
.clarity-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); margin-top: 16px; overflow: hidden; }
.clarity-fill { height: 100%; background: var(--brand-light); width: 15%; transition: width 0.2s linear; }

/* --- problem cards --- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem-card { padding: 28px; background: var(--white); border: 1px solid var(--border-soft); border-radius: 8px; box-shadow: var(--shadow-md); }
.problem-card .card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.problem-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--amber); display: block; }
.problem-card h3 { font-size: 18px; margin-bottom: 10px; }
.problem-card p { font-size: 14.5px; margin: 0; }
.problem-icon { width: 34px; height: 34px; flex: none; }

/* --- spec banner --- */
.spec-banner {
  background: var(--forest);
  color: var(--white);
  border-radius: 10px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.spec-banner .micron { font-family: var(--font-head); font-size: 62px; line-height: 1; color: var(--white); white-space: nowrap; }
.spec-banner .micron span { font-size: 21px; color: var(--brand-light); margin-left: 6px; }
.spec-banner-text { max-width: 520px; }
.spec-banner-text h3 { font-size: 23px; color: var(--white); margin-bottom: 10px; }
.spec-banner-text p { color: rgba(255, 255, 255, 0.72); font-size: 15px; margin: 0; }
.spec-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.spec-badge { font-family: var(--font-mono); font-size: 11px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px; color: rgba(255, 255, 255, 0.85); }
.micron-scale { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.scale-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.scale-row:last-child { margin-bottom: 0; }
.scale-label { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255, 255, 255, 0.6); width: 118px; flex: none; }
.scale-track { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; max-width: 200px; }
.scale-fill { height: 100%; width: 0; border-radius: 3px; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.scale-fill.f-hair { background: rgba(255, 255, 255, 0.4); }
.scale-fill.f-eye { background: var(--brand-light); }
.scale-fill.f-micfil { background: var(--amber-soft); }
.reveal.visible .scale-fill.f-hair { width: 100%; }
.reveal.visible .scale-fill.f-eye { width: 57%; }
.reveal.visible .scale-fill.f-micfil { width: 1.5%; transition-delay: 0.3s; }
.scale-value { font-family: var(--font-mono); font-size: 10.5px; color: var(--white); width: 56px; flex: none; text-align: right; }

/* --- product range --- */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.product-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 0 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.product-card .product-photo { width: 100%; aspect-ratio: 0.82; object-fit: cover; display: block; background: var(--pale); border-bottom: 1px solid var(--border-soft); }
.product-card .product-body { padding: 18px 18px 0; display: flex; flex-direction: column; flex: 1; }
.product-card .flow-rate { font-family: var(--font-head); font-size: 28px; color: var(--forest); }
.product-card .flow-unit { font-family: var(--font-mono); font-size: 11px; color: var(--steel-soft); margin-bottom: 14px; display: block; }
.product-card .composition { font-family: var(--font-mono); font-size: 11.5px; color: var(--steel); background: var(--pale); padding: 8px 10px; border-radius: 4px; margin-bottom: 16px; line-height: 1.5; }
.product-card .quote-link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.product-card .quote-link:hover { color: var(--forest); }
.product-note { margin-top: 24px; font-size: 13.5px; color: var(--steel-soft); }

/* --- pillars --- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { padding-top: 20px; border-top: 2px solid var(--forest); }
.pillar h3 { font-size: 17px; margin-bottom: 10px; }
.pillar p { font-size: 14px; margin: 0; }

/* --- coverage --- */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.coverage-list { list-style: none; padding: 0; margin: 0; }
.coverage-list li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.coverage-list li .region { font-family: var(--font-head); font-size: 18px; color: var(--forest); min-width: 150px; }
.coverage-list li .desc { font-size: 14px; color: var(--steel); }

/* --- coverage radar --- */
.radar-panel { aspect-ratio: 4/3; border-radius: 10px; background: var(--forest); position: relative; overflow: hidden; padding: 20px; }
.radar-ring { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 0.5; }
.radar-spoke { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.radar-hub-ring { fill: none; stroke: var(--brand-light); stroke-width: 1.5; }
.radar-hub-dot { fill: var(--brand-light); }
.radar-node-ring { fill: none; stroke: var(--amber); stroke-width: 1.3; }
.radar-node-dot { fill: var(--amber-soft); }
.radar-pulse { fill: none; stroke: var(--amber); stroke-width: 1.2; }
.radar-label { font-family: var(--font-mono); font-size: 10.5px; fill: var(--white); font-weight: 500; }
.radar-sublabel { font-family: var(--font-mono); font-size: 8.5px; fill: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.04em; }
.radar-hublabel { font-family: var(--font-head); font-size: 12px; fill: var(--white); font-weight: 600; }
.radar-node-sec-ring { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.1; }
.radar-node-sec-dot { fill: rgba(255, 255, 255, 0.55); }
.radar-label-sec { font-family: var(--font-mono); font-size: 9.5px; fill: rgba(255, 255, 255, 0.65); }
.radar-spoke-sec { stroke: rgba(255, 255, 255, 0.13); stroke-width: 0.75; stroke-dasharray: 1.5 4; fill: none; }
.radar-legend { font-family: var(--font-mono); font-size: 8px; fill: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 0.04em; }

/* --- micfil contact --- */
.micfil-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-direct { margin-top: 32px; }
.contact-direct a { display: block; font-family: var(--font-mono); font-size: 15px; color: var(--brand-light); text-decoration: none; margin-bottom: 8px; }
.contact-direct a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; align-self: center; }
.contact-actions .btn { text-align: center; }
.contact-actions-title { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin: 0 0 4px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; }

  .coming-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .strip-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { display: block; min-height: 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-illustration {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }

  .oil-demo { grid-template-columns: 1fr; text-align: center; }
  .oil-readouts { grid-template-columns: repeat(2, 1fr); text-align: left; }

  /* micfil page */
  .problem-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .coverage-grid,
  .micfil-contact-grid,
  .spec-banner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* mobile hamburger menu */
  .nav-toggle { display: flex; }

  .header-inner { flex-wrap: nowrap; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--forest-deep);
    border-bottom: 3px solid var(--brand);
    padding: 0.5rem 0 1rem;
  }
  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
  }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav a:not(.nav-cta):hover { background: rgba(124, 187, 92, 0.12); }

  .site-nav .nav-cta {
    margin: 0.75rem 1.5rem 0;
    text-align: center;
  }

  /* language switcher sits next to the hamburger */
  .lang-switch { order: 1; margin-left: auto; }
  .nav-toggle { order: 2; }
}

@media (max-width: 620px) {
  .section { padding: 3.5rem 0; }
  .angle-top { padding-top: 5.5rem; }

  .contact-grid,
  .strip-grid,
  .steps,
  .oil-readouts { grid-template-columns: 1fr; }

  .section-head { gap: 0.9rem; }
  .section-num { width: 38px; height: 38px; flex-basis: 38px; font-size: 0.85rem; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .img-frame { display: none; }

  /* micfil page */
  .product-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .spec-banner { padding: 32px 24px; }
}

/* ============ Forms (RecyclingMongolia.Forms) ============ */
:root {
  --form-error: #B3372B;
}

/* honeypot: moved off-screen (not display:none, so naive bots still fill it) */
.rm-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-intro { max-width: 640px; }

.form-fields {
  display: grid;
  gap: 1.4rem;
  max-width: 640px;
  margin-bottom: 2rem;
}

.form-field label,
.form-field legend {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

fieldset.form-field {
  border: 0;
  padding: 0;
  margin: 0;
}

.form-field input[type=text],
.form-field input[type=email],
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(76, 138, 52, 0.18);
}

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: var(--form-error);
}

.form-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.form-choice input {
  accent-color: var(--brand);
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: 0.3rem;
}
.form-choice label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--steel);
  margin-bottom: 0;
}

.form-help {
  font-size: 0.85rem;
  color: var(--steel-soft);
  margin: 0.35rem 0 0;
}

.form-error {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--form-error);
  margin: 0.35rem 0 0;
}

.form-error-summary {
  max-width: 640px;
  background: rgba(179, 55, 43, 0.08);
  border: 1px solid rgba(179, 55, 43, 0.35);
  border-left: 4px solid var(--form-error);
  border-radius: 4px;
  color: var(--form-error);
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.75rem;
}

.form-success {
  max-width: 640px;
  background: rgba(76, 138, 52, 0.08);
  border: 1px solid rgba(76, 138, 52, 0.3);
  border-left: 4px solid var(--brand);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
}
.form-success p:last-child { margin-bottom: 0; }

button.form-submit {
  border: 0;
  cursor: pointer;
}

/* ============================================================
   News module (overview grid, article page, sectionNews block)
   ============================================================ */
.news-grid { margin-bottom: 2.5rem; }

.news-card h3 { text-transform: none; letter-spacing: 0; }
.news-card h3 a {
  color: var(--forest);
  text-decoration: none;
}
.news-card h3 a:hover { color: var(--brand); }

.news-card-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 0.5rem;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.news-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(76, 138, 52, 0.1);
  border: 1px solid rgba(76, 138, 52, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  text-decoration: none;
}
.news-tag:hover {
  background: var(--brand);
  color: var(--white);
}

/* category filter pills */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.news-filter-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.news-filter-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.news-filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.news-empty {
  color: var(--steel-soft);
  padding: 2rem 0;
}

/* pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.pagination-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.pagination-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pagination-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel-soft);
}

/* article page */
.article-container { max-width: 800px; }

.article-head { margin-bottom: 2rem; }
.article-head h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.article-hero {
  margin: 0 0 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-hero img { width: 100%; }

.article-back { margin-top: 2.5rem; }
.article-back .text-link { color: var(--brand); }

/* rich text (TipTap) output — first place the site renders RTE HTML */
.rte-content h2,
.rte-content h3,
.rte-content h4 {
  margin: 1.8rem 0 0.75rem;
}
.rte-content h4 {
  font-family: var(--font-head);
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.rte-content p { margin-bottom: 1rem; }
.rte-content ul,
.rte-content ol {
  margin: 0 0 1rem 1.4rem;
}
.rte-content li { margin-bottom: 0.35rem; }
.rte-content a {
  color: var(--brand);
  font-weight: 600;
  text-underline-offset: 3px;
}
.rte-content blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 4px solid var(--brand);
  color: var(--steel-soft);
  font-style: italic;
}
.rte-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.rte-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ============ News ticker ============ */
.news-ticker { background: var(--forest); border-bottom: 1px solid var(--line-on-dark); padding: 0.45rem 0; overflow: hidden; }
.news-ticker-inner { display: flex; align-items: center; gap: 1rem; }
.news-ticker-label { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; color: var(--brand-light); white-space: nowrap; flex-shrink: 0; }
.news-ticker-viewport { overflow: hidden; flex: 1; min-width: 0; }
.news-ticker-track { display: flex; width: max-content; animation: ticker-scroll var(--ticker-duration, 40s) linear infinite; }
.news-ticker:hover .news-ticker-track,
.news-ticker:focus-within .news-ticker-track { animation-play-state: paused; }
.news-ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.news-ticker-list li { white-space: nowrap; padding-right: 3rem; } /* spacing inside each half; no gap on track so both halves are identical width */
.news-ticker-list a { color: var(--white); text-decoration: none; font-size: 0.9rem; }
.news-ticker-list a:hover { color: var(--brand-light); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .news-ticker-track { animation: none; }
  .news-ticker-viewport { overflow-x: auto; }
  .news-ticker-list[aria-hidden="true"] { display: none; }
}
