:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #304535;
  --muted: #687063;
  --accent: #71865e;
  --line: #dddfd2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

.page {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1600px;
  margin-inline: auto;
  padding: 0 clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 38px;
}

.name {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.name-dot {
  color: var(--accent);
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0 8px 8px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.contact:hover {
  text-decoration-color: currentColor;
}

.contact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}

.main {
  display: grid;
  place-items: center;
  padding-block: 36px 90px;
}

.announcement {
  width: 100%;
  text-align: center;
}

.seedling {
  display: block;
  margin: 0 auto 30px;
}

h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.heading-dot {
  color: var(--accent);
}

.announcement p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: balance;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 28px 32px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.footer-divider {
  color: var(--accent);
}

@media (max-width: 600px) {
  .header {
    padding-block: 22px;
  }

  .name {
    font-size: 18px;
  }

  .main {
    padding-block: 28px 64px;
  }

  .seedling {
    width: 136px;
    height: 153px;
    margin-bottom: 28px;
  }

  .announcement p {
    max-width: 260px;
    margin: 20px auto 0;
    font-size: 14px;
  }

  .footer {
    padding-block: 24px;
  }
}
