/* ===============================
   CRITICAL.CSS (FINAL – CLEAN)
   Foundation + Header + Core Layout
   =============================== */

:root{
  --max-width:1100px;
  --radius:14px;
  --brand:#2c7a7b;
  --bg:#ffffff;
  --text:#111;
}

html{ font-size:18px; } /* requested bigger base */

*,
*::before,
*::after{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.5;
}

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

a{ color:inherit; }

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

/* ================= ACCESSIBILITY ================= */

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.2);
  border-radius:10px;
  z-index:9999;
}

/* ================= HEADER / NAV ================= */

header{
  position:relative;
  z-index:10;
  background:#fff;
  border-bottom:1px solid #eee;
}

nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.brand a{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

.brand img{
  width:48px;
  height:48px;
  object-fit:contain;
}

.name strong{
  display:block;
  font-size:16px;
}
.name span{
  font-size:13px;
  opacity:.7;
}

.navlinks{
  display:flex;
  gap:24px;
}

.navlinks a{
  text-decoration:none;
  color:#111;
  font-weight:500;
}

.navlinks a[aria-current="page"]{
  color:var(--brand);
}

/* ================= HERO ================= */

.hero{
  position:relative;
  overflow:hidden;
}

.hero picture img{
  width:100%;
  height:auto;
}

/* ================= SECTION / CARDS ================= */

.section{ padding:48px 0; }

.card{
  background:#fff;
  border-radius:var(--radius);
}

.cardPad{ padding:32px; }

/* ================= GRID SYSTEM ================= */

.twoCol{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
}

/* ================= BUTTONS (CRITICAL) ================= */

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:30px;
  border:1px solid rgba(0,0,0,0.14);
  text-decoration:none;
  background:#fff;
  color:#111;
  font-size:14px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .2s ease;
  white-space:nowrap;
}

.btn:hover{ transform:translateY(-2px); }
.btn svg{ flex:0 0 auto; }

.primary.btn{
  background:var(--brand);
  color:#fff;
  border:none;
}

.btn.grab,
.btn.social{
  border-color:rgba(0,0,0,0.14);
}

/* ================= MOSAIC / SQUARE GRID (CRITICAL) ================= */

.square-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.mosaic.square-grid > picture{
  display:block;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:14px;
}

.mosaic.square-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.mosaic.square-grid > *{
  min-width:0;
  min-height:0;
}

/* ================= FOOTER (CRITICAL) ================= */

.footer{
  margin-top:60px;
  padding:60px 0;
  background:#f8f8f8;
}

.footerGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:40px;
}

.footer a{
  text-decoration:none;
}