:root {
  --surface: #f9f9f9;
  --text: #2d3435;
  --text-muted: #5f5e5e;
  --text-subtle: #5a6061;
  --outline: rgba(173, 179, 180, 0.2);
  --rule: #d6d4d3;
  --page-padding: clamp(1.5rem, 5vw, 3rem);
  --column-width: 43.75rem;
  --top-space: clamp(7rem, 16vh, 12rem);
  --space-xs: 0.75rem;
  --space-sm: 1.5rem;
  --space-md: 3rem;
  --space-lg: 4.5rem;
  --space-xl: 6rem;
}

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

html {
  background: var(--surface);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0))
      no-repeat,
    var(--surface);
  color: var(--text);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page {
  width: min(calc(100% - (var(--page-padding) * 2)), var(--column-width));
  margin: 0 auto;
  padding-top: var(--top-space);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.intro {
  margin-bottom: var(--space-md);
}

.intro h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tagline {
  margin: var(--space-xs) 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
}

.summary {
  max-width: 33.75rem;
  margin-bottom: var(--space-lg);
}

.summary p {
  margin: 0;
  color: rgba(45, 52, 53, 0.92);
  font-size: 1rem;
  line-height: 1.7;
}

.meta {
  margin-bottom: var(--space-lg);
}

.location {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.location-rule {
  width: 2px;
  height: 2rem;
  background: var(--rule);
  flex: 0 0 auto;
}

.location p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 1rem;
  line-height: 1.5;
}

.links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: var(--space-xl);
}

.links a {
  display: inline-block;
  padding: 0.75rem 0;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
  transition:
    opacity 160ms ease,
    text-decoration-thickness 160ms ease;
}

.links a:hover {
  opacity: 0.65;
  text-decoration-thickness: 2px;
}

.links a:focus-visible {
  outline: 1px solid rgba(45, 52, 53, 0.35);
  outline-offset: 0.35rem;
  opacity: 1;
  text-decoration-thickness: 2px;
}

.footer-mark {
  width: 3rem;
  height: 1px;
  margin: 0 auto;
  background: var(--outline);
}

@media (max-width: 40rem) {
  .page {
    width: min(calc(100% - (var(--page-padding) * 2)), 100%);
    padding-top: clamp(4rem, 12vh, 6rem);
  }

  .intro {
    margin-bottom: 2.25rem;
  }

  .summary {
    margin-bottom: 3.5rem;
  }

  .meta {
    margin-bottom: 3rem;
  }

  .links {
    gap: 1.25rem;
    margin-bottom: 4.5rem;
  }
}
