/* labimba.ai — static site, no JS, system fonts only (no external requests → no GDPR font issue) */

:root {
  --paper: #f7f5f1;
  --card: #fffefb;
  --ink: #1c1e1c;
  --muted: #63675f;
  --accent: #1e5c46;
  --accent-soft: #e8f0ec;
  --hairline: #e3e0d6;
  --ph-bg: #fdf3d8;
  --ph-line: #b98900;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header.site {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
header.site .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 1.4rem; padding-bottom: 1.4rem; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .dot { color: var(--accent); }
nav.main { display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav.main a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero { padding: 5.5rem 0 4.5rem; }
.hero .badge {
  display: inline-block;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid #cfe0d7; border-radius: 999px;
  padding: 0.3rem 0.9rem; margin-bottom: 1.6rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 46rem;
}
.hero p.lead {
  margin-top: 1.5rem; max-width: 42rem;
  font-size: 1.15rem; color: var(--muted);
}

/* Sections */
section { padding: 3.8rem 0; border-top: 1px solid var(--hairline); }
.overline {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.7rem;
}
section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 1rem; max-width: 40rem;
}
section > .wrap > p.intro { max-width: 44rem; color: var(--muted); margin-bottom: 2.2rem; }

/* Cards */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); margin-top: 2rem; }
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.4rem;
}
.card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.14rem; margin-bottom: 0.55rem;
}
.card p { font-size: 0.96rem; color: var(--muted); }

/* Team */
.person { display: flex; flex-direction: column; gap: 0.15rem; }
.person .name { font-family: var(--serif); font-size: 1.14rem; }
.person .role { font-size: 0.92rem; color: var(--muted); }

/* Transparency band on home */
.band {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 2.2rem;
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  align-items: center; justify-content: space-between;
}
.band p { max-width: 36rem; color: var(--muted); font-size: 0.98rem; }
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 0.7rem 1.4rem; border-radius: 8px;
  text-decoration: none; font-size: 0.95rem; white-space: nowrap;
}
.btn:hover { background: #17493a; }

/* Definition lists (trasparenza) */
.info h2 {
  font-size: 1.28rem; margin: 2.6rem 0 0.9rem;
  padding-top: 2rem; border-top: 1px solid var(--hairline);
}
.info h2:first-of-type { border-top: none; padding-top: 0; margin-top: 2rem; }
dl { display: grid; grid-template-columns: minmax(11rem, 16rem) 1fr; row-gap: 0.55rem; column-gap: 1.4rem; }
dt { color: var(--muted); font-size: 0.95rem; padding-top: 0.1rem; }
dd { font-size: 1rem; }
@media (max-width: 40rem) { dl { grid-template-columns: 1fr; } dt { margin-top: 0.7rem; } }

/* Placeholder slots — visibly provisional until real data lands */
.ph {
  background: var(--ph-bg);
  border-bottom: 1px dashed var(--ph-line);
  padding: 0 0.25rem;
  border-radius: 3px;
}

.note {
  background: var(--accent-soft);
  border: 1px solid #cfe0d7;
  border-radius: 10px;
  padding: 1rem 1.3rem;
  font-size: 0.94rem;
  color: #2c4a3e;
  margin: 1.6rem 0;
  max-width: 46rem;
}

/* Prose pages */
.prose { padding: 3.5rem 0 4.5rem; }
.prose h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.prose p.lead { color: var(--muted); max-width: 46rem; }
.prose h2 { font-family: var(--serif); font-weight: 500; }
.prose section-less-h2 { margin-top: 2rem; }
.prose p + p { margin-top: 0.9rem; }
.prose ul { margin: 0.7rem 0 0.7rem 1.2rem; }
.prose a { color: var(--accent); }

/* Contact */
.contact dl { max-width: 34rem; }

/* Footer */
footer.site {
  border-top: 1px solid var(--hairline);
  padding: 2.6rem 0 3.2rem;
  font-size: 0.88rem; color: var(--muted);
}
footer.site .legal { max-width: 52rem; }
footer.site .legal p + p { margin-top: 0.5rem; }
footer.site nav { margin-top: 1.2rem; display: flex; gap: 1.2rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent); }
