@import url("https://fonts.googleapis.com/css2?family=Teko:wght@400;700&display=swap");
:root {
  --bg: #fff;
  --text: #111;
  --muted: rgba(0, 0, 0, 0.6);
  --max: 1152px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Teko", Arial, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.home-page .page-shell {
  animation: none !important;
  transform: none !important;
}

.page-shell {
  min-height: 100vh;
}

.page-slide-in {
  animation: pageIn 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

@keyframes pageIn {
  from {
    transform: translateY(-100vh);
  }

  to {
    transform: translateY(0);
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  padding: 24px 64px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.brand img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}
.brand-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.brand-subtitle {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.02em;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.nav-link:before {
  content: "";
  width: 64px;
  height: 2px;
  margin-bottom: 8px;
  background: transparent;
}
.nav-link.active {
  color: #000;
}
.nav-link.active:before {
  background: #000;
}
.menu-btn {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: none;
  padding: 8px;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 48px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  text-transform: uppercase;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.4);
}
.mobile-menu a.active {
  color: #000;
}
.menu-close {
  position: absolute;
  right: 24px;
  top: 24px;
  border: 0;
  background: none;
  font-size: 42px;
  line-height: 1;
}
.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/home.avif") center/cover no-repeat;
}
.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-logo {
  width: min(433px, 80vw);
}
.home-actions {
  display: flex;
  width: 100%;
  gap: 24px;
  margin-top: 12px;
  padding-left: 5px;
  padding-right: 5px;
}
.home-actions a {
  flex: 1;
  padding: 12px;
  background: #000;
  color: #fff;
  text-align: center;
  letter-spacing: 0.14em;
  font-size: 23px;
}
.content-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 0;
}
.gallery-wrap {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}
.gallery {
  position: relative;
}
.gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.project-card {
  position: relative;
  flex: 0 0 251px;
  height: 716px;
  overflow: hidden;
  background: #eee;
  scroll-snap-align: start;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 12px 32px;
  opacity: 0;
  transition: opacity 0.25s;
}
.project-card:hover .card-overlay,
.project-card:focus .card-overlay {
  opacity: 1;
}
.card-overlay h3 {
  color: #fff;
  font-size: 19px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  font-weight: 700;
}
.card-overlay p {
  color: #fff;
  font-size: 16px;
  margin: 4px 0 0;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 80px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.gallery-btn.prev {
  left: 0;
}
.gallery-btn.next {
  right: 0;
}
.project-hero {
  min-height: 80vh;
}
.project-title {
  font-size: 60px;
  line-height: 0.95;
  font-weight: extra-bold;
  margin: 0 0 32px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
  align-items: start;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.meta-grid h3 {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: var(--text);
}

.meta-grid p {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin: 0;
}

.project-description {
  width: 83%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin: 0;
}

.share {
  display: flex;
  gap: 12px;
}
.share a {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}
.image-stack {
  display: grid;
  gap: 0;
}
.reveal {
  line-height: 0;
  overflow: hidden;
}
.reveal img {
  width: 100%;
  height: auto;
  object-fit: cover;
  will-change: transform, filter, opacity;
  transition:
    transform 120ms linear,
    filter 120ms linear,
    opacity 120ms linear;
}

.about-hero {
  min-height: calc(100vh - 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 24px;
}

.about-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-copy {
  max-width: 1024px;
  text-align: center;
}

.about-copy h1 {
  font-family: inherit;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

.about-copy p {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.72);
  margin: 0 auto;
  max-width: 980px;
}

.consultation {
  margin-bottom: 12px;
  border: 1px solid #ddd;
  padding: 6px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

.about-details {
  min-height: 100vh;
  max-width: 1152px;
  margin: 0 auto;
  padding: 80px 24px;
}

.founder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 192px;
}

.founder img {
  width: 190px;
  height: 190px;
  object-fit: cover;
}

.founder-role {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-role strong {
  font-family: inherit;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.founder-role span {
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
}

.founder-bio {
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 16px;
}

.site-footer {
  padding: 24px;
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  gap: 8px;
  font-family: "Teko", Arial, sans-serif;
}

.footer-inner a {
  font-family: "Teko", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-social-link {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-social-link:hover {
  opacity: 0.55;
  transform: translateY(-1px);
}

.footer-social-link i {
  font-size: 18px;
  line-height: 1;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.footer-inner small {
  font-family: "Teko", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.not-found h1 {
  font-size: 64px;
  margin: 0;
}
.not-found p {
  font-family: Arial, sans-serif;
}
@media (max-width: 767px) {
  .site-header {
    padding: 16px 16px 0;
    flex-direction: column;
  }

  .brand {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-bottom: 24px;
  }

  .brand img {
    width: 80px;
    height: 80px;
  }

  .brand-title {
    font-size: 30px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .content-wrap {
    padding: 64px 16px;
  }

  .project-title {
    font-size: 48px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }

  .project-description {
    width: 100%;
  }

  .about-hero {
    min-height: auto;
    padding: 72px 20px 32px;
  }

  .about-copy h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .about-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  .consultation {
    margin-top: 28px;
    font-size: 14px;
  }

  .founder {
    flex-direction: column;
    gap: 48px;
  }

  .founder-role strong {
    font-size: 38px;
  }

  .founder-role span {
    font-size: 24px;
  }

  .founder-bio {
    font-size: 15px;
    line-height: 1.55;
  }

  .gallery-wrap {
    padding: 0;
  }

  .project-card {
    flex-basis: 82vw;
    height: 70vh;
  }

  .gallery-btn {
    font-size: 80px;
  }

  .home-actions {
    gap: 10px;
    padding: 0 12px;
  }

  .home-actions a {
    font-size: 22px;
  }

  .site-footer {
    padding-top: 40px;
  }
}
