:root {
  --ink: #060d41;
  --gap: 12px;
  --page: min(1680px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Jost", Futura, "Century Gothic", "Trebuchet MS", sans-serif;
  font-weight: 400;
}

a { color: inherit; }

.page {
  width: var(--page);
  margin: 0 auto;
}

.banner {
  padding: 64px 0 8px;
}

.wordmark {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.45em;
  line-height: 1.36;
}

.wordmark a {
  text-decoration: none;
}

.tagline {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 300;
}

.block { margin-top: 28px; }

.block h2,
.section-head h2,
.about h2 {
  margin: 0;
  font-size: 70px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-head p,
.about .name,
.about .bio,
.footer-role,
.social a {
  font-weight: 300;
}

.section-head p {
  margin: 0;
  max-width: 46em;
  font-size: 18px;
  line-height: 1.4;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 18px;
}

.section-head + .grid { margin-top: 0; }

.tile {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #f3f3f3;
  cursor: zoom-in;
}

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

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.72fr);
  gap: 48px 64px;
  align-items: start;
  margin-top: 72px;
}

.about h2 { font-size: 56px; }

.about .name {
  margin: 18px 0 0;
  font-size: 26px;
  font-weight: 400;
}

.about .bio {
  max-width: 36em;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.8;
}

.ig {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
}

.portrait {
  width: 100%;
  height: 100%;
  aspect-ratio: 431 / 642;
  object-fit: cover;
  object-position: center;
  display: block;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 28px 0 48px;
}

.footer-name {
  margin: 0;
  font-size: 22px;
}

.footer-role {
  margin: 4px 0 0;
  font-size: 14px;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.social a {
  font-size: 14px;
  text-decoration: none;
}

.social a:hover,
.wordmark a:hover,
.ig:hover { opacity: 0.6; }

#lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}

#lightbox::backdrop {
  background: rgba(6, 13, 65, 0.88);
}

#lightbox img {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  margin: 0 auto;
}

#lightbox button {
  position: fixed;
  border: 0;
  background: transparent;
  color: #fff;
  font: 300 42px/1 "Jost", sans-serif;
  cursor: pointer;
}

#lightbox .close { top: 16px; right: 22px; }
#lightbox .prev { top: 50%; left: 12px; transform: translateY(-50%); }
#lightbox .next { top: 50%; right: 12px; transform: translateY(-50%); }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  :root { --page: min(1680px, calc(100% - 32px)); }
  .banner { padding-top: 36px; }
  .wordmark { font-size: 22px; letter-spacing: 0.32em; }
  .block h2,
  .section-head h2 { font-size: 42px; }
  .about { grid-template-columns: 1fr; margin-top: 48px; }
  .portrait { height: auto; max-width: 280px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
