:root {
  --font-family: -apple-system, system-ui, sans-serif;
  --bg: #ffffff;
  --text: #35312d;
  --link: #6b6a67;
  --max-width: 1200px;
  --content-width: 700px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

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

.site-header {
  padding: 14px 38px 16px;
}

.site-header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.site-title {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
}

.site-nav-link {
  color: #66615c;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 400;
  white-space: nowrap;
}

.site-nav-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.25em;
  font-size: 0.85em;
}

.site-nav-link:hover {
  color: var(--text);
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-banner-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #101010;
}

.hero-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-banner {
  width: 100%;
  height: min(24vw, 280px);
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 28px 68px;
  position: relative;
  background: var(--bg);
}

.profile-wrap {
  width: 0;
  height: 0;
}

.profile-photo {
  position: absolute;
  top: -84px;
  left: 28px;
  width: 168px;
  height: 168px;
  display: block;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

h1 {
  margin: 0 0 26px;
  padding-top: 120px;
  font-size: 2.2rem;
}

p {
  margin: 0 0 22px;
  font-size: 1.2rem;
  line-height: 1.55;
}

hr {
  margin: 24px 0 24px;
  border: 0;
  border-top: 2px dotted #d8d8d8;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 19px 16px;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .site-nav-link {
    font-size: 0.98rem;
  }

  .content {
    padding: 0 24px 54px;
  }

  .profile-photo {
    top: -68px;
    left: 24px;
    width: 136px;
    height: 136px;
  }

  h1 {
    padding-top: 96px;
  }
}

@media (max-width: 560px) {
  .hero-banner {
    height: 170px;
    min-height: 170px;
  }

  .profile-photo {
    top: -54px;
    left: 24px;
    width: 108px;
    height: 108px;
  }

  h1 {
    padding-top: 76px;
    margin-bottom: 18px;
  }

  p {
    margin-bottom: 18px;
  }

  hr {
    margin: 36px 0 20px;
  }
}
