:root {
  --text: #111111;
  --page-pad: clamp(14px, 2.4vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
  color: var(--text);
  font-family: Bahnschrift, "Bahnschrift Regular", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
}

body.about-page {
  background: #223f30;
  color: #ffffff;
}

body.about-page .site-header {
  background: #223f30;
}

body.about-page a,
body.about-page button {
  color: #ffffff;
}

a,
button {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

a:hover,
button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: clamp(62px, 8.7vw, 86px);
  padding: clamp(23px, 3vw, 31px) var(--page-pad);
  background: #ffffff;
}

.site-header--single {
  justify-content: flex-end;
}

.nav-link,
.brand-link {
  display: inline-block;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-main {
  padding: clamp(44px, 5.4vw, 72px) var(--page-pad) 78px;
}

.home-intro {
  max-width: min(560px, 88vw);
  margin: 0 auto clamp(70px, 9.3vw, 95px);
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.2;
  text-align: center;
}

.project-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(44px, 6.5vw, 64px);
}

.project-card {
  display: flex;
  width: min(640px, calc(100vw - 44px));
  flex-direction: column;
  align-items: center;
}

.project-image-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.project-image-link img {
  display: block;
  width: 100%;
  height: auto;
  background: #183f2e;
}

.project-image-link:hover img {
  filter: contrast(1.06);
}

.project-name {
  margin-top: 9px;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.1;
  text-align: center;
}

.home-actions,
.about-actions {
  display: flex;
  justify-content: center;
}

.home-actions {
  margin-top: clamp(60px, 8vw, 82px);
}

.pdf-button {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: clamp(14px, 1.55vw, 16px);
  line-height: 1;
  text-transform: uppercase;
}

.project-main {
  padding: clamp(44px, 5.6vw, 70px) var(--page-pad) 96px;
}

.project-intro {
  max-width: min(620px, 88vw);
  margin: 0 auto clamp(58px, 8vw, 82px);
  text-align: center;
}

.project-intro h1 {
  margin: 0 0 15px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-intro p {
  max-width: 590px;
  margin: 0 auto;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.22;
}

.project-media-list {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: clamp(54px, 8vw, 78px);
  overflow-x: hidden;
}

.project-placeholder {
  width: min(620px, calc(100vw - 44px));
  aspect-ratio: 1.22 / 1;
  background: #000000;
}

.project-detail-image {
  display: block;
  width: min(720px, calc(100vw - 44px));
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  cursor: zoom-in;
}

.info-main {
  padding: clamp(120px, 13vw, 170px) var(--page-pad) 64px;
}

.info-list {
  display: flex;
  width: min(980px, calc(100vw - 44px));
  flex-direction: column;
  gap: clamp(58px, 7vw, 82px);
  margin: 0 auto;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: start;
}

.info-row h1,
.info-row h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.info-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.info-portrait {
  display: block;
  width: min(420px, calc(100vw - 44px));
  height: auto;
  margin: clamp(110px, 12vw, 150px) auto 0;
  background: #ffffff;
}

.info-footer {
  margin-top: clamp(90px, 10vw, 130px);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

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

.image-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  object-fit: contain;
}

.image-lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 60px;
    padding-top: 19px;
    padding-bottom: 19px;
  }

  .home-main {
    padding-top: 50px;
  }

  .project-card,
  .project-placeholder {
    width: min(88vw, 640px);
  }

  .project-detail-image {
    width: min(88vw, 720px);
  }

  .project-intro {
    max-width: min(88vw, 620px);
  }

  .info-main {
    padding-top: 86px;
  }

  .info-list {
    width: min(88vw, 980px);
    gap: 44px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info-portrait {
    width: min(78vw, 420px);
    margin-top: 76px;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox img {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
  }

  .image-lightbox-close {
    top: 14px;
    right: 18px;
  }
  .project-media-item {
  display: flex;
  width: min(720px, calc(100vw - 44px));
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.project-media-item .project-detail-image {
  width: 100%;
}

.project-image-text {
  width: 100%;
  margin: 0;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.25;
  text-align: left;
}
}

@media print {
  .site-header,
  .home-actions,
  .about-actions,
  .image-lightbox {
    display: none;
  }

  .home-main,
  .info-main,
  .project-main {
    padding: 32px 24px;
  }
}
