.top-banner {
  width: 100%;
  margin: 90px auto 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.top-banner::after {
  content: "";
  position: absolute;
  top: 5%;
  right: 32%;
  bottom: 23%;
  left: 32%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  pointer-events: none;
  z-index: 2;
}

.top-banner img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
  object-position: top center;
  background: var(--bg);
  border-radius: 0;
  border: 0;
  position: relative;
  z-index: 1;
  display: block;
  transform: rotate(-5deg);
  transform-origin: center center;
}

.banner-slogan {
  position: absolute;
  right: calc(var(--edge-margin) + 20px);
  top: 80%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 16px;
  max-width: 320px;
  z-index: 3;
}

.slogan-main {
  font-family: "Cormorant", serif;
  font-size: clamp(0.75rem, calc(0.4rem + 1.5vw), 1.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.slogan-sub {
  font-family: "Cormorant", serif;
  font-size: clamp(0.65rem, calc(0.5rem + 1.2vw), 1.6rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.85);
}

main {
  width: 100%;
  max-width: none;
  margin: clamp(-20px, -2.5vw, -36px) 0 0;
  padding: 0 0 60px;
  background: #676d70;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

section {
  margin-bottom: 60px;
}

h1,
h2 {
  margin: 0 0 12px;
}

p {
  color: var(--muted);
}

.home {
  border: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) var(--page-padding) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-copy {
  grid-column: 1;
  justify-self: end;
  min-width: 0;
  max-width: 82ch;
  font-family: "Cormorant", serif;
}

.about-copy p {
  font-size: clamp(0.7rem, 0.6rem + 1.1vw, 1.22rem);
  line-height: 1.7;
  margin: 0 0 1.5em;
  color: rgba(255, 255, 255, 0.75);
  text-align: justify;
}

.about-photo {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  box-sizing: border-box;
  width: min(100%, clamp(185px, 40vw, 450px));
  transform: translateX(clamp(8px, 1.5vw, 28px));
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% center;
  display: block;
}

@media (max-width: 900px) {
  .page-stack {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }

  .top-banner,
  .site-footer {
    flex-shrink: 0;
  }

  .top-banner img {
    max-height: none;
    min-height: clamp(320px, 62vh, 660px);
    width: 100%;
    object-fit: cover;
    object-position: top center;
    transform: rotate(-5deg);
    transform-origin: center center;
  }

  .banner-slogan {
    top: 85%;
  }

  .slogan-main {
    transform: translateY(clamp(8px, 1.2vw, 14px));
  }

  .top-banner::after {
    left: 20%;
    right: 20%;
  }

  main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 20px;
  }

  section {
    margin-bottom: 16px;
  }

  .home {
    grid-template-columns: 1fr;
    row-gap: 10px;
    text-align: left;
    padding: clamp(32px, 5.5vw, 56px) clamp(18px, 5.5vw, 36px) 10px;
    justify-items: center;
    width: 100%;
  }

  .about-copy {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    justify-items: stretch;
  }

  .about-copy p {
    font-size: clamp(0.78rem, 3vw, 1.02rem);
    line-height: 1.5;
    margin: 0 0 1em;
  }

  .about-photo {
    grid-column: 1;
    width: min(82vw, 280px);
    max-width: 100%;
    justify-self: center;
    margin-inline: auto;
    transform: none;
  }
}
