@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lexend-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #021a3e;
  --green: #017c69;
  --green-ink: #01604f;
  --tint: #e7f3f0;
  --mist: #f3f6f9;
  --line: #d9e1e8;
  --ink: #0e1b2c;
  --muted: #55667a;
  --display: "Lexend", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink);
  background: linear-gradient(180deg, #fff 0, var(--mist) 100%); min-height: 100vh;
  display: flex; flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.top { padding: 22px 0; border-bottom: 1px solid var(--line); background: #fff; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { width: 180px; height: auto; }
.logo .by { font-family: var(--display); font-size: 13px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.2; }
.logo .by b { display: block; color: var(--navy); font-weight: 600; font-size: 15px; }

.hold {
  flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
  padding: 64px 0 72px;
}
.hold.single { grid-template-columns: 1fr; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--green-ink);
  font-family: var(--display); font-weight: 600; font-size: 14px;
}
.badge svg, .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1 {
  font-family: var(--display); font-weight: 700; color: var(--navy);
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 22px;
}
.lead { font-size: 20px; margin: 0 0 14px; }
.copy > p { max-width: 34em; }
.copy > p:not(.badge):not(.lead) { color: var(--muted); margin: 0 0 30px; }

.contact { display: grid; gap: 12px; justify-items: start; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: var(--radius);
  background: var(--green); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 16px;
}
.btn:hover { background: var(--green-ink); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.note { margin: 0; font-size: 15px; color: var(--muted); }

.photos {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1.75fr 1fr; gap: 10px;
  aspect-ratio: 1.15 / 1;
}
.photos figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.photos .main { grid-column: 1 / -1; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px;
  background: rgba(2, 26, 62, .82); color: #fff; font-family: var(--display); font-weight: 600; font-size: 12px;
}

.foot { border-top: 1px solid var(--line); background: #fff; padding: 22px 0; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }

@media (max-width: 900px) {
  .hold { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 48px; }
  .photos { aspect-ratio: auto; grid-template-rows: auto auto; }
  .photos .main { aspect-ratio: 3 / 2; }
  .photos figure:not(.main) { aspect-ratio: 1 / 1; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .logo img { width: 150px; }
  .lead { font-size: 18px; }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .photos figure:not(.main) { aspect-ratio: 4 / 3; }
}
