@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #191919;
  --muted: #999;
  --line: #f2f2f2;
  --form-ink: #333;
  --form-line: #ddd;
  --font: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: normal;
}

body.no-scroll {
  overflow: hidden;
}

main {
  display: flow-root;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

.site-container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-content {
  width: 96%;
  margin-left: 4%;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  position: relative;
  height: 100px;
  padding-top: 30px;
  border-bottom: 5px solid var(--line);
  background: #fff;
}

.nav {
  width: 33%;
  white-space: nowrap;
}

.nav a {
  display: inline-block;
  padding-right: 20px;
  font-size: 17px;
  line-height: 30px;
  color: var(--muted);
}

.nav a:last-child {
  padding-right: 0;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--ink);
  font-weight: 500;
}

.logo-wrap {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.logo {
  font-size: 23px;
  line-height: 30px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.social {
  width: 30%;
  text-align: right;
  line-height: 0;
}

.social a {
  display: inline-block;
  line-height: 0;
}

.icon-instagram {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 13px 8px;
  border: 0;
  background: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 4px;
  background: var(--ink);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

/* Mobile menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.menu.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-nav a {
  padding: 15px 0;
  font-size: 22px;
  line-height: 32px;
  color: var(--muted);
}

.menu-nav a:hover {
  color: var(--ink);
}

.menu-nav a.active {
  color: var(--ink);
  font-weight: 500;
}

.menu-social {
  margin-top: 80px;
  line-height: 0;
}

.menu-social .icon-instagram {
  width: 32px;
  height: 30px;
  fill: var(--ink);
}

/* Page heading */

.page-header {
  max-width: 620px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}

.page-header .title {
  margin: 0 0 20px;
  font-size: 25px;
  line-height: 27px;
  font-weight: 700;
  color: var(--ink);
}

.page-header .description {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--muted);
}

.masthead {
  padding: 110px 0 145px;
  text-align: center;
  background: #fff;
}

.masthead-inner {
  max-width: 800px;
  margin: 0 auto;
}

.masthead h1 {
  margin: 0;
  font-size: 60px;
  line-height: 60px;
  font-weight: 700;
  color: var(--ink);
}

.masthead-text {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--muted);
}

.masthead-text a {
  color: var(--ink);
  font-weight: 500;
}

/* Grid */

.grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 40px;
  padding-bottom: 8px;
}

.grid-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.grid-item {
  display: block;
  flex-basis: 0;
  flex-shrink: 1;
  min-width: 0;
  padding: 0;
  line-height: 0;
  background: #f4f4f4;
  cursor: zoom-in;
}

.grid-item img {
  width: 100%;
  height: auto;
}

/* Contact */

.contact-form {
  max-width: 500px;
  margin: 2px auto 40px;
  padding-bottom: 4px;
}

.contact-form label {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 15px;
  font-weight: 700;
  color: var(--form-ink);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin: 0 0 30px;
  padding: 1px 10px;
  border: 1px solid var(--form-line);
  border-radius: 0;
  background: #fff;
  color: var(--form-ink);
  font-family: inherit;
  font-size: 18px;
}

.contact-form input {
  height: 42px;
  line-height: 42px;
}

.contact-form textarea {
  height: 132px;
  padding: 13px 10px;
  line-height: normal;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--muted);
  outline: 2px solid var(--muted);
  outline-offset: 0;
}

.submit-button {
  display: inline-block;
  height: 40px;
  padding: 0 25px;
  border: 0;
  border-radius: 2px;
  background: #333;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 40px;
  cursor: pointer;
}

.submit-button:hover {
  background: #000;
}

.form-status {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Back to top */

.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.back-to-top:hover {
  background: rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: #000;
  opacity: 0.3;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

.lightbox-image {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.lightbox-prev {
  left: 20px;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.16);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

/* Tablet */

@media (max-width: 932px) {
  .site-container {
    width: 100%;
    max-width: none;
  }

  .site-content {
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

  .site-header {
    width: calc(100% + 40px);
    height: 90px;
    margin-left: -20px;
    padding: 0 20px;
  }

  .nav,
  .social {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .page-header {
    padding: 28px 0;
  }

  .page-header .title {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 19px;
  }

  .page-header .description {
    font-size: 14px;
    line-height: 20px;
  }

  .masthead {
    padding: 44px 0 69px;
  }

  .masthead h1 {
    font-size: 28px;
    line-height: 28px;
  }

  .back-to-top {
    display: none;
  }

  .contact-form label {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .contact-form input,
  .contact-form textarea {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .submit-button {
    height: 38px;
    line-height: 38px;
  }

  .contact-form {
    margin-bottom: 20px;
  }
}

/* Phone */

@media (max-width: 540px) {
  .site-header {
    height: 70px;
  }

  .logo {
    font-size: 21px;
    line-height: 22px;
  }

  .page-header {
    padding: 25px 0;
  }

  .page-header .title {
    margin-bottom: 13px;
    font-size: 16px;
    line-height: 17px;
  }

  .masthead {
    padding: 38px 0 60px;
  }

  .masthead h1 {
    font-size: 25px;
    line-height: 25px;
  }

  .contact-form label {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .contact-form input,
  .contact-form textarea {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .contact-form input {
    height: 35px;
    line-height: 35px;
  }

  .submit-button {
    height: 35px;
    line-height: 35px;
  }

  .contact-form {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
