/* Open Sans variable font, self-hosted (SIL Open Font License, see fonts/OFL.txt) */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/open-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #1f2a33;
  --muted: #5a6670;
  --bg: #ffffff;
  --bg-soft: #f3f6f5;
  --line: #dde3e1;
  --sites: #5c9e31;
  --icos: #d81b60;
  --actris: #1e7f8c;
  --accent: #1b1a3d;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5em;
}

/* Header / logos */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  padding: 22px 24px;
  flex-wrap: wrap;
}
.logos a { display: block; transition: opacity .2s; }
.logos a:hover { opacity: .75; }
.logos img { height: 56px; width: auto; }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 60%, var(--bg) 100%),
    linear-gradient(135deg, #eaf4ec 0%, #e6f1f6 55%, #eceaf4 100%);
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25em;
}
.hero .subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.6em;
}
.hero .lead {
  max-width: 760px;
  margin: 0 auto 1em;
  font-size: 1.1rem;
}
.domains {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2em;
  padding: 0;
  list-style: none;
}
.domains li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

section { padding: clamp(56px, 8vw, 96px) 0; }
section.soft { background: var(--bg-soft); }
section h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.intro { max-width: 760px; }

/* Explore the network */
.explore {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 380px;
  justify-self: center;
  box-shadow: 0 10px 30px rgba(20, 40, 50, 0.08);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1em;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27, 26, 61, 0.25); }
.btn svg { width: 18px; height: 18px; }

/* Infrastructure cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5em;
}
.card {
  --c: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--c);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}
.card.sites { --c: var(--sites); }
.card.icos { --c: var(--icos); }
.card.actris { --c: var(--actris); }
.card-logo { height: 52px; margin-bottom: 20px; display: flex; align-items: center; }
.card-logo img { max-height: 52px; width: auto; }
.card .focus {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 0.8em;
}
.card p { font-size: 0.98rem; }
.tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  font-size: 0.78rem;
  background: var(--bg-soft);
  border-radius: 4px;
  padding: 3px 9px;
  color: var(--muted);
}
.card .more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c);
  text-decoration: none;
}
.card .more:hover { text-decoration: underline; }

/* Complementary observations */
.figure {
  margin: 2.5em 0 3em;
  border-radius: var(--radius);
  overflow: hidden;
}
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.principles li {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
}
.principles h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.principles p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .logos { padding: 0 0 16px; }
.site-footer .logos img { height: 40px; }
.site-footer p { text-align: center; margin: 0; }

@media (max-width: 900px) {
  .explore { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .logos img { height: 40px; }
  .principles { grid-template-columns: 1fr; }
}
