/* =========================
   Fonts
   ========================= */
@font-face{
  font-family:"A2Mazarin";
  src:url("../fonts/A2 Mazarin.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

/* General Sans variable font */
@font-face{
  font-family:"GeneralSans";
  src:url("../fonts/GeneralSans-Variable.ttf") format("truetype");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}

/* Smooth anchor scrolling */
html{ scroll-behavior:smooth; }

/* =========================
   Variables
   ========================= */
:root{
  --bg:#1f1f1f;
  --panel:#5f9f9b;
  --text:#eaeaea;
  --muted:#bfc3c7;
  --rule:rgba(255,255,255,.25);
  --card:rgba(255,255,255,.02);
  --max:1100px;
  --gutter:24px;
}

/* =========================
   Language switch highlighting
   ========================= */
.lang{
  display:flex;
  align-items:center;
  gap:8px;
}

.lang a{
  padding:4px 6px;
  border-radius:999px;
  opacity:.85;
}

/* Active language (use aria-current="page") */
.lang a[aria-current="page"]{
  opacity:1;
  color:var(--text);
  background:rgba(255,255,255,.10);
  box-shadow:0 0 0 1px rgba(255,255,255,.15) inset;
}

/* =========================
   Base
   ========================= */
body{
  background:var(--bg);
  color:var(--text);
  font-family:GeneralSans, system-ui, sans-serif;
  font-weight:400;   /* force normal */
  line-height:1.35;
}

/* Headline font */
.hero h1{
  font-family:GeneralSans, system-ui, sans-serif;
  
  /* keep your existing size/weight rules */
}

/* Optional: also use A2 for the teal panel heading */
.panel h2{
  font-family:GeneralSans, system-ui, sans-serif;
  font-weight:400;   /* force normal */
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--bg);
  color:var(--text);
  font-family:GeneralSans, system-ui, sans-serif;
  font-weight:400;   /* force normal */
  line-height:1.35;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.9}
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter);
}

/* =========================
   Header / Nav
   ========================= */
header{padding:22px 0 10px}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{height:36px}
.brand .label{color:var(--muted)}
nav{
  display:flex;
  gap:26px;
  font-size:14px;
  color:var(--muted);
}
.rule{
  border-top:1px solid var(--rule);
  margin-top:16px;
}

/* =========================
   Hero
   ========================= */
.hero{padding:54px 0 34px}
.hero h1{
  font-size:44px;
  font-weight:400;
  margin:0 0 10px;
}
.hero p{
  font-size:22px;
  color:var(--muted);
  max-width:820px;
  margin:0;
}

/* =========================
   Split section
   ========================= */
.split{
  margin:28px 0 44px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  overflow:hidden;
}
.split img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.panel{
  background:var(--panel);
  color:#fff;
  padding:28px 26px;
}
.panel h2{
  margin:0 0 12px;
  font-size:22px;
}
.cta{
  display:flex;
  align-items:center;
  gap:16px;          /* space between line and link */
  margin-top:18px;
}

.cta .line{
  width:56px;
  height:1px;
  background:rgba(255,255,255,.6);
  margin:0;          /* remove vertical margin */
}

/* =========================
   People
   ========================= */
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:34px 26px;
  padding:16px 0 28px;
}
.person{text-align:center}
.photo{
  width:120px;
  height:120px;
  border-radius:50%;
  overflow:hidden;
  margin:0 auto 14px;
}
.photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.person .name{
  font-size:13px;
  font-weight:600;
  color:var(--muted);
}
.person p{
  font-size:12px;
  color:var(--muted);
  margin:4px 0;
}

/* =========================
   Footer
   ========================= */
footer{
  font-size:12px;
  color:var(--muted);
  padding:18px 0 30px;
}
footer .fine{
  text-align:center;
  margin-top:20px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .hero h1{font-size:38px}
  .hero p{font-size:20px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
}
@media (max-width:520px){
  .hero h1{font-size:32px}
  .grid{grid-template-columns:1fr}
}