@font-face {
  font-family: "Fredoka";
  src: url("custom-font.ttf") format("truetype");
}

body {
  margin: 0;
  background-color: #171310;
  color: #F6EEE1;
  font-family: "Fredoka", Arial, sans-serif;
  line-height: 1.7;
}

h1, h2, p, figure {
  margin: 0;
  padding: 0;
}

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

a {
  color: #F6EEE1;
  text-decoration: none;
}

.p-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid #2A231C;
}

.p-brand {
  font-size: 17px;
  font-weight: 900;
}

.p-links a {
  margin-left: 34px;
  font-size: 13px;
  font-weight: bold;
  color: #B7A98F;
}

.p-links a.on {
  color: #F6EEE1;
}

.p-contact {
  background-color: #F6EEE1;
  color: #171310;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.p-head {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 48px 60px 48px;
}

.p-labelrow {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: bold;
  color: #B7A98F;
  margin-bottom: 20px;
}

.p-titlerow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.p-titlerow h1 {
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
}

.p-note {
  width: 300px;
  font-size: 13px;
  color: #B7A98F;
  text-align: right;
}

.p-sub {
  font-size: 24px;
  font-style: italic;
  color: #B7A98F;
  margin-top: 8px;
}

.p-intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 48px 70px 48px;
}

.p-intro h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 44px;
}

.p-stats {
  display: flex;
  gap: 60px;
}

.p-stat {
  width: 33%;
}

.p-stat b {
  display: block;
  font-size: 54px;
  font-weight: 900;
  color: #E8862E;
  line-height: 1.1;
}

.p-stat span {
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin-top: 8px;
}

.p-stat p {
  font-size: 13px;
  color: #B7A98F;
  margin-top: 8px;
}

.p-banner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 30px 48px;
}

.p-banner figure {
  position: relative;
  height: 470px;
  border-radius: 26px;
  overflow: hidden;
}

.p-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-banner figcaption {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 36px;
  color: #FFF7EA;
  font-size: 22px;
  font-weight: 900;
  text-shadow: 1px 1px 10px rgba(20, 15, 10, 0.8);
}

.p-album {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px 100px 48px;
}

.p-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.p-card {
  position: relative;
  width: 48%;
  flex: 1 1 45%;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #241E17;
}

.p-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background-color: rgba(20, 15, 10, 0.62);
  border-radius: 16px;
  padding: 16px 22px;
}

.p-card figcaption b {
  display: block;
  font-size: 19px;
  font-weight: 900;
  color: #FFF7EA;
}

.p-card figcaption span {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #E8A15C;
}

.p-footer {
  border-top: 1px solid #2A231C;
  padding: 70px 48px 40px 48px;
}

.p-foot-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.p-foot-name {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
}

.p-foot-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  font-size: 13px;
  color: #B7A98F;
}

.p-foot-row a {
  color: #E8A15C;
  font-weight: bold;
}

@media (max-width: 900px) {
  .p-topbar {
    padding: 18px 20px;
  }
  .p-links {
    display: none;
  }
  .p-head {
    padding: 60px 20px 40px 20px;
  }
  .p-titlerow h1 {
    font-size: 52px;
  }
  .p-note {
    display: none;
  }
  .p-intro {
    padding: 10px 20px 50px 20px;
  }
  .p-stats {
    flex-direction: column;
    gap: 26px;
  }
  .p-stat {
    width: 100%;
  }
  .p-banner {
    padding: 0 20px 20px 20px;
  }
  .p-banner figure {
    height: 300px;
  }
  .p-banner figcaption {
    left: 24px;
    right: 24px;
    bottom: 24px;
    font-size: 17px;
  }
  .p-album {
    padding: 30px 20px 70px 20px;
  }
  .p-card {
    width: 100%;
    flex: 1 1 100%;
    height: 380px;
  }
  .p-foot-name {
    font-size: 38px;
  }
  .p-foot-row {
    flex-direction: column;
    gap: 10px;
  }
  .p-footer {
    padding: 50px 20px 30px 20px;
  }
}
