:root {
  color-scheme: light;
  --paper: #fbf7ee;
  --evergreen: #24473f;
  --charcoal: #100f0e;
  --rose: #9a493c;
  --blush: #efd6cd;
  --gold: #d4b577;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  color: var(--evergreen);
  background: var(--paper);
  font-family: var(--serif);
}

.masthead, .welcome, .end-rule {
  width: min(88%, 78rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: clamp(1.25rem, 2.5vw, 2.3rem);
  border-bottom: 1px solid var(--gold);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: .2em;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark img {
  width: .95em;
  height: 1.25em;
  align-self: center;
  margin-right: .13em;
}

.wordmark i { color: var(--rose); font-weight: 400; }

.location {
  margin: 0;
  color: var(--evergreen);
  font-size: clamp(.92rem, 1.45vw, 1.15rem);
  font-style: italic;
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  padding: clamp(3rem, 6.5vw, 6rem) clamp(1rem, 3.2vw, 3.5rem);
}

.opening {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.6rem;
  color: var(--rose);
  font: 650 .875rem/1.4 system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.opening::before {
  content: "";
  width: 2.4rem;
  border-top: 2px solid var(--gold);
}

h1 {
  margin: 0;
  font-size: clamp(5.4rem, 10.8vw, 10.3rem);
  font-weight: 400;
  line-height: .89;
  letter-spacing: -.072em;
}

h1 em { display: block; color: var(--rose); font-weight: 400; }

.intro {
  max-width: 25em;
  margin: clamp(1.6rem, 3vw, 2.6rem) 0 0;
  color: var(--charcoal);
  font: 400 clamp(1rem, 1.45vw, 1.18rem)/1.65 system-ui, sans-serif;
}

.picture {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 30rem;
  justify-self: center;
}

.picture::before {
  content: "";
  position: absolute;
  inset: -.55rem -.55rem .55rem .55rem;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: 50% 50% .1rem .1rem / 40% 40% .1rem .1rem;
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center 64%;
  border-radius: 50% 50% .1rem .1rem / 40% 40% .1rem .1rem;
}

.seal {
  position: absolute;
  left: -1.8rem;
  bottom: 1.8rem;
  display: grid;
  place-items: center;
  width: clamp(4.2rem, 7.4vw, 6.6rem);
  aspect-ratio: 1;
  border: .35rem solid var(--blush);
  border-radius: 50%;
  background: var(--blush);
  box-shadow: inset 0 0 0 1px var(--rose);
  color: var(--rose);
  transform: rotate(-10deg);
}

.seal span { font-size: clamp(1.45rem, 2.8vw, 2.55rem); letter-spacing: -.1em; }
.seal i { font-size: .62em; margin-inline: .04em; }

.end-rule { display: flex; align-items: center; gap: .85rem; padding-bottom: 1.5rem; }
.end-rule::before, .end-rule::after { content: ""; flex: 1; border-top: 1px solid var(--gold); }
.end-rule span { color: var(--rose); font-size: 1.1rem; }

@media (max-width: 45rem) {
  .masthead, .welcome, .end-rule { width: min(88%, 32rem); }
  .welcome { grid-template-columns: 1fr; gap: 2.7rem; padding: 2.8rem 0 2rem; }
  .opening { margin-bottom: 1.2rem; }
  h1 { font-size: clamp(4.2rem, 15.6vw, 6.3rem); line-height: .98; }
  h1 em { display: inline; }
  .intro { margin-top: 1rem; }
  .picture { width: 88%; }
  .portrait { aspect-ratio: 1.13; }
  .seal { left: -1.35rem; bottom: 1rem; }
}

@media (max-width: 22rem) {
  .masthead { flex-wrap: wrap; gap: .65rem; }
  h1 { font-size: 3.7rem; }
}
