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

html {
  scroll-behavior: smooth;
  background-color: #000;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Tenor Sans", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #222;
  background-color: #000;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-header {
  background: #000;
  color: #fff;
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem 0.6rem;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  margin-right: auto;
}

.logo-link img {
  width: 195px;
  max-width: min(195px, 40vw);
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #555;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 1.09375rem;
  cursor: pointer;
}

.site-nav {
  margin-left: auto;
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 0.1rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 400;
  color: #ccc;
  text-transform: capitalize;
  font-size: 1.1875rem;
  padding: 0 0 0.15rem;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a.is-active {
  color: #C42525;
  font-weight: 700;
  font-size: 1.3125rem;
}

main {
  flex: 1;
  background-color: #fff;
}

.site-footer {
  background: #000;
  color: #aaa;
  font-size: 1.25rem;
  line-height: 1.5;
  text-align: center;
  padding: 1.5rem 2rem;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer a.footer-email {
  color: #C42525;
  font-size: 1.375rem;
}

.site-footer a.footer-email:hover {
  color: #e03030;
}



.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

.page-content--wide {
  max-width: 1440px;
}

.page-content--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

.home-intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  text-align: center;
}

.home-intro p {
  margin: 0;
  font-size: 1.3125rem;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: #111;
  overflow: hidden;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow__slide.is-active {
  opacity: 1;
}

.about-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
}

.about-portrait {
  display: block;
  width: auto;
  max-width: min(320px, 55vw);
  margin: 0 auto 0.5rem;
  border-radius: 2px;
}

.about-body {
  width: 100%;
}

.about-body h1 {
  margin: 0 0 1.25rem;
  font-size: 2.1875rem;
  font-weight: 400;
  text-align: center;
}

.about-body p {
  margin: 0 0 1rem;
}

.about-tango {
  margin: 2rem auto 0;
  max-width: min(720px, 100%);
  display: block;
}

.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section h2 {
  font-size: 1.6875rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
  text-transform: lowercase;
}

.gallery-section h2::first-letter {
  text-transform: uppercase;
}

.gallery-section h2.gallery-section__title--proper {
  text-transform: none;
}

.gallery-section h2.gallery-section__title--proper::first-letter {
  text-transform: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery-grid button {
  padding: 0;
  border: none;
  background: #eee;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.03);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.work-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-item img {
  width: 100%;
  display: block;
  background: #111;
}

.work-item span {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.1875rem;
}

.work-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.work-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #222;
  font-size: 1.25rem;
}

.work-links a:hover {
  text-decoration: underline;
}

.work-links svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.projects-intro {
  margin-bottom: 2rem;
  color: #555;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  border: 1px solid #e0e0e0;
  background: #fafafa;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.project-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.project-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 400;
}

.project-card p {
  margin: 0;
  font-size: 1.125rem;
  color: #555;
}

.project-card--soon {
  opacity: 0.85;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.25rem;
    gap: 0.75rem;
  }
}
