/* Axelera B.V. · single page, mature & sophisticated
   Palette & hero photo carried over from the original axelera.nl */

:root {
  --ink: #111111;
  --ink-soft: #666666;
  --paper: #ffffff;
  --tint: #f7f7f7;
  --line: #eeeeee;
  --accent: #6c63ff;
  --accent-deep: #4641ff;
  --accent-bright: #06d19c;
  --accent-bright-deep: #05bd8d;
  --dark: #292843;
  --dark-deep: #161552;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, .brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); margin: 14px 0 22px; }
h1 em { font-style: normal; color: var(--accent-bright); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 10px 0 18px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
p { color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}
.eyebrow.loud { color: var(--accent-bright); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav .logo img { height: 36px; width: auto; display: block; }
.nav nav { display: flex; gap: 26px; align-items: center; font-size: 0.92rem; }
.nav nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.nav nav a:hover { color: #fff; text-decoration: none; }
.nav nav a.cta {
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 18px; border-radius: 999px;
}
.nav nav a.cta:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; text-decoration: none; }

/* hero: photo + gradient, like the original */
.hero {
  position: relative;
  background: #333c44 url("../images/office-building.jpg") center / cover no-repeat;
  color: #fff;
  padding: 130px 0 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, #000000eb, #4173ffa8);
}
.hero .wrap { position: relative; }
.hero .eyebrow { color: #fff; opacity: 0.9; }
.hero .lede { font-size: 1.16rem; max-width: 620px; color: rgba(255, 255, 255, 0.88); }
.actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 0.95rem; text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn.solid { background: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-bright-deep); border-color: var(--accent-bright-deep); color: #fff; text-decoration: none; }
.btn.ghost { border-color: #fff; color: #fff; background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.on-light .btn.ghost, .section .btn.ghost { border-color: var(--accent); color: var(--accent); }
.on-light .btn.ghost:hover, .section .btn.ghost:hover { background: var(--tint); }

/* sections */
.section { padding: 88px 0; }
/* anchor jumps land below the sticky nav */
section[id] { scroll-margin-top: 76px; }
.section.tinted { background: var(--tint); }
.section-lede { max-width: 720px; font-size: 1.05rem; margin-bottom: 36px; }

.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
}
.card .illus { display: block; max-width: 180px; margin: 0 auto 18px; }
.card p { font-size: 0.96rem; }
.card.link { display: block; text-decoration: none; color: inherit; }
.card.link:hover { border-color: var(--accent); text-decoration: none; box-shadow: 0 4px 18px rgba(108, 99, 255, 0.14); }
.card.link:hover h3 { color: var(--accent); }

/* MAN section: full footprint banner (world map + flanking stat circles) on white, banner-proportioned like the NGO section */
.man {
  position: relative;
  background: #fff url("../images/man-banner.png") center / contain no-repeat;
  /* same proportions as the Aquaponics section so the two banners match */
  aspect-ratio: 1741 / 717;
  display: flex;
  align-items: center;
  padding: 28px 0;
}
.man .wrap { width: 100%; display: flex; justify-content: center; }
.man a { color: var(--accent-bright-deep); }
.man .eyebrow.loud { color: var(--accent-bright-deep); }
/* single centered text block, translucent so the banner's map and stat circles show through */
.man-intro {
  background: rgba(246, 246, 249, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  max-width: 620px;
  width: 100%;
  text-align: center;
}
.man-intro h2 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); margin: 8px 0 12px; }
.man-intro .section-lede { font-size: 0.9rem; margin-bottom: 16px; }
.man-intro .country-chips { gap: 8px 10px; margin-bottom: 0; justify-content: center; }
.man-intro .country-chips li { padding: 5px 12px; font-size: 0.82rem; }
.man-intro .country-chips li { border-color: #d8d8e4; color: var(--ink-soft); }

/* NGO loud section: Aquaponics United greenhouse photo behind a dark overlay */
.ngo {
  position: relative;
  background: var(--dark) url("../images/aquaponics-greenhouse.jpg") center / cover no-repeat;
  /* section height tracks the banner aspect so faces and the SDG badge stay visible */
  aspect-ratio: 1741 / 717;
  display: flex;
  align-items: center;
  color: #e9e9f2;
}
.ngo::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(41, 40, 67, 0.80);
}
.ngo .wrap { position: relative; width: 100%; }
.ngo h2 { color: #fff; }
.ngo .section-lede { color: #b9b9cc; }
.ngo a { color: var(--accent-bright); }

/* Country chips: the full delivery footprint, always fully visible */
.country-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 36px;
  padding: 0;
}
.country-chips li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
}

/* CTA + footer */
.cta-block { background: linear-gradient(to bottom, var(--accent), var(--accent-deep)); padding: 84px 0; text-align: center; color: #fff; }
.cta-block h2 { color: #fff; }
.cta-block p { margin: 8px auto 26px; max-width: 560px; color: rgba(255, 255, 255, 0.85); }
.cta-block a { color: #fff; }
.cta-block .btn.solid { background: #fff; color: var(--accent-deep); }
.cta-block .btn.solid:hover { background: var(--accent-bright); color: #fff; }

.footer { background: var(--dark); color: #b9b9cc; padding: 64px 0; font-size: 0.9rem; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer .brand.small { margin-bottom: 10px; }
.footer .brand.small img { height: 30px; width: auto; display: block; margin-bottom: 12px; }
.footer p { color: #b9b9cc; margin-bottom: 10px; }
.footer a { color: #e9e9f2; }
.foot-h { color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }

@media (max-width: 860px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  /* phones: banner becomes a top strip, text box sits below it: no overlap possible */
  .man {
    aspect-ratio: auto;
    background-size: 100% auto;
    background-position: center top;
    align-items: flex-end;
    /* clear the banner strip: image height is 31vw (363/1177) plus a gap */
    padding: calc(31vw + 20px) 0 32px;
  }
  .nav nav a:not(.cta) { display: none; }
  .footer .cols { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 90px 0 80px; }
}
/* Phantom stack section: phantombot.bot design language
   (black, green accent #3fb950, JetBrains Mono, terminal windows) */
.phantoms {
  background-color: #000;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  color: #fff;
}
.phantoms .eyebrow { color: #3fb950; font-family: "JetBrains Mono", monospace; }
.phantoms h2 { font-family: "JetBrains Mono", monospace; color: #fff; }
.phantoms .section-lede { color: #888; max-width: 760px; }

.ph-terminal {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin: 34px 0 10px;
}
.ph-term-header {
  display: flex; align-items: center; gap: 7px;
  background: #161b22; padding: 10px 14px;
  border-bottom: 1px solid #30363d;
}
.ph-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.ph-dot.red { background: #ff5f56; } .ph-dot.yellow { background: #ffbd2e; } .ph-dot.green { background: #27c93f; }
.ph-term-title { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: #888; margin-left: 8px; }
.ph-term-body img { display: block; width: 100%; height: auto; }

.ph-points {
  list-style: none; max-width: 760px; margin: 26px auto 40px;
  font-family: "JetBrains Mono", monospace; font-size: 0.9rem; color: #888;
  text-align: left; line-height: 1.65;
}
.ph-points li { padding-left: 1.4rem; position: relative; margin-bottom: 10px; }
.ph-points li::before { content: '>'; position: absolute; left: 0; color: #3fb950; font-weight: 700; }
.ph-points strong { color: #fff; }

.ph-grid { margin-top: 8px; }
.ph-card {
  display: block; text-decoration: none; color: inherit;
  background: #0d1117; border: 1px solid #30363d; border-radius: 10px;
  padding: 22px 22px 18px; position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ph-card:hover { transform: translateY(-3px); border-color: #3fb950; text-decoration: none; }
.ph-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ph-card-head img { height: 30px; width: auto; display: block; }
.ph-card h3 { font-family: "JetBrains Mono", monospace; color: #fff; margin: 0; font-size: 1.05rem; }
.ph-tag {
  margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 0.68rem;
  color: #3fb950; border: 1px solid rgba(63, 185, 80, 0.45); border-radius: 20px;
  padding: 2px 10px; letter-spacing: 0.04em;
}
.ph-tag.alt { color: #a371f7; border-color: rgba(163, 113, 247, 0.45); }
.ph-card > p { color: #888; font-size: 0.92rem; }
.ph-feats { list-style: none; margin: 14px 0 0; }
.ph-feats li {
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: #888;
  padding-left: 1.2rem; position: relative; line-height: 1.5; margin-bottom: 7px;
}
.ph-feats li::before { content: '>'; position: absolute; left: 0; color: #3fb950; }

@media (max-width: 860px) {
  .ph-points { margin-left: 0; margin-right: 0; }
  .ph-terminal { margin-left: 0; margin-right: 0; }
}
