
/* V8 — combined Instagram preview and footer */

.social-footer {
  background: #6E746B;
  color: var(--paper-2);
  padding: 78px clamp(20px, 5vw, 76px) 28px;
}

.social-footer-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.social-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.social-footer h2 {
  margin: 0;
  color: #F2C7C9;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 4.8vw, 74px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.025em;
}

.social-footer-note {
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.social-footer-handle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.instagram-svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin-top: 32px;
}

.social-post-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.08);
}

.social-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.social-post-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(30,29,26,.16);
  opacity: 0;
  transition: opacity .25s ease;
}

.social-post-hover svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: white;
  stroke-width: 1.6;
}

.social-post-card:hover img {
  transform: scale(1.035);
  filter: brightness(.88);
}

.social-post-card:hover .social-post-hover {
  opacity: 1;
}

.social-footer-right {
  justify-self: stretch;
}

.social-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 46px;
  margin-top: 34px;
}

.social-footer-nav a {
  width: fit-content;
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font-size: 14px;
}

.social-footer-divider {
  height: 1px;
  margin: 60px 0 44px;
  background: rgba(255,255,255,.62);
}

.social-footer-logo {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.social-footer-logo img {
  width: 235px;
  filter: invert(1);
}

.social-footer-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: rgba(255,255,255,.64);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.social-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 920px) {
  .social-footer-main {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .social-footer-right {
    max-width: 600px;
  }
}

@media (max-width: 620px) {
  .social-footer {
    padding: 58px 18px 24px;
  }

  .social-footer h2 {
    font-size: 46px;
  }

  .social-footer-note {
    margin-top: 14px;
  }

  .social-footer-handle {
    margin-top: 22px;
  }

  .social-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 26px;
  }

  .social-footer-nav {
    gap: 16px 24px;
  }

  .social-footer-nav a {
    font-size: 13px;
  }

  .social-footer-divider {
    margin: 46px 0 34px;
  }

  .social-footer-logo img {
    width: 170px;
  }

  .social-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    line-height: 1.5;
  }
}
