@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@700;900&display=swap");

.page-bg {
  margin: 0;
  background: radial-gradient(
    900px 320px at 50% 0%,
    #efede6 0%,
    #e7e3d9 60%,
    #e0dccf 100%
  );
}

.frame {
  max-width: 1200px;
  margin: 28px auto 56px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18), 0 10px 24px rgba(0, 0, 0, 0.1);
  background: #f5f2eb;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: #1c1b19;
}

.masthead {
  position: relative;
  background-image: radial-gradient(
      1200px 420px at 22% 10%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 36%,
      rgba(255, 255, 255, 0) 72%
    ),
    linear-gradient(180deg, #0b0b0b 0%, #111315 100%);
  height: 460px;
  overflow: hidden;
}

.top-nav {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ece8de;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
}

.nav-cta {
  background: #ffffff;
  color: #0f1b2d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.masthead-portrait {
  position: absolute;
  left: 36px;
  top: 18px;
  /* width: 820px; */
  max-height: 100%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: contrast(1.02) saturate(0.85);
}

.masthead-title {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-52%);
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: 0.4px;
  font-size: 168px;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.content {
  background: #f5f2eb;
  padding: 36px 28px 50px;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}

.col {
  display: grid;
  align-content: start;
  gap: 16px;
}

.col-divider {
  border-left: 1px solid #e3ded4;
  padding-left: 32px;
}

.h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.2px;
}

.h3 {
  margin: 6px 0 0 0;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: #222222;
}

.p {
  margin: 0;
  color: #5a5955;
  line-height: 1.6;
}

.figure {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  background: #000000;
}

.figure-dark {
  border-radius: 14px;
}
.figure-large {
  height: 280px;
}

.cta-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #1f2839;
  padding: 6px 0;
}

.col-top-cta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

@media (max-width: 1250px) {
  .frame {
    max-width: none;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
  }
  .masthead-title {
    font-size: 150px;
  }
}

@media (max-width: 1080px) {
  .masthead {
    height: 440px;
  }
  .masthead-portrait {
    /* width: 740px; */
    top: 18px;
  }
  .masthead-title {
    font-size: 120px;
    right: 40px;
    transform: translateY(-52%);
  }
  .figure {
    height: 220px;
  }
  .figure-large {
    height: 260px;
  }
}

@media (max-width: 880px) {
  .masthead-title {
    font-size: 110px;
    right: 34px;
    transform: translateY(-52%);
  }
}

@media (max-width: 830px) {
  .masthead-title {
    font-size: 100px;
    right: 24px;
    transform: translateY(-52%);
  }
}

@media (max-width: 780px) {
  .masthead {
    height: 350px;
  }
}

@media (max-width: 720px) {
  .masthead {
    height: 300px;
  }
  /* .masthead {
    height: 420px;
  } */
  /* .masthead-portrait {
    width: 680px;
    top: 14px;
  } */
  .masthead-title {
    font-size: 80px;
    right: 20px;
    /*transform: translateY(-54%);*/
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .col-divider {
    border-left: none;
    padding-left: 0;
  }

  .h2 {
    font-size: 32px;
  }
  .h3 {
    font-size: 26px;
  }
  .figure {
    height: 200px;
  }
  .figure-large {
    height: 240px;
  }
}

@media (max-width: 630px) {
  .top-nav {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    justify-content: center;
    padding: 8px 0;
  }
  .masthead-portrait {
    top: 52px;
  }
  .masthead-portrait {
    max-height: 90%;
  }
  .masthead-title {
    font-size: 60px;
    right: 20px;
    /*transform: translateY(-54%);*/
  }
}

@media (max-width: 480px) {
  .masthead-title {
    font-size: 34px;
    right: 20px;
    /* bottom: 0px; */
    top: 34%;
    /*transform: translateY(-54%);*/
  }
}

@media (max-width: 400px) {
  .nav-link {
    font-size: 12px;
    padding: 6px 10px;
  }
  .masthead-title {
    font-size: 34px;
    right: 20px;
    bottom: 0px;
    top: initial;
    /*transform: translateY(-54%);*/
  }

  .masthead-title {
    display: none;
  }
}

@media (max-width: 360px) {
  .masthead-title {
    display: none;
  }
}
