:root {
  color-scheme: light;
  --background: #faf9f6;
  --text: #30332f;
  --muted: #6e726c;
  --line: #dedfd8;
  --accent: #37654e;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 32px; }

body {
  max-width: 884px;
  margin: 0 auto;
  padding: 0 42px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

::selection { background: #dce8dc; }

.skip-link {
  position: absolute;
  top: -100px;
  padding: 8px 14px;
  background: var(--background);
  z-index: 1;
}

.skip-link:focus { top: 8px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 31px 0;
  font-size: 13px;
}

.site-name {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.4px;
}

.site-header nav {
  display: flex;
  gap: 25px;
  color: var(--muted);
}

.introduction { padding: 73px 0 77px; }

.eyebrow {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -1.8px;
}

.intro-text {
  margin: 21px 0 0;
  color: #565c54;
  font-size: 14px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 27px 0 43px;
}

h2 {
  margin: 0 0 26px;
  font-size: 15px;
  font-weight: 600;
}

.work {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.work-preview {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #edf1f6;
}

.work-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top;
}

.work-type {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
}

h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.4px;
}

h3 span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}

.work-description {
  margin: 11px 0 12px;
  color: #565c54;
  font-size: 13px;
  line-height: 1.9;
}

.work-tools {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
}

.text-link {
  color: var(--accent);
  font-size: 13px;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
}

.notes { padding-bottom: 36px; }
.notes h2 { margin-bottom: 17px; }

.note-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 4px 0;
}

.note-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.note-description {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.note-arrow { color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer small { font-size: inherit; }
#works .work + .work {
  border-top: 1px solid #dcdcdc;
  margin-top: 40px;
  padding-top: 40px;
}
@media (max-width: 680px) {
  body { padding: 0 24px; }

  .site-header {
    padding: 24px 0;
    gap: 16px;
  }

  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }

  .introduction { padding: 55px 0 56px; }

  .work {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .work-preview { max-width: 440px; }

  .section {
    padding-top: 23px;
    padding-bottom: 32px;
  }

  .intro-text {
    max-width: 23em;
    line-height: 1.9;
  }
  
}
