:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #28382f;
  background: #f6f3ec;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
  width: min(100%, 1600px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 36px 6vw 24px;
  display: flex;
  flex-direction: column;
}

.masthead, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: inherit;
  text-decoration: none;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
}

.wordmark span { color: #a65e3f; }

.wordmark:focus-visible {
  outline: 2px solid #a65e3f;
  outline-offset: 6px;
}

.greeting {
  color: #626b60;
  font-size: 14px;
  letter-spacing: 2px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0 80px;
  text-align: center;
}

.doorway {
  position: relative;
  width: 68px;
  height: 88px;
  margin-bottom: 36px;
  border: 1px solid #aeb6a6;
  border-radius: 40px 40px 0 0;
  background: #e7e9dd;
  overflow: hidden;
}

.doorway::before {
  content: "";
  position: absolute;
  inset: 8px 8px 0;
  border: 1px solid #b8beae;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.doorway span {
  position: absolute;
  top: 40px;
  left: 32px;
  width: 38px;
  height: 60px;
  background: #d3c5aa;
  transform: rotate(-26deg);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1.6;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(56px, 7.5vw, 108px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -3px;
}

h1 em { font-weight: 400; }

.introduction {
  margin: 30px 0 0;
  color: #626b60;
  font-size: 16px;
  line-height: 1.85;
}

footer {
  padding-top: 20px;
  border-top: 1px solid #dcded2;
  color: #626b60;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .page { padding: 24px 24px 20px; }
  .wordmark { font-size: 22px; }
  .greeting { font-size: 14px; letter-spacing: 1px; }
  main { padding: 56px 0 64px; }
  .doorway { margin-bottom: 30px; }
  .eyebrow { font-size: 14px; letter-spacing: 1.5px; }
  h1 { font-size: clamp(52px, 13vw, 72px); letter-spacing: -2px; }
  .introduction { font-size: 16px; }
  footer { gap: 16px; font-size: 14px; }
}
