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

:root {
  --bg: #f5f2ed;
  --text: #1a1a18;
  --faint: #a09a90;
  --line: #d6d0c8;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manjari', sans-serif;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: start;
}

.photo-pane {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

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

.text-pane {
  padding: 72px 48px 120px;
  font-size: 1.05rem;
  line-height: 1.9;
}

header {
  margin-bottom: 56px;
}

h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dates {
  font-size: 0.82rem;
  color: var(--faint);
  font-weight: 100;
  letter-spacing: 0.05em;
}

.divider {
  width: 28px;
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

p {
  margin-bottom: 1.5em;
  font-weight: 400;
}

.quote {
  border-left: 2px solid var(--line);
  padding-left: 20px;
  font-weight: 100;
  margin: 2em 0;
  font-size: 1rem;
}

footer {
  margin-top: 72px;
  font-size: 0.78rem;
  color: var(--faint);
  font-weight: 100;
}

@media (max-width: 700px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .photo-pane {
    position: relative;
    height: 100vw;
  }
  .text-pane {
    padding: 48px 24px 80px;
  }
}
