:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #273d2f;
  --muted: #61685e;
  --olive: #657653;
  --rule: #cbd0c0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  border-top: 4px solid var(--olive);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--paper);
  background: var(--ink);
}

.placeholder {
  width: min(100%, 760px);
  margin: auto;
  padding: 64px 24px 72px;
  text-align: center;
}

.sprig {
  display: block;
  width: 62px;
  height: 81px;
  margin: 0 auto 30px;
  color: var(--olive);
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.profession {
  margin-top: 18px;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.divider {
  width: 48px;
  height: 1px;
  margin: 40px auto;
  background: var(--rule);
}

h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.875rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.welcome-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.contact {
  margin-top: 30px;
  font-style: normal;
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  min-height: 48px;
  padding: 8px 0;
  border-bottom: 1px solid var(--olive);
  color: var(--ink);
  font-size: clamp(1rem, 3.8vw, 1.125rem);
  line-height: 1.5;
  text-decoration: none;
}

.email-link span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.email-link svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
}

.email-link:hover {
  color: var(--olive);
  border-bottom-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 2px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 48px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .placeholder {
    padding: 48px 24px;
  }

  .sprig {
    width: 50px;
    height: 65px;
    margin-bottom: 26px;
  }

  .divider {
    margin: 30px auto;
  }

  .footer {
    flex-direction: column;
    gap: 4px;
    margin: 0 24px;
    padding: 20px 0 16px;
    text-align: center;
  }
}
