:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --text: #171717;
  --muted: #5f5f5f;
  --line: rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  width: min(34rem, calc(100% - 3rem));
  margin-left: clamp(1.5rem, 12vw, 10rem);
  margin-right: 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 5rem 0 3rem;
  gap: 1.4rem;
}

h1 {
  margin: 0;
  font-family: "Helvetica Neue", "Avenir Next", "SF Pro Display",
    -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.72rem, 3.6vw, 2.3rem);
  line-height: 1;
  max-width: none;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.label {
  margin: 0;
  min-width: 4.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.detail {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}

.contact {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid var(--line);
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  border-color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 2rem, 32rem);
    margin: 0 auto;
    padding: 4rem 0 2rem;
    gap: 1.5rem;
  }

  .entry {
    flex-direction: column;
    gap: 0.2rem;
  }

  .detail,
  .contact {
    font-size: 0.9rem;
  }
}
