
:root {
  color-scheme: light;
  --ink: #20211f;
  --paper: #f4f2ec;
  --muted: #6f716b;
  --rule: #cac8c0;
  --link: #285a56;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eceae3;
    --paper: #191a18;
    --muted: #a6a89f;
    --rule: #3c3e39;
    --link: #8ebbb6;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--link);
}

.page-shell {
  width: min(100% - 2.5rem, 72rem);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.site-name {
  font-weight: 650;
  text-decoration: none;
}

.site-links {
  display: flex;
  gap: 1.25rem;
}

.profile {
  width: min(100%, 44rem);
  margin: clamp(3.75rem, 9vh, 5.75rem) 0 clamp(4rem, 8vh, 5.5rem);
}

.location {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.045em;
}

.role {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.4;
}

.introduction {
  max-width: 41rem;
  margin-top: clamp(2.4rem, 5vw, 3.5rem);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.58;
  letter-spacing: -0.014em;
}

.introduction p {
  margin: 0 0 1.15em;
}

.profile-details {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid var(--rule);
}

.profile-details div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.profile-details dt,
.profile-details dd {
  margin: 0;
}

.profile-details dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-details dd {
  font-size: 0.94rem;
  line-height: 1.55;
}

.profile-details dd span {
  padding: 0 0.22rem;
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 2rem, 72rem);
  }

  .site-header {
    padding-top: 1.25rem;
  }

  .profile {
    margin-top: 3.5rem;
  }

  .introduction {
    margin-top: 2.4rem;
  }

  .profile-details div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
