/* Mezli brand (2021 guideline): blue #4473AC, white, yellow #EECB41.
   Headlines were Paralucent (Lexend is the closest Google Font); hand-lettered
   notes were Permanent Marker, which Google Fonts carries. */
:root{
  --blue:#4473ac;--deep:#2c4f7f;--link:#2f5a92;--yellow:#eecb41;
  --ink:#1c2b44;--muted:#56627a;--line:#d6deea;--wash:#eef3f9;--white:#fff;
  --disp:Lexend,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --hand:"Permanent Marker","Comic Sans MS",cursive;
  --gutter:20px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font:300 17px/1.65 var(--disp);overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--deep);text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:2px}
h1,h2,h3{font-family:var(--disp);font-weight:600;margin:0;letter-spacing:-.01em;line-height:1.2}
p{margin:0}

.wrap{max-width:1160px;margin-left:auto;margin-right:auto;padding-left:var(--gutter);padding-right:var(--gutter)}

/* Hero: blue field with the wordmark, photo straddling into white. */
.hero{background:var(--blue);color:var(--white);padding:64px 0 40px}
.wordmark{width:min(560px,78vw);color:var(--white)}
.wordmark svg{width:100%;height:auto}
.tagline{margin-top:22px;font:400 clamp(19px,2.3vw,26px)/1.35 var(--disp);max-width:40ch}
.photo-band{background:linear-gradient(var(--blue) 0 50%,var(--white) 50% 100%)}
.photo{margin-top:0;margin-bottom:0}
.photo img{width:100%;height:auto;border-radius:6px;background:#7ea3cf}
.photo figcaption{font:400 clamp(17px,2vw,22px)/1.2 var(--hand);color:var(--deep);margin:12px 4px 0 auto;width:max-content;max-width:100%;transform:rotate(-2deg);transform-origin:right center}

main{padding-bottom:24px}
main>section{margin-top:80px}
main>section:first-child{margin-top:56px}
h2{font-size:clamp(26px,3vw,32px);margin-bottom:24px;color:var(--ink)}

/* Story with a timeline rail. */
.story{display:grid;gap:48px}
.prose{max-width:64ch}
.prose p+p{margin-top:18px}
.prose .lede{font-size:clamp(18px,1.9vw,21px);line-height:1.6;font-weight:400}
.timeline{background:var(--wash);border-radius:6px;padding:24px 24px 20px;align-self:start}
.timeline h3{font-size:18px;margin-bottom:14px;color:var(--deep)}
.timeline ol{list-style:none;margin:0;padding:0;border-left:2px solid var(--blue)}
.timeline li{position:relative;padding:0 0 14px 18px;font-size:15px;line-height:1.5}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:-6px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--white);border:2px solid var(--blue)}
.timeline li:last-child::before{background:var(--yellow);border-color:var(--yellow)}
.timeline time{display:block;font-weight:500;color:var(--deep)}

/* Press: grouped by year, newest first. */
.year+.year{margin-top:32px}
.year h3{font-size:18px;color:var(--deep);padding-bottom:10px;border-bottom:2px solid var(--blue)}
.press ul{list-style:none;margin:0;padding:0}
.press li{display:grid;grid-template-columns:1fr;gap:2px;padding:14px 0;border-bottom:1px solid var(--line)}
.press .outlet{font-size:14px;font-weight:500;color:var(--muted)}
.press li a{font-weight:400;overflow-wrap:break-word}
.press time{font-size:14px;color:var(--muted)}

/* Videos: linked thumbnails, no embeds. */
.video-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:28px 24px}
.video{display:block;text-decoration:none;color:var(--ink)}
.thumb{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:var(--wash)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb::after{content:"";position:absolute;right:10px;bottom:10px;width:38px;height:38px;border-radius:50%;background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231c2b44'/%3E%3C/svg%3E") center/20px no-repeat;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.vtitle{display:block;margin-top:12px;font-weight:500;line-height:1.4}
.vmeta{display:block;margin-top:4px;font-size:14px;color:var(--muted)}
.video:hover .vtitle{color:var(--deep);text-decoration:underline;text-underline-offset:3px}

/* Team. */
.people{display:grid;gap:32px}
.person{border-top:4px solid var(--blue);padding-top:18px;max-width:60ch}
.person h3{font-size:22px}
.role{color:var(--muted);font-size:15px;margin:4px 0 12px !important}
.links{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px 20px}
.links a{font-weight:500}

footer{margin-top:88px;background:var(--blue);color:var(--white)}
.foot{padding-top:32px;padding-bottom:36px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 32px;font-size:15px}
.foot a{color:var(--white);font-weight:500}
.foot a:hover{color:var(--yellow)}
.foot :focus-visible{outline-color:var(--yellow)}

@media (min-width:720px){
  :root{--gutter:32px}
  .press li{grid-template-columns:200px 1fr 64px;gap:24px;align-items:baseline}
  .press time{text-align:right}
  .people{grid-template-columns:1fr 1fr;gap:48px 40px}
}
@media (min-width:980px){
  .people{grid-template-columns:repeat(3,1fr);gap:48px 40px}
  .story{grid-template-columns:minmax(0,1fr) 320px;gap:64px}
  .hero{padding:88px 0 56px}
}
@media (max-width:419px){
  :root{--gutter:16px}
  .hero{padding:44px 0 28px}
  main>section{margin-top:60px}
  main>section:first-child{margin-top:44px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
