@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/barlow-semi-condensed-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/public-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #102631;
  --body: #354d58;
  --blue: #145673;
  --accent: #a4d5e5;
  --pale: #f0f6f8;
  --line: #c9dade;
  --white: #fff;
  --gutter: clamp(1.125rem, 3.8vw, 3rem);
  --max-width: 77rem;
  color: var(--ink);
  background: var(--white);
  font: 1rem/1.65 "Public Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #126889; outline-offset: 4px; }
.skip { position: absolute; z-index: 1; top: .5rem; left: .5rem; transform: translateY(-200%); background: white; padding: .8rem 1rem; }
.skip:focus { transform: none; }
.wrap { width: min(var(--max-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.header { min-height: 6rem; display: flex; justify-content: space-between; align-items: center; gap: .65rem 2rem; }
.brand { display: flex; padding-block: .55rem; }
.brand img { display: block; width: 4.85rem; height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.8rem, 2.4vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: "Barlow Semi Condensed", "Public Sans", Arial, sans-serif; font-weight: 700; margin: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.7vw, 5.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.2rem, 1.75vw, 1.55rem); letter-spacing: -.012em; }
p { color: var(--body); max-width: 65ch; margin-block: .8rem 0; }
.lead { font-size: clamp(1.05rem, 1.55vw, 1.19rem); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); color: white; }
.hero .intro {
  align-self: center;
  max-width: calc(var(--max-width) / 2);
  margin-left: auto;
  padding: clamp(3rem, 6vw, 6.25rem) clamp(1.6rem, 5vw, 5rem) clamp(3rem, 6vw, 6.25rem) 0;
  width: calc(100% - var(--gutter));
}
.hero h1 { max-width: 15ch; text-wrap: wrap; }
.hero .lead { max-width: 46ch; margin-top: 1.15rem; color: #e2edf0; }
.hero figure { position: relative; min-height: 28rem; background: #d7e5ea; }
.hero figure img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 44%; }
.eyebrow { color: var(--blue); display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; font-size: .875rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow span { width: 1.8rem; height: .16rem; background: currentColor; }
.hero .eyebrow { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.95rem; padding: .55rem 1.1rem; background: var(--blue); color: white; border: 1px solid var(--blue); font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { background: #103f55; text-decoration: underline; }
.outline { background: transparent; color: var(--blue); }
.outline:hover { background: #deedf2; }
.hero .button { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero .outline { background: transparent; color: white; border-color: #9fb6bf; }
.hero .outline:hover { background: #24424f; }
.hero :focus-visible, .contact :focus-visible { outline-color: #f3d09a; }

.section { padding-block: clamp(3rem, 6vw, 6rem); }
[id] { scroll-margin-top: 1rem; }
.services { background: white; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); margin-top: clamp(1.25rem, 3vw, 2.5rem); }
.cards article { border-bottom: 1px solid var(--line); }
.cards article img { display: block; width: 100%; aspect-ratio: 1.85; height: auto; object-fit: cover; background: var(--pale); }
.service-copy { padding-block: 1.2rem 1.55rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.4rem clamp(2rem, 7vw, 6rem); }
.two .lead { margin-top: 0; }
#sobre { border-top: 1px solid var(--line); }

.news { background: var(--pale); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 3vw, 2.25rem); margin-top: 1.9rem; }
.news-card { display: flex; flex-direction: column; border-top: 2px solid var(--blue); padding-block: 1.1rem .5rem; }
.news-card h3 { line-height: 1.25; text-wrap: pretty; }
.news-card .meta { margin: 0 0 .55rem; color: var(--blue); font-size: .875rem; font-weight: 700; }
.news-card .impact { margin-bottom: .65rem; }
.news-card a { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue); font-weight: 700; }
.news-sources { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 1rem; max-width: none; }
.news-sources a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.news-archive { margin-top: 1rem; }
.news-archive .news-grid { margin-top: .75rem; }

details { border-bottom: 1px solid var(--line); }
summary { padding: .75rem 0; min-height: 2.75rem; font-weight: 700; cursor: pointer; }
details p { margin: .15rem 0 1rem; }
.contact { background: var(--ink); color: white; }
.contact p { color: #e2edf0; }
.contact .light { background: var(--accent); color: var(--ink); margin-top: 1.25rem; border-color: var(--accent); }
address { font-style: normal; min-width: 0; }
address div { display: grid; gap: .1rem; padding-block: .5rem; border-bottom: 1px solid #718a95; }
address a { display: flex; align-items: center; min-height: 2.75rem; overflow-wrap: anywhere; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding-block: .65rem; }
.footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 53rem) {
  .hero { grid-template-columns: 1fr; }
  .hero .intro { width: 100%; max-width: none; padding: 2.8rem var(--gutter); }
  .hero figure { min-height: 0; aspect-ratio: 1.9; }
  .two { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 41rem) {
  .header { flex-direction: column; align-items: flex-start; padding-bottom: .65rem; gap: .15rem; }
  .brand img { width: 4.2rem; }
  nav a { font-size: .92rem; }
  nav .button { min-height: 2.75rem; padding: .35rem .7rem; }
  .hero h1 { font-size: clamp(2.4rem, 9.4vw, 3.85rem); }
  .cards, .news-grid { grid-template-columns: 1fr; }
}

.back-top {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.15rem;
  color: var(--blue);
  font-weight: 650;
}
.two > .back-top { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
.hero .back-top, .contact .back-top { color: var(--accent); }
#sobre { border-top: 0; align-items: start; }
#sobre .lead { margin-top: 1rem; }
.cards ul { margin: 1rem 0 0; padding-inline-start: 1.15rem; color: var(--body); }
.cards li + li { margin-top: .3rem; }
.decision { background: var(--pale); }
.launch { background: #e2eff4; }
.launch .button { margin-top: 1.2rem; }
.examples article { border-top: 1px solid #aebfc6; padding-block: 1rem; }
.examples article p { margin-top: .35rem; }
.examples article:last-child { border-bottom: 1px solid #aebfc6; }
.founder-profile { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--pale); border-left: .25rem solid var(--blue); }
.founder-profile h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.founder-role { margin-top: .3rem; color: var(--blue); font-weight: 700; }
.news-filters { margin-top: 1.15rem; gap: .45rem; }
.news-filters a { padding-inline: .75rem; border: 1px solid var(--blue); color: var(--blue); font-size: .9rem; }
.news-filters a[aria-current] { color: white; background: var(--blue); }
.about-photo { margin-top: 1.4rem; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; background: var(--pale); }

.header .brand { padding-block: .65rem; }
.brand-mark { display: block; width: 6rem; aspect-ratio: 1; overflow: hidden; }
.header .brand-mark img { width: 100%; height: auto; transform: scale(1.2); }
@media (max-width: 46rem) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    padding-block: .45rem .55rem;
  }
  .header .brand { padding: 0; }
  .brand-mark { width: 5.85rem; }
  .header-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    max-width: 30rem;
    gap: .3rem;
  }
  .header-nav a {
    grid-column: span 2;
    justify-content: center;
    min-height: 2.8rem;
    padding: .25rem .25rem;
    font-size: .9rem;
    text-align: center;
    line-height: 1.2;
    background: #f5f8fa;
  }
  
  .header-nav .button { background: var(--blue); }
}
