.section-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(calc(100% - 2rem), var(--width));
  min-height: 0;
  margin: 0 auto;
  padding: 5rem 0 8rem;
  border-top: .1rem solid var(--border-light);

  &.hero {
    min-height: calc(100vh - 3rem);
    min-height: calc(100svh - 3rem);
    justify-content: space-between;
    padding: 3rem 0 2rem;
    border: none;

    p.lead {
      font-size: 1.03rem;
    }
  }

  .cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;

    &.half-width {
      width: 50%;

      a {
        width: 100%;
      }
    }

    &.centered {
      margin: 0 auto;
    }

    a {
      width: fit-content;
      padding: .75rem 1.5rem;
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .12em;
    }
  }

  &.centered {
    min-height: 100%;
    text-align: center;

    .eyebrow {
      justify-content: center;
    }

    &>p:not(.eyebrow) {
      margin: 1rem 0 1.8rem;
      color: var(--foreground-muted);
    }

    .cta {
      margin: 0 auto;
    }
  }

  .section-heading {
    display: flex;
    flex-direction: column;
    gap: .21rem;
    margin-bottom: 1rem;

    h1,
    h2 {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(3rem, 12vw, 5.8rem);
      line-height: .99;
      letter-spacing: -.05em;
      text-shadow: 0 0 .21rem var(--foreground-accent);

      span {
        color: var(--foreground-accent);
      }
    }

    h2 {
      font-size: clamp(2rem, 8vw, 3.4rem);
    }
  }

  .section-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;

    .section-content-photo {
      width: 100%;
      min-width: min(100%, var(--section-content-photo-min));
      max-width: var(--section-content-photo-max);
      margin: 0 auto;
      border: .1rem solid var(--border-shadow);
      border-radius: var(--radius);
      box-shadow: var(--border-shadow);
      aspect-ratio: 4 / 5;
      overflow: hidden;
      pointer-events: none;
      user-select: none;

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
    }

    .section-content-copy {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      width: 100%;
      min-width: 0;

      p {
        width: calc(100% - 4rem);
        margin: 0 2rem;
        font-size: 1rem;
        line-height: 2.1;

        &.lead {
          max-width: 75ch;
          font-style: italic;
        }

        &.center {
          margin: 0 auto;
        }
      }
    }
  }
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 0 auto 3rem;
  padding: 2rem 1rem;
  font-size: .75rem;
  text-align: center;
  border-top: .1rem solid var(--border-light);
  color: var(--foreground-muted);
  user-select: none;

  #copyright {
    margin: 0;
    padding: .25rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: .2rem solid var(--border-accent);
  }

  &>div {
    display: flex;
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .section-shell {
    .cta {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      &.half-width {
        width: 100%;

        a {
          width: 100%;
        }
      }

      a {
        width: 100%;
        padding: 1rem;
        font-size: .75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .12em;
      }
    }

    .section-heading {

      h1,
      h2 {
        text-align: center;
      }
    }

    .section-content {
      flex-direction: column;

      .section-content-photo {
        width: 75%;
      }

      .section-content-copy {
        p {
          text-align: center;
        }

        p.lead {
          width: 100%;
          max-width: calc(100% - 2rem);
          margin: 1rem;
        }
      }
    }
  }
}