/* Leucentra — site styles
   Colors and spacing are defined once here as variables; change them to restyle the whole site. */

:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --teal: #0f8b8d;
  --green: #3fae6a;
  --ink: #1d2733;
  --muted: #5b6b7c;
  --line: #dfe6ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 12px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--teal); }

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.2rem;
}
.brand img { width: 40px; height: 40px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--green), var(--teal), var(--navy-2), var(--green));
}
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--teal); background: #e7f4f4; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font: inherit; cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--teal) 130%);
  color: #fff; padding: 96px 0 88px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .tagline { font-size: 1.3rem; color: #bfe6dc; font-weight: 600; margin-bottom: 1rem; }
.hero p.lead { max-width: 62ch; color: #dbe6f0; font-size: 1.1rem; }
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { max-width: none; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline { border: 1px solid var(--teal); color: var(--teal); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; max-width: 60ch; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: #e7f4f4; color: var(--teal); font-size: 1.3rem; margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 500; color: var(--navy);
}

/* ---------- News ---------- */
.news-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-item {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease;
}
.news-item:hover { box-shadow: 0 8px 24px rgba(15,42,68,.10); transform: translateY(-2px); }
.news-item img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-meta { font-size: .85rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.news-tag { background: #e7f4f4; color: var(--teal); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.news-item h3 { margin: 0; }
.news-item p { color: var(--muted); margin: 0; }
.news-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--teal); }
.news-empty { color: var(--muted); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.name-part { border-left: 4px solid var(--green); padding: 4px 0 4px 18px; margin: 20px 0; }
.name-part strong { color: var(--navy); font-size: 1.15rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.profile .role { color: var(--teal); font-weight: 600; margin-top: -6px; }

/* ---------- Contact ---------- */
.contact-options { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Images ---------- */
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-image {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 16 / 9; }
}

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } }
.media-split img, .photo {
  width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3;
}
.photo-wide { aspect-ratio: 21 / 9; }

.banner { width: 100%; border-radius: var(--radius); margin-top: 32px; }

.profile-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 10px; margin-bottom: 20px;
}

/* ---------- CTA band + footer ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #c9d6e3; }
.cta .actions { justify-content: center; }

.site-footer { background: #0b1f33; color: #9fb2c5; padding: 40px 0; font-size: .95rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #d6e2ee; }
.site-footer strong { color: #fff; }
