
/* Michela Schiff Giorgini Foundation — mini site
   Typography: Garamond (body) + GillFo-Black (titles)
   If you own GillFo-Black, place fonts in /fonts and keep filenames below.
*/
:root {
  --blue: #1a78ac;
  --blue-soft: #9dd4fa;
  --ink: #1d3b4a;
  --maxw: 980px;
}

@font-face {
  font-family: "GillSansWeb";
  src: url("fonts/GillSans-Regular.woff2") format("woff2"),
       url("fonts/GillSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GillSansWeb";
  src: url("fonts/GillSans-Medium.woff2") format("woff2"),
       url("fonts/GillSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GillSansWeb";
  src: url("fonts/GillSans-Bold.woff2") format("woff2"),
       url("fonts/GillSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GillSansWeb";
  src: url("fonts/GillSans-Heavy.woff2") format("woff2"),
       url("fonts/GillSans-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EBGaramond";
  src: url("fonts/EBGaramond-Regular.woff2") format("woff2"),
       url("fonts/EBGaramond-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}




html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--blue);
  background: #fff;
  font-family: "EBGaramon", "Garamond", "EB Garamond", "Garamond Premier Pro", serif;
  line-height: 1.55;
  font-size: 18px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 20px 54px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--blue-soft);
}

.brand {
  display: grid;
  gap: 6px;
}

.kicker {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blue) 85%, white);
}

h1 {
  margin: 0;
  font-family: "GillSansWeb", "Gill Sans", "GillSans", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: .02em;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.lang a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
}

.lang a[aria-current="page"] {
  border-color: var(--blue-soft);
  background: color-mix(in srgb, var(--blue-soft) 45%, white);
}

.lang .flag {
  font-size: 18px;
}

main {
  padding-top: 26px;
}

h2 {
  font-family: "GillSansWeb", "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
  font-weight: 900;
  margin: 0 0 10px;
  font-size: 24px;
}

.lead {
  font-size: 20px;
  margin: 0 0 18px;
}

.portrait {
  float: left;
  width: 150px;
  height: 150px;
  margin: 6px 18px 10px 0;
  border: 1px solid var(--blue-soft);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-radius: 6px;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card {
  margin-top: 24px;
  padding: 18px 18px;
  border: 1px solid var(--blue-soft);
  border-radius: 14px;
  background: color-mix(in srgb, white 90%, var(--blue-soft));
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: transparent;
  font-family: inherit;
  text-decoration: none;
}

.button:hover {
  background: color-mix(in srgb, var(--blue-soft) 35%, white);
}

.small {
  font-size: 14px;
  color: color-mix(in srgb, var(--blue) 70%, white);
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--blue-soft);
  font-size: 14px;
  color: color-mix(in srgb, var(--blue) 70%, white);
}

@media (max-width: 520px) {
  .portrait {
    float: none;
    margin: 0 0 14px 0;
    width: 140px;
    height: 140px;
  }
  .cta {
    justify-content: flex-start;
  }
}
