@font-face {
  font-family: Italiana;
  src: url('assets/italiana.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url('assets/lato-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --gutter: 3vw;
  --content-width: 1445px;
  --heading-font: Italiana, Georgia, serif;
  --body-font: Lato, Arial, sans-serif;
  --work-background: #f4f4f4;
  --footer-background: #6d6559;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: #000; background: #fff; font: 1rem/1.5 var(--body-font); }
a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--heading-font); font-weight: 400; }
h2 { font-size: min(2.6rem, 1rem + 1.92vw); line-height: 0.936; }
figcaption { font-size: 0.875rem; line-height: 1.35; padding-top: 0.85rem; }

.skip-link {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  transform: translateY(-110%);
  background: #fff;
  padding: 0.8rem 1rem;
}
.skip-link:focus { transform: none; }

.site-header, .section-inner, .masthead {
  width: min(var(--content-width), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 2.2vw;
}
.wordmark {
  font: min(2.6rem, 1rem + 1.92vw)/0.936 var(--heading-font);
  white-space: nowrap;
}
.wordmark, .site-header nav a, .footer-name { text-decoration: none; }
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem clamp(1rem, 2.7vw, 2.75rem);
  align-items: center;
  font-size: 0.8rem;
}
.wordmark, .site-header nav, .masthead, .footer-name { text-transform: uppercase; }
.site-header nav a:hover, .wordmark:hover { text-decoration: underline; }
.menu-toggle { display: none; }

.masthead { container-type: inline-size; }
.masthead h1 {
  width: max-content;
  max-width: 100%;
  font-size: 19.35cqw;
  line-height: 0.88;
  white-space: nowrap;
  padding-block: 0.04em 0.12em;
}
.hero img { height: max(66vh, min(50vw, 48rem)); object-fit: cover; object-position: center; }
.hero figcaption { width: min(var(--content-width), 100% - var(--gutter) * 2); margin-inline: auto; }

.about { padding: clamp(4.5rem, 12vw, 11rem) var(--gutter); }
.about-copy { max-width: min(58.33vw, 52.7rem); margin-inline: auto; }
.about p { margin-top: 1.35rem; font-size: 1.2rem; }

.work { background: var(--work-background); padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3.5rem, 6vw, 6rem); }
.work h2 { font-size: min(6.1rem, 6.12vw + 1rem); line-height: 0.796; margin-left: 25%; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8.5%;
  margin: clamp(1.7rem, 3.4vw, 3.2rem) 4.3% 0;
}
.image-link { display: block; cursor: zoom-in; }
.work-grid img { aspect-ratio: 3 / 4; object-fit: contain; }

.photography { padding-block: clamp(2.75rem, 5vw, 5rem) clamp(3.5rem, 7vw, 7rem); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: clamp(1.6rem, 4vw, 3.4rem);
}
.photo-grid img { aspect-ratio: 4 / 5; object-fit: cover; }

.contact { background: var(--footer-background); color: #fff; padding-block: clamp(2.8rem, 5vw, 5rem) 1.6rem; }
.contact-links { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; }
.linkedin {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  text-decoration: none;
}
.linkedin span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border-radius: 2px;
  background: #fff;
  color: var(--footer-background);
  font: bold 1.2rem/1 Arial, sans-serif;
  letter-spacing: -0.04em;
}
.linkedin:hover span { background: #eae4da; }
.footer-name {
  display: block;
  margin-top: clamp(2.8rem, 7vw, 6rem);
  font: min(18.2vw, 17.45rem)/0.86 var(--heading-font);
  white-space: nowrap;
}

.lightbox {
  border: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  padding: 3.5rem 1.5rem 1.4rem;
  background: transparent;
  color: #fff;
  overflow: auto;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(0 0 0 / 93%); }
.lightbox form { position: fixed; top: 0.6rem; right: 0.75rem; }
.lightbox button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: #171717;
  color: #fff;
  font: 1.9rem/1 var(--body-font);
  cursor: pointer;
}
.lightbox img { width: auto; max-width: 100%; max-height: calc(100dvh - 7rem); object-fit: contain; }
.lightbox figcaption { text-align: center; }
body:has(.lightbox[open]) { overflow: hidden; }

@media (max-width: 767px) {
  :root { --gutter: 6vw; }
  .site-header { flex-wrap: wrap; padding-block: 6vw 4vw; }
  .menu-toggle:not([hidden]) {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    place-content: center;
    gap: 5px;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 1px; background: currentColor; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .menu-toggle:not([hidden])[aria-expanded='false'] + nav { display: none; }
  .site-header nav { width: 100%; align-items: stretch; flex-direction: column; gap: 0; }
  .site-header nav a { display: flex; min-height: 2.75rem; align-items: center; }
  .hero img { height: max(66svh, 16rem); }
  .about-copy { max-width: 34rem; }
  .work h2 { margin-left: 0; }
  .work-grid, .photo-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .work-grid { margin-inline: auto; max-width: 28rem; }
  .photo-grid { max-width: 28rem; margin-inline: auto; }
  .photo-grid img { aspect-ratio: 2 / 3; }
  .footer-name { font-size: 17vw; }
}
