/* ==========================================================
   site.css — styles shared byte-for-byte by all six ayomilab
   marketing pages (index, brands, contact, insights, jobs,
   partnership).

   Extracted 2026-08-07. Previously each page carried its own
   copy inline, so a change to the design tokens or the footer
   meant editing six files and diverging if you missed one
   (which had already happened - see nav.scrolled).

   Loaded BEFORE each page's inline <style>, so page-specific
   rules continue to win on equal specificity.

   Rules that legitimately differ per page (#hero, .container,
   .hero-*, .reveal, nav.scrolled) deliberately stay inline.
   ========================================================== */

:root {
  --white: #F7F6F3;
  --off-white: #EEECEA;
  --beige: #E4E2DE;
  --warm-grey: #6B695F;
  --muted-sage: #8FA99B;
  --deep-navy: #2A2A2A;
  --navy-mid: #3D3D3D;
  --charcoal: #2A2A2A;
  --text-light: #5A5A5A;
  --border: #DEDAD4;
}

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

html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--deep-navy);
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

.lang-bar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 40px;
  height: 44px;
  background: var(--deep-navy);
  gap: 6px;
}

.lang-bar span { color: var(--warm-grey); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 10px; }

.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65); font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 14px; cursor: pointer; transition: all 0.2s;
}

.lang-btn:hover, .lang-btn.active {
  background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5);
}

nav {
  position: fixed; top: 44px; left: 0; right: 0;
  z-index: 99;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px;
  height: 72px;
  background: rgba(247,246,243,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--deep-navy);
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; line-height: 1.1;
}

.nav-logo span {
  font-size: 8px; letter-spacing: 0.4em; font-weight: 300;
  color: var(--muted-sage); font-family: 'DM Sans', sans-serif;
  text-transform: uppercase; margin-top: 3px;
}

.nav-links { display: flex; gap: 36px; }

.nav-links a {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none; transition: color 0.2s;
  font-weight: 400;
}

.nav-links a:hover { color: var(--deep-navy); }

.nav-links a.nav-link-active { opacity: 1; font-weight: 500; color: var(--deep-navy); }

.nav-cta {
  background: var(--deep-navy); color: #fff;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 10px 24px; text-decoration: none; transition: background 0.2s;
  font-family: 'DM Sans', sans-serif; font-weight: 400;
}

.nav-cta:hover { background: var(--navy-mid); }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--deep-navy);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }

.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
  box-shadow: -8px 0 32px rgba(42,42,42,0.08);
  border-left: 1px solid var(--border);
}

.nav-overlay.open { transform: translateX(0); pointer-events: all; }

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
}

.nav-overlay-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--deep-navy);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}

.nav-overlay-link:hover { color: var(--muted-sage); opacity: 1; }

.nav-overlay-link.current { color: var(--muted-sage) !important; opacity: 1 !important; }

.nav-overlay-link em { font-style: italic; }

.nav-overlay-bottom {
  margin-top: 48px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-sage);
}

.nav-overlay-bottom a { color: inherit; text-decoration: none; }

.nav-overlay-bottom a:hover { color: var(--deep-navy); }

.nav-overlay-lang { display: flex; gap: 8px; margin-top: 32px; }

.nav-overlay-lang .lang-btn { background: none; border: 1px solid var(--border); color: var(--deep-navy); padding: 4px 14px; }

.nav-overlay-lang .lang-btn:hover, .nav-overlay-lang .lang-btn.active { background: var(--deep-navy); color: var(--white); border-color: var(--deep-navy); }

.nav-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--deep-navy);
  opacity: 0.5;
  padding: 8px;
  font-size: 18px;
  line-height: 1;
  transition: opacity 0.2s;
}

.nav-overlay-close:hover { opacity: 1; }

.label {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--muted-sage); font-weight: 400; margin-bottom: 20px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep-navy);
  margin-bottom: 24px;
}

.section-title em { font-style: italic; color: var(--muted-sage); }

.divider {
  width: 40px; height: 1px; background: var(--muted-sage);
  margin: 28px 0;
}

.hero-headline em {
  font-style: italic;
  color: var(--muted-sage);
}

footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 32px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 15px; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }

.footer-contact-info a {
  font-size: 12px; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;
}

.footer-contact-info a:hover { color: #fff; }

.footer-whatsapp { display: inline-flex; align-items: center; gap: 6px; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;
}

.footer-nav a:hover, .footer-nav a.current { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}

.footer-copy {
  font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.05em;
}

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* Scroll reveal. Standardised 2026-08-07: previously five pages slid without
   fading (opacity:1) while insights.html faded (opacity:0) — the fade is now
   the behaviour everywhere. Geometry and timing keep the value five of the six
   pages already used (28px / 0.65s); only the fade is new.

   Because the resting state is now opacity:0 on every page, each page carries a
   <noscript> fallback that forces .reveal visible — otherwise content would be
   permanently invisible without JS. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

[data-nl], [data-fr], [data-en] { display: none !important; }

body.lang-nl [data-nl] { display: block !important; }

body.lang-fr [data-fr] { display: block !important; }

body.lang-en [data-en] { display: block !important; }

  body.lang-nl span[data-nl],
  body.lang-nl a[data-nl],
  body.lang-nl button[data-nl],
body.lang-nl label[data-nl] { display: inline !important; }

  body.lang-fr span[data-fr],
  body.lang-fr a[data-fr],
  body.lang-fr button[data-fr],
body.lang-fr label[data-fr] { display: inline !important; }

  body.lang-en span[data-en],
  body.lang-en a[data-en],
  body.lang-en button[data-en],
body.lang-en label[data-en] { display: inline !important; }

  body.lang-nl p[data-nl],
  body.lang-fr p[data-fr],
body.lang-en p[data-en] { display: block !important; }

  body.lang-nl li[data-nl],
  body.lang-fr li[data-fr],
body.lang-en li[data-en] { display: list-item !important; }

  body.lang-nl div[data-nl],
  body.lang-fr div[data-fr],
body.lang-en div[data-en] { display: block !important; }

/* Standardised 2026-08-07: index.html had 0.08 alpha, the other five 0.07.
   Fixed at 0.07 (what five of six already used). */
nav.scrolled { box-shadow: 0 4px 32px rgba(42,42,42,0.07); }
