/* ── Fonts ── */
@font-face {
  font-family: 'Campton';
  src: url('fonts/CamptonBook.woff') format('woff');
  font-weight: 475;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

/* ── Variables ── */
:root {
  --terracotta: #B25A4E;
  --white: #ffffff;
  --off-white: #f0e8e4;
}

/* ── Page layout ── */
.page {
  position: relative;
  height: 100vh;
  width: 100%;
}

/* ── Full-page background photo ── */
.bg-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(imgs/background-photo.jpg);
    background-size: cover;
    background-position: 25rem;
    z-index: 0;
}

/* ── Left content panel ── */
.content-panel {
  position: relative;
  width: 75%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.overlay-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imgs/background-left-overlay.png');
  background-size: cover;
  background-position: right;
  pointer-events: none;
  z-index: 0;
}

.content-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    padding: 3rem 3.75rem;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  height: 10rem;
  width: auto;
}

.logo-name {
  height: 1.75rem;
  width: auto;
}

/* ── Body text ── */
.body-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.875rem;
    color: var(--white);
    max-width: 35rem;
    margin-left: 4rem;
}

.body-text p + p {
  margin-top: 1.5rem;
}

/* ── Bottom section ── */
.bottom-section {
  position: relative;
  padding-top: 1.75rem;
  padding-left: 4rem;
}

.bottom-section::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: -4rem;
    width: 40.5rem;
    height: 0.01rem;
    background-color: var(--white);
}

.heading {
    font-family: 'Campton', sans-serif;
    font-weight: 475;
    font-size: 2.5rem;
    line-height: 100%;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.subheading {
  font-family: 'Fira Code', monospace;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 100%;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  letter-spacing: 0.02em;
  color: black;
}

/* ── Contact ── */
.contact {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  color: black;
}

.contact-email {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: black;
}

.contact-email:hover {
  text-decoration: underline;
}

.email-icon {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 64rem) {

  .bg-photo {
      background-position: top;
  }

  .content-inner {
    padding: 2.25rem 2.5rem;
  }

  .heading {
    font-size: 2.5rem;
  }

  .body-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (max-width: 48rem) {
  html, body {
    overflow: auto;
  }

  .page {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .content-panel {
    width: 100%;
    min-height: 70vh;
  }

  .overlay-img {
    background-image: none;
  }

  .content-inner {
      padding: 2rem 1.5rem;
      gap: 2rem;
      overflow: hidden;
      background-color: #b44e40eb;
  }

  .heading {
    font-size: 2rem;
  }

  .subheading {
    font-size: 0.875rem;
  }

  .body-text {
    font-size: 1rem;
    line-height: 1.625rem;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .contact-email {
    font-size: 1rem;
  }
}

@media (max-width: 34rem) {
.logo-mark {
    height: 5rem;
    width: auto;
}

.body-text {
  margin-left: 2rem;
}

.bottom-section {
    padding-left: 2rem;
}

}