:root {
  --cream: #e9e4e1;
  --brown: #5b3732;
  --pink: #d96a98;
  --white: #fffaf6;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.glow-page {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 45% 55%;
  background: var(--cream);
  overflow: hidden;
}

.photo-panel {
  position: relative;
  height: 100%;
  min-height: 0;
  background: #f3f1ee;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
}

.content-panel {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  padding: clamp(32px, 4.5vw, 78px);
}

.logo {
  width: clamp(118px, 9vw, 178px);
  height: auto;
  margin: 0 0 clamp(36px, 5.2vh, 68px);
  mix-blend-mode: multiply;
}

.headline-wrap {
  width: min(100%, 1120px);
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--brown);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(5rem, 8.55vw, 12.2rem);
  font-weight: 400;
  line-height: 0.77;
  letter-spacing: -0.07em;
}

h1 span,
h1 em {
  display: block;
}

h1 span {
  white-space: nowrap;
}

h1 em {
  margin-top: 0.03em;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 0.83em;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.subtitle {
  margin: clamp(28px, 3vw, 42px) 0 0;
  color: var(--brown);
  font-size: clamp(1.5rem, 2.15vw, 2.65rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.contact {
  justify-self: center;
  margin-top: clamp(84px, 13vh, 150px);
  text-align: center;
}

.contact p {
  margin: 0 0 clamp(28px, 3vw, 42px);
  color: var(--brown);
  font-size: clamp(1.18rem, 1.58vw, 1.9rem);
  font-weight: 500;
}

.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(220px, 18vw, 360px);
  min-height: clamp(58px, 4vw, 76px);
  padding: 16px 48px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact a:hover {
  transform: translateY(-2px);
  background: #cb5d8d;
}

@media (max-width: 900px) {
  .glow-page {
    grid-template-columns: 1fr;
    grid-template-rows: 43vh 57vh;
    grid-template-rows: 43dvh 57dvh;
  }

  .photo-panel {
    height: auto;
    min-height: 0;
  }

  .logo {
    width: clamp(96px, 20vw, 136px);
    margin-bottom: clamp(20px, 4vh, 36px);
  }

  .content-panel {
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto auto;
    align-content: center;
    padding: clamp(24px, 4vh, 38px) 22px clamp(28px, 5vh, 48px);
  }

  .headline-wrap {
    margin-top: 0;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.8rem, 15.5vw, 8rem);
    white-space: normal;
  }

  .contact {
    margin-top: clamp(22px, 4vh, 42px);
  }
}

@media (max-width: 520px) {
  .glow-page {
    grid-template-rows: 41vh 59vh;
    grid-template-rows: 41dvh 59dvh;
  }

  .logo {
    width: clamp(86px, 25vw, 108px);
    margin-bottom: clamp(16px, 3vh, 24px);
  }

  .content-panel {
    padding: clamp(20px, 4vh, 32px) 18px clamp(24px, 4.8vh, 40px);
    padding-bottom: max(5vh, 34px);
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.5rem);
    letter-spacing: -0.055em;
  }

  .subtitle {
    margin-top: clamp(14px, 3vh, 24px);
    font-size: clamp(1.1rem, 5vw, 1.45rem);
  }

  .contact p {
    margin-bottom: clamp(18px, 3.8vh, 30px);
    font-size: clamp(1rem, 4.3vw, 1.18rem);
  }

  .contact a {
    min-width: min(230px, 78vw);
    min-height: 52px;
    padding: 14px 38px;
  }
}
